Vulnerability Details : CVE-2021-44664
An Authenticated Remote Code Exection (RCE) vulnerability exists in Xerte through 3.9 in website_code/php/import/fileupload.php by uploading a maliciously crafted PHP file though the project interface disguised as a language file to bypasses the upload filters. Attackers can manipulate the files destination by abusing path traversal in the 'mediapath' variable.
Vulnerability category: Directory traversal
Products affected by CVE-2021-44664
- cpe:2.3:a:xerte:xerte:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-44664
7.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 94 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-44664
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:P |
8.0
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2021-44664
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
-
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-44664
-
https://riklutz.nl/2021/11/03/authenticated-file-upload-to-remote-code-execution-in-xerte/
Authenticated file upload to Remote Code Execution in Xerte – Rik LutzExploit;Third Party Advisory
-
https://github.com/thexerteproject/xerteonlinetoolkits/commit/1672d6f46bbd6f6d42f0903ce9a313927ae2836b#diff-27433bb0be90e431d40986f9afebe9ee2f8d1025a7f9e55c3cd7a86f1f8e3fdc
Security! Check and verify paths used by move_uploaded_file · thexerteproject/xerteonlinetoolkits@1672d6f · GitHubPatch;Third Party Advisory
-
http://packetstormsecurity.com/files/166182/Xerte-3.9-Remote-Code-Execution.html
Xerte 3.9 Remote Code Execution ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://github.com/thexerteproject/xerteonlinetoolkits/commit/6daeb81d089d4a561e22f931fff1327660a7d1b5
Prohibit path traversal on upload · thexerteproject/xerteonlinetoolkits@6daeb81 · GitHubPatch;Third Party Advisory
Jump to