CVE-2024-12535 Host PHP Info <= 1.0.4 - Missing Authorization to Unauthenticated Sensitive Information Disclosure

High 8.6 Published Updated

Unauthenticated attackers can read sensitive server configuration data via the Host PHP Info WordPress plugin due to missing authorization checks.

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-12535?

CVE-2024-12535 is a high-severity missing authorization vulnerability in eflyjason Host PHP Info, 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 Host PHP Info plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check when including the 'phpinfo' function in all versions up to, and including, 1.0.4. This makes it possible for unauthenticated attackers to read configuration settings and predefined variables on the site's server. The plugin does not need to be activated for the vulnerability to be exploited.

Weakness: CWE-862

Which versions are affected by CVE-2024-12535?

How do I fix CVE-2024-12535?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-12535 being exploited?

There is no known exploitation of CVE-2024-12535 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-r7fx-x4q2-hqhr.

Is CVE-2024-12535 in your software?

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

Check your SBOMs for free