CVE-2023-29200 contao/core-bundle has path traversal vulnerability in the file manager

Medium 4.3 Published Updated

Authenticated attackers can list arbitrary system files via the file manager, exposing directory structures without reading file contents.

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

What is CVE-2023-29200?

CVE-2023-29200 is a medium-severity path traversal vulnerability in contao, published on 25 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Contao is an open source content management system. Prior to versions 4.9.40, 4.13.21, and 5.1.4, logged in users can list arbitrary system files in the file manager by manipulating the Ajax request. However, it is not possible to read the contents of these files. Users should update to Contao 4.9.40, 4.13.21 or 5.1.4 to receive a patch. There are no known workarounds.

Weakness: CWE-22

Which versions are affected by CVE-2023-29200?

6 open source packages ship an affected version, including contao/contao. It affects 1 product.

PackageAffectedFixed in
contao/contao PackagistFrom 4.13.04.13.21
contao/contao PackagistFrom 4.13.04.13.21
contao/contao PackagistFrom 4.9.04.9.40
contao/contao PackagistFrom 4.9.04.9.40
contao/contao PackagistFrom 5.1.05.1.4
contao/contao PackagistFrom 5.1.05.1.4

Products include Contao Contao.

How do I fix CVE-2023-29200?

Upgrade contao/contao to a fixed version for your release line: 4.13.21, 4.9.40 or 5.1.4.

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

Is CVE-2023-29200 being exploited?

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

Sources

Also known as GHSA-fp7q-xhhw-6rj3.

Is CVE-2023-29200 in your software?

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

Check your SBOMs for free