CVE-2021-24820 Cost Calculator <= 1.6 - Authenticated Local File Inclusion

Medium 6.5 Published Updated

Authenticated attackers can exploit path traversal in the Cost Calculator plugin to include local PHP files, potentially leading to code execution or data disclosure.

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

What is CVE-2021-24820?

CVE-2021-24820 is a medium-severity path traversal vulnerability in Unknown Cost Calculator, published on 28 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Cost Calculator WordPress plugin through 1.6 allows authenticated users (Contributor+ in versions < 1.5, and Admin+ in versions <= 1.6) to perform path traversal and local PHP file inclusion on Windows Web Servers via the Cost Calculator post's Layout

Weakness: CWE-22

Which versions are affected by CVE-2021-24820?

It affects 1 product.

Products include Bold-Themes Cost Calculator.

How do I fix CVE-2021-24820?

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

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

Sources

Also known as GHSA-7pg3-r4wv-7xmh.

Is CVE-2021-24820 in your software?

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

Check your SBOMs for free