CVE-2023-28458 pretalx allows path traversal in HTML export

Medium 4.3 Published Updated

Organizers can overwrite arbitrary files via path traversal in the non-default HTML export feature of pretalx.

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

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

Official description

pretalx 2.3.1 before 2.3.2 allows path traversal in HTML export (a non-default feature). Organizers can trigger the overwriting (with the standard pretalx 404 page content) of an arbitrary file.

Weakness: CWE-22

Which versions are affected by CVE-2023-28458?

3 open source packages ship an affected version, including pretalx. It affects 1 product.

PackageAffectedFixed in
pretalx PyPIFrom 2.3.12.3.2
pretalx PyPIFrom 2.3.12.3.2
pretalx PyPIFrom 2.3.12.3.2

Products include Pretalx Pretalx.

How do I fix CVE-2023-28458?

Upgrade pretalx to 2.3.2 or later.

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

Is CVE-2023-28458 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-28458 exists.

Public exploit code: 2 Metasploit modules.

Sources

Also known as GHSA-23fx-92m6-4f2g, PYSEC-2023-40.

Is CVE-2023-28458 in your software?

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

Check your SBOMs for free