CVE-2022-24977 Path Traversal in ImpressCMS

Critical 9.8 Published Updated

Unauthenticated attackers can achieve remote code execution via directory traversal in ImpressCMS if PHP upload progress is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24977?

CVE-2022-24977 is a critical path traversal vulnerability in n/a, published on 13 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ImpressCMS before 1.4.2 allows unauthenticated remote code execution via ...../// directory traversal in origName or imageName, leading to unsafe interaction with the CKEditor processImage.php script. The payload may be placed in PHP_SESSION_UPLOAD_PROGRESS when the PHP installation supports upload_progress.

Weakness: CWE-22

Which versions are affected by CVE-2022-24977?

2 open source packages ship an affected version, including impresscms/impresscms. It affects 1 product.

PackageAffectedFixed in
impresscms/impresscms PackagistAll versions1.4.2
impresscms/impresscms PackagistAll versions1.4.2

Products include Impresscms Impresscms.

How do I fix CVE-2022-24977?

Upgrade impresscms/impresscms to 1.4.2 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-24977 being exploited?

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

Sources

Also known as GHSA-389p-fchr-q2mg.

Is CVE-2022-24977 in your software?

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

Check your SBOMs for free