WordPress security changelog
MEDIUM CVE-2021-24820 Modified

Cost Calculator: Filesystem traversal

Cost Calculator is affected by filesystem traversal. Exposure depends on how the affected operation is made reachable by the site. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.

CVE / CNA score 6.5 CVSS · contact@wpscan.com
NVD score 6.5 CVSS 3.1 · nvd@nist.gov
Component
Cost Calculator
Plugin slug
cost-calculator
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Feb 28, 2022
Weakness
CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

This CVE was published Feb 28, 2022 and is one of 4 known issues for this plugin.

Update, patch or deactivate.

Update Cost Calculator to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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

NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary and upstream sources