Rapid7 Vulnerability & Exploit Database

Unauthenticated RCE in Bricks Builder Theme

Back to Search

Unauthenticated RCE in Bricks Builder Theme

Disclosed
02/19/2024
Created
03/27/2024

Description

This module exploits an unauthenticated remote code execution vulnerability in the Bricks Builder Theme versions <= 1.9.6 for WordPress. The vulnerability allows attackers to execute arbitrary PHP code by leveraging a nonce leakage to bypass authentication and exploit the eval() function usage within the theme. Successful exploitation allows for full control of the affected WordPress site. It is recommended to upgrade to version 1.9.6.1 or higher.

Author(s)

  • Calvin Alkan
  • Valentin Lobstein

Platform

Linux,PHP,Unix,Windows

Architectures

php, cmd

Development

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/multi/http/wp_bricks_builder_rce
msf exploit(wp_bricks_builder_rce) > show targets
    ...targets...
msf exploit(wp_bricks_builder_rce) > set TARGET < target-id >
msf exploit(wp_bricks_builder_rce) > show options
    ...show and set options...
msf exploit(wp_bricks_builder_rce) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;