Description
Xerte Online Toolkits versions 3.15 and earlier contain a relative path traversal vulnerability in the elFinder connector endpoint at /editor/elfinder/php/connector.php where the name parameter in rename commands is not sanitized for path traversal sequences. Attackers can supply a name value containing directory traversal sequences to move files from project media directories to arbitrary locations on the filesystem, potentially overwriting application files, achieving stored cross-site scripting, or combining with other vulnerabilities to achieve unauthenticated remote code execution by moving PHP code files to the application root.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
3.15.0 (semver)
3.14.0 (semver)
3.13.0 (semver)
Any version before 02661be88cc369325ea01b508086bde7fbfec805
Any version before 17e4f945fe6a3400fa88c01eda18c1075ee4a212
Any version before 507d55c5e91bf9310b5b1c7fad8aebfef902ad23
Credits
bootstrapbool
References
github.com/bootstrapbool/xerteonlinetoolkits-rce
xerte.org.uk/xertetoolkits_3.15_ChangeLog.html
xerte.org.uk/...downloads-1/category/3-xerte-online-toolkits
github.com/thexerteproject/xerteonlinetoolkits/issues/1527
github.com/...ommit/02661be88cc369325ea01b508086bde7fbfec805
github.com/...ommit/17e4f945fe6a3400fa88c01eda18c1075ee4a212
github.com/...ommit/507d55c5e91bf9310b5b1c7fad8aebfef902ad23
www.vulncheck.com/...olkits-path-traversal-via-connector-php