CVE-2024-8704 Advanced File Manager <= 5.2.8 - Authenticated (Administrator+) Local JavaScript File Inclusion via fma_locale

High 7.2 Published Updated

Administrators can exploit a local file inclusion vulnerability to execute arbitrary PHP code and access sensitive data on the server.

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

What is CVE-2024-8704?

CVE-2024-8704 is a high-severity path traversal vulnerability in saadiqbal Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution, published on 26 Sep 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Advanced File Manager plugin for WordPress is vulnerable to Local JavaScript File Inclusion in all versions up to, and including, 5.2.8 via the 'fma_locale' parameter. This makes it possible for authenticated attackers, with Administrator-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

Weakness: CWE-22

Which versions are affected by CVE-2024-8704?

It affects 1 product.

Products include Advancedfilemanager Advanced File Manager.

How do I fix CVE-2024-8704?

No fix has been published for CVE-2024-8704 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-8704 being exploited?

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

Sources

Also known as GHSA-p9fh-v6cv-cj9f.

Is CVE-2024-8704 in your software?

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

Check your SBOMs for free