Description
Xerte Online Toolkits versions 3.15 and earlier contain an incomplete input validation vulnerability in the elFinder connector endpoint that fails to block PHP-executable extensions .php4 due to an incorrect regex pattern. Unauthenticated attackers can exploit this flaw combined with authentication bypass and path traversal vulnerabilities to upload malicious PHP code, rename it with a .php4 extension, and execute arbitrary operating system commands on the server.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| thexerteproject | xerteonlinetoolkits | ≤ 3.15.0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Xerte Online Toolkits Arbitrary File Upload - Unauthenticated Media Upload
exploit/multi/http/xerte_unauthenticated_mediaupload
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://github.com/bootstrapbool/xerteonlinetoolkits-rce technical-description exploit
- https://xerte.org.uk/xertetoolkits_3.15_ChangeLog.html release-notes
- https://xerte.org.uk/index.php/en/downloads-1/category/3-xerte-online-toolkits product permissions-required
- https://github.com/thexerteproject/xerteonlinetoolkits/issues/1527 issue-tracking
- https://github.com/thexerteproject/xerteonlinetoolkits/commit/02661be88cc369325ea01b508086bde7fbfec805 patch
- https://github.com/thexerteproject/xerteonlinetoolkits/commit/17e4f945fe6a3400fa88c01eda18c1075ee4a212 patch
- https://github.com/thexerteproject/xerteonlinetoolkits/commit/507d55c5e91bf9310b5b1c7fad8aebfef902ad23 patch
- https://www.vulncheck.com/advisories/xerte-online-toolkits-file-upload-rce-via-elfinder-connector third-party-advisory