CVE-2021-38589 Path traversal in n/a

High 8.1 Published Updated

An attacker can overwrite arbitrary files via the fix-cpanel-perl script, potentially leading to code execution or privilege escalation.

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

CVE-2021-38589 is a high-severity path traversal vulnerability in Cpanel Cpanel, published on 11 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In cPanel before 96.0.13, scripts/fix-cpanel-perl does not properly restrict the overwriting of files (SEC-588).

Which versions are affected by CVE-2021-38589?

It affects 1 product.

Products include Cpanel Cpanel.

How do I fix CVE-2021-38589?

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

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

All Cpanel Cpanel vulnerabilities

Sources

Also known as GHSA-5xhg-w4fw-xmxg.

Is CVE-2021-38589 in your software?

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

Check your SBOMs for free