CVE-2024-42489 Pro Macros Remote Code Execution via Viewpdf and similar macros
HighCVSS 8.8
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Pro Macros provides XWiki rendering macros. Missing escaping in the Viewpdf macro allows any user with view right on the CKEditor.HTMLConverter page or edit or comment right on any page to perform remote code execution. Other macros like Viewppt are vulnerable to the same kind of attack. This vulnerability is fixed in 1.10.1.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xwikisas xwiki-pro-macros | = >= 1.0, < 1.10.1 | No fix listed |
| xwikisas xwiki-pro-macros | >= 1.0, < 1.10.1 | 1.10.1 |
| xwiki pro macros | >= 1.0, < 1.10.1 | 1.10.1 |
References
- https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-cfq3-q227-7j65 vendor-advisory
- https://github.com/xwikisas/xwiki-pro-macros/commit/199553c84901999481a20614f093af2d57970eba patch
- https://github.com/xwikisas/xwiki-pro-macros/blob/main/xwiki-pro-macros-ui/src/main/resources/Confluence/Macros/Viewpdf.xml#L265-L267 broken-link