XWiki Platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 16.10.17, 17.4.9, 17.10.3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: no
- Technical impact: partial
Summary
XWiki Platform WebJars API is a package for XWiki, a generic wiki platform. Starting with version 9.6-rc-1 and prior to versions 16.10.17, 17.4.9, and 17.10.3, a potential path traversal vulnerability allow an attacker who manages to get a malicious WebJar extension installed on the wiki to write arbitrary files. While the consequences could be severe like overriding configuration files and setting the superadmin password, the attack first requires that the attacker already has admin access to at least a subwiki to be able to install a malicious extension. Further, the attacker needs to publish a malicious extension in an extension repository that is configured in the instance. This vulnerability has been patched in XWiki 16.10.17, 17.4.9, 17.10.3, and 18.0.0RC1. XWiki is not aware of any workarounds except for being careful whom developers grant script and admin rights to.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- xwiki xwiki-platform
From 9.6-rc-1 · fixed in 16.10.17; From 17.0.0-rc-1 · fixed in 17.4.9; From 17.5.0-rc-1 · fixed in 17.10.3
- org.xwiki.platform:xwiki-platform-webjars-apiMaven
From 9.6-rc-1 · fixed in 16.10.17
- org.xwiki.platform:xwiki-platform-webjars-apiMaven
From 17.0.0-rc-1 · fixed in 17.4.9
- org.xwiki.platform:xwiki-platform-webjars-apiMaven
From 17.5.0-rc-1 · fixed in 17.10.3