cve/2024/CVE-2024-37899.md
2025-09-29 21:09:30 +02:00

27 lines
2.5 KiB
Markdown

### [CVE-2024-37899](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-37899)
![](https://img.shields.io/static/v1?label=Product&message=xwiki-platform&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%2013.10.3%2C%20%3C%2014.10.21%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%2013.4.7%2C%20%3C%3D%2013.5%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%2015.0-rc-1%2C%20%3C%2015.5.5%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%2015.6-rc-1%2C%20%3C%2015.10.6%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%2016.0.0-rc-1%2C%20%3C%2016.0.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=13.10.3%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=13.4.7%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=15.0-rc-1%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=15.6-rc-1%2C%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=16.0.0-rc-1%2C%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-94%3A%20Improper%20Control%20of%20Generation%20of%20Code%20('Code%20Injection')&color=brightgreen)
### Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When an admin disables a user account, the user's profile is executed with the admin's rights. This allows a user to place malicious code in the user profile before getting an admin to disable the user account. To reproduce, as a user without script nor programming rights, edit the about section of your user profile and add `{{groovy}}services.logging.getLogger("attacker").error("Hello from Groovy!"){{/groovy}}`.As an admin, go to the user profile and click the "Disable this account" button. Then, reload the page. If the logs show `attacker - Hello from Groovy!` then the instance is vulnerable. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.### WorkaroundsWe're not aware of any workaround except upgrading.### References* https://jira.xwiki.org/browse/XWIKI-21611* https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cve-scores