CVE-2024-37900
published 2024-07-31CVE-2024-37900: XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When uploading an attachment with a malicious…
PriorityP431medium4.6CVSS 3.1
AVNACLPRLUIRSUCLILAN
EPSS
14.80%
96.3th percentile
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When uploading an attachment with a malicious filename, malicious JavaScript code could be executed. This requires a social engineering attack to get the victim into uploading a file with a malicious name. The malicious code is solely executed during the upload and affects only the user uploading the attachment. While this allows performing actions in the name of that user, it seems unlikely that a user wouldn't notice the malicious filename while uploading the attachment. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | < 14.10.21 | 14.10.21 |
| xwiki | xwiki | — | — |
| xwiki | xwiki | — | — |
| xwiki | xwiki | >= 15.0 < 15.5.5 | 15.5.5 |
| xwiki | xwiki | >= 15.6 < 15.10.6 | 15.10.6 |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader
osv·2024-07-31
CVE-2024-37900 [HIGH] XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader
XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader
### Impact
When uploading an attachment with a malicious filename, malicious JavaScript code could be executed. This requires a social engineering attack to get the victim into uploading a file with a malicious name. The malicious code is solely executed during the upload and affects only the user uploading the attachment. While this allows performing actions in the name of that user, it seems unlikely that a user wouldn't notice the malicious filename while uploading the attachment.
In order to reproduce, as any user, create a file named `">.jpg`. Then go to any page where you have edit rights and upload the file in the attachments tab. If alerts appear and display "1", then the instance is vulnera
GHSA
XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader
ghsa·2024-07-31
CVE-2024-37900 [HIGH] CWE-94 XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader
XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader
### Impact
When uploading an attachment with a malicious filename, malicious JavaScript code could be executed. This requires a social engineering attack to get the victim into uploading a file with a malicious name. The malicious code is solely executed during the upload and affects only the user uploading the attachment. While this allows performing actions in the name of that user, it seems unlikely that a user wouldn't notice the malicious filename while uploading the attachment.
In order to reproduce, as any user, create a file named `">.jpg`. Then go to any page where you have edit rights and upload the file in the attachments tab. If alerts appear and display "1", then the instance is vulnera
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-platform/commit/6cdd69d31d6bf3caa7f40ec55eb317e4e528ad28https://github.com/xwiki/xwiki-platform/commit/8b8a2d80529b9a9c038014c1eb6c2adc08069dfdhttps://github.com/xwiki/xwiki-platform/commit/910a5018a50039e8b24556573dfe342f143ef949https://github.com/xwiki/xwiki-platform/commit/9df46f8e5313af46f93bccd1ebc682e28126573fhttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wf3x-jccf-5g5ghttps://jira.xwiki.org/browse/XWIKI-19602https://jira.xwiki.org/browse/XWIKI-19611https://jira.xwiki.org/browse/XWIKI-21769
2024-07-31
Published