CVE-2022-40199 EC-CUBE Directory traversal vulnerability

Low 2.7 Published Updated

An authenticated administrator can exploit a directory traversal flaw to obtain the product's directory structure information.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-40199?

CVE-2022-40199 is a low-severity path traversal vulnerability in EC-CUBE 3 series and EC-CUBE 4 series, published on 27 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Directory traversal vulnerability in EC-CUBE 3 series (EC-CUBE 3.0.0 to 3.0.18-p4 ) and EC-CUBE 4 series (EC-CUBE 4.0.0 to 4.1.2) allows a remote authenticated attacker with an administrative privilege to obtain the product's directory structure information.

Weakness: CWE-22

Which versions are affected by CVE-2022-40199?

4 open source packages ship an affected version, including ec-cube/ec-cube. It affects 1 product.

PackageAffectedFixed in
ec-cube/ec-cube PackagistFrom 3.0.0 to 3.0.18-p4None
ec-cube/ec-cube PackagistFrom 3.0.0 to 3.0.18-p4None
ec-cube/ec-cube PackagistFrom 4.0.0 to 4.1.2None
ec-cube/ec-cube PackagistFrom 4.0.0 to 4.1.2None

Products include Ec-Cube Ec-Cube.

How do I fix CVE-2022-40199?

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

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

Sources

Also known as GHSA-wjpv-frf2-3r58.

Is CVE-2022-40199 in your software?

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

Check your SBOMs for free