CVE-2024-12849 Error Log Viewer By WP Guru <= 1.0.1.3 - Missing Authorization to Unauthenticated Arbitrary File Read

High 7.5 Published Updated

Unauthenticated attackers can read arbitrary files on the server via a missing authorization check in the Error Log Viewer plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12849?

CVE-2024-12849 is a high-severity path traversal vulnerability in wpguruin Error Log Viewer By WP Guru, published on 7 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Error Log Viewer By WP Guru plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 1.0.1.3 via the wp_ajax_nopriv_elvwp_log_download AJAX action. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information.

Weakness: CWE-22

Which versions are affected by CVE-2024-12849?

How do I fix CVE-2024-12849?

No fix has been published for CVE-2024-12849 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-12849 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12849 exists.

Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-899p-f2mf-g895.

Is CVE-2024-12849 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free