Security Ninja – Secure Firewall & Secure Malware Scanner - 5.201 - 5.242 - Authenticated (Administrator+) Arbitrary File Read
Strategic Overview
- Status
- Patched in 5.243
- Affected Plugin
- Security Ninja – WordPress Security & Firewall
- Affected Version
5.201 – 5.242- CVSS
- 4.9Medium
- Weakness type
- CWE-36 · Absolute Path Traversal
- CVE
CVE-2025-8009
At a glance
CVE-2025-8009 is a medium-severity Absolute Path Traversal vulnerability in the Security Ninja WordPress plugin, affecting versions 5.201 – 5.242. It carries a CVSS score of 4.9 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires an authenticated account at Administrator level or above. The issue is fixed in version 5.243; sites on affected versions should update now. Disclosed July 2025, reported by Jonas Benjamin Friedli.
Vulnerability Overview
The Security Ninja – WordPress Security Plugin & Firewall plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 5.242 via the 'get_file_source' function. This makes it possible for authenticated attackers, with Administrator-level access and above, to extract sensitive data, including the contents of any file on the server.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-36: Absolute Path Traversal
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as /abs/path that can resolve to a location that is outside of that directory.
Remediation
Update to version 5.243, or a newer patched version
How does WordSec protect against this?
An attacker needs Administrator access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Security Ninja 5.243 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Other vulnerabilities in Security Ninja – WordPress Security & Firewall
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C