Lookup for vulnerable packages by Package URL.
| Purl | pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10-rc-1 |
| Type | maven |
| Namespace | org.xwiki.platform |
| Name | xwiki-platform-oldcore |
| Version | 15.10-rc-1 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | false |
| Next_non_vulnerable_version | null |
| Latest_non_vulnerable_version | null |
| Affected_by_vulnerabilities |
|
| Fixing_vulnerabilities |
| 0 |
| url |
VCID-rpvk-g9y1-yucv |
| vulnerability_id |
VCID-rpvk-g9y1-yucv |
| summary |
XWiki Platform remote code execution from account via custom skins support
Any user who can edit any page like their profile can create a custom skin with a template override that is executed with programming right, thus allowing remote code execution.
To reproduce, as a user without edit, script or admin right, add an object of class `XWiki.XWikiSkins` to your profile. Name it whatever you want and set the Base Skin to `flamingo`.
Add an object of class `XWikiSkinFileOverrideClass` and set the path to `macros.vm` and the content to:
``` |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2024-31987, GHSA-cv55-v6rw-7r5v
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-rpvk-g9y1-yucv |
|
| 1 |
| url |
VCID-xevu-xntb-vufs |
| vulnerability_id |
VCID-xevu-xntb-vufs |
| summary |
XWiki Platform: Privilege escalation (PR) from user registration through PDFClass
Remote code execution is possible via PDF export templates.
To reproduce on an installation, register a new user account with username `PDFClass` if `XWiki.PDFClass` does not exist.
On `XWiki.PDFClass`, use the class editor to add a "style" property of type "TextArea" and content type "Plain Text".
Then, add an object of class `PDFClass` and set the "style" attribute to `$services.logging.getLogger('PDFClass').error("I got programming: $services.security.authorization.hasAccess('programming')")`.
Finally, go to `<host>/xwiki/bin/export/Main/WebHome?format=pdf&pdftemplate=XWiki.PDFClass`. If the logs contain "ERROR PDFClass - I got programming: true", the instance is vulnerable. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2024-31981, GHSA-vxwr-wpjv-qjq7
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-xevu-xntb-vufs |
|
|
| Risk_score | null |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10-rc-1 |