Authenticated code execution via unescaped macro descriptions
Published Dec 12, 2024 · Updated Dec 13, 2024
Static code injection in affected XWiki Platform releases allows remote authenticated users to execute arbitrary server code. XWiki.XWikiSyntaxMacrosList inserts an attacker-controlled XWiki.WikiMacroClass description into XWiki syntax without escaping, so embedded async and Groovy macros execute when the macro list renders. Any account can create the object without script or programming rights; viewing the macro-list page then runs code with server privileges and can compromise the installation.
Summary
What happened
Static code injection in affected XWiki Platform releases allows remote authenticated users to execute arbitrary server code. XWiki.XWikiSyntaxMacrosList inserts an attacker-controlled XWiki.WikiMacroClass description into XWiki syntax without escaping, so embedded async and Groovy macros execute when the macro list renders. Any account can create the object without script or programming rights; viewing the macro-list page then runs code with server privileges and can compromise the installation.
The record
- CVE
- CVE-2024-55877
- Published
- Dec 12, 2024
- Updated
- Dec 13, 2024
- Vendor
- CryptPad
- Product
- XWiki Platform
- Classifications
- CWE-96, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 12, 2024CVE publishedPublication date reported by the CVE source.
- Dec 13, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 16.0.0-rc-1, < 16.4.1
- Affected versionversion=>= 16.5.0-rc-1, < 16.5.0
- Affected versionversion=>= 9.7-rc-1, < 15.10.11
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream wiki-macro description reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo