CVE-2024-4098 Shariff Wrapper <= 4.6.13 - Unauthenticated Local File Inclusion

Critical 9.8 Published Updated

Unauthenticated attackers can exploit a local file inclusion vulnerability in the Shariff Wrapper plugin to execute arbitrary PHP code or read sensitive data.

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

CVE-2024-4098 is a critical path traversal vulnerability in 3uu Shariff Wrapper, published on 20 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Shariff Wrapper plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 4.6.13 via the shariff3uu_fetch_sharecounts function. This allows unauthenticated attackers 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-552, CWE-22

Which versions are affected by CVE-2024-4098?

It affects 1 product.

Products include Datenverwurstungszentrale Shariff Wrapper.

How do I fix CVE-2024-4098?

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

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

Sources

Also known as GHSA-32q5-2wwg-3v4v.

Is CVE-2024-4098 in your software?

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

Check your SBOMs for free