# Kount Fraud Prevention <= 2.3.4 - Authenticated (Administrator+) Path Traversal to Arbitrary File Read via 'download_file' Parameter

- **ID:** WPSEC-2026-4507
- **Plugin:** Kount Fraud Prevention (`kount-fraud-prevention`), https://wordpress.org/plugins/kount-fraud-prevention/
- **Affected versions:** all versions before 2.4.0
- **Fixed in:** 2.4.0 (Update to 2.4.0 or later.)
- **Severity:** Medium 4.9 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-22
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/kount-fraud-prevention
- **Fix released:** 2026-12-01
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4507/

## Description

The Kount Fraud Prevention plugin for WordPress is vulnerable to Path Traversal via the 'download_file' parameter of the log file download on the Kount settings page in all versions up to, and including, 2.3.4. This is due to the value being passed only through sanitize_text_field() and appended directly to the log directory path before being read with readfile(), with no restriction to Kount log file names. This makes it possible for authenticated attackers with administrator-level access to read the contents of arbitrary files on the server, such as wp-config.php, which can contain sensitive information. On multisite installations this lets a site administrator read files outside their own site.

## References

- https://wpsec.com/vuln/WPSEC-2026-4507/
- https://plugins.svn.wordpress.org/kount-fraud-prevention/tags/2.4.0/
- https://wordpress.org/plugins/kount-fraud-prevention/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4507/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
