Rapid7

module

Pretalx Limited File Write to Remote Code Execution

Disclosed
Mar 7, 2023
Created
Aug 28, 2025

Description

This module exploits CVE-2023-28458, a limited file write in Pretalx, up to version 2.3.1. The module will use the vulnerability to write a malicious site-specific configuration hook forPython. Once hook is written, payload will be executed every time Pretalx user runs any Python code. Pretalx needs to run in debug mode to exploit this.

Authors

Stefan Schiller
msutovsky-r7

Platform

Linux,Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/linux/http/pretalx_rce_cve_2023_28458
msf exploit(pretalx_rce_cve_2023_28458) > show targets
...targets...
msf exploit(pretalx_rce_cve_2023_28458) > set TARGET < target-id >
msf exploit(pretalx_rce_cve_2023_28458) > show options
...show and set options...
msf exploit(pretalx_rce_cve_2023_28458) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.