module

BYOB Unauthenticated RCE via Arbitrary File Write and Command Injection (CVE-2024-45256, CVE-2024-45257)

Disclosed
Aug 15, 2024
Created
Oct 15, 2024

Description

This module exploits two vulnerabilities in the BYOB (Build Your Own Botnet) web GUI:
1. CVE-2024-45256: Unauthenticated arbitrary file write that allows modification of the SQLite database, adding a new admin user.
2. CVE-2024-45257: Authenticated command injection in the payload generation page.

These vulnerabilities remain unpatched.

Authors

chebuya
Valentin Lobstein

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/unix/webapp/byob_unauth_rce
msf exploit(byob_unauth_rce) > show targets
...targets...
msf exploit(byob_unauth_rce) > set TARGET < target-id >
msf exploit(byob_unauth_rce) > show options
...show and set options...
msf exploit(byob_unauth_rce) > 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.