Pretalx Vulnerabilities: How to get accepted at every conference
Pretalx versions 2.3.1 and prior contain an arbitrary file read and a limited file write vulnerability in the HTML schedule export feature. A privileged user could read any file accessible to the pretalx process, and a user with access to a scheduled talk could write files, potentially leading to remote code execution if the application runs in debug mode.
Published on sonarsource.com
Pretalx is a web-based conference planning tool, which is used to manage call for papers (CfP) submissions, select talks, communicate with speakers, and publish conference schedules. Major IT security conferences like OffensiveCon, Hexacon, and TROOPERS are only a few of the numerous users of pretalx.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely insufficient validation of file paths in the HTML export feature, allowing path traversal sequences to escape intended directories.
What the attacker needed
Privileged user for file read; user with access to a scheduled talk for file write; application running in debug mode for code execution
The fix
The vulnerabilities were fixed in pretalx version 2.3.2 by resolving paths and ensuring they are within the intended directories.
How it was found
- Upload an HTML file that references an asset using an img tag's src attribute.
- The application processes the URL and reads the file from disk without validating the path.
- Use path traversal sequences to reference files outside the intended directories.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Pretalx is a system for managing conference talk submissions. Two security holes were found: one lets certain users read any file on the server, and another lets them write files to the server. If the server is in a special debug mode, the write bug can be used to run malicious code.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.