CVE-2023-28459 pretalx vulnerable to path traversal in HTML export

Medium 6.5 Published Updated

Attackers can read arbitrary files via crafted HTML uploads 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-28459?

CVE-2023-28459 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). Users were able to upload crafted HTML documents that trigger the reading of arbitrary files.

Weakness: CWE-22

Which versions are affected by CVE-2023-28459?

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

PackageAffectedFixed in
pretalx PyPIAll versions2.3.2
pretalx PyPIAll versions2.3.2
pretalx PyPIFrom 2.3.12.3.2

Products include Pretalx Pretalx.

How do I fix CVE-2023-28459?

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-28459 being exploited?

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

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-wh3w-jcc7-mhmf, PYSEC-2023-41.

Is CVE-2023-28459 in your software?

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

Check your SBOMs for free