CVE-2022-3401 Code injection in Bricks
Authenticated attackers with minimal permissions can inject executable code blocks to achieve remote code execution on sites using the Bricks theme.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-3401?
CVE-2022-3401 is a high-severity code injection vulnerability in Bricks, published on 28 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Bricks theme for WordPress is vulnerable to remote code execution due to the theme allowing site editors to include executable code blocks in website content in versions 1.2 to 1.5.3. This, combined with the missing authorization vulnerability (CVE-2022-3400), makes it possible for authenticated attackers with minimal permissions, such as a subscriber, can edit any page, post, or template on the vulnerable WordPress website and inject a code execution block that can be used to achieve remote code execution.
Which versions are affected by CVE-2022-3401?
It affects 1 product.
Products include Bricksbuilder Bricks.
How do I fix CVE-2022-3401?
No fix has been published for CVE-2022-3401 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-3401 being exploited?
There is no known exploitation of CVE-2022-3401 in the wild and no public exploit code.
Other vulnerabilities in Bricks
- CVE-2024-2297 Bricksbuilder <= 1.9.6.1 - Authenticated (Contributor+) Privilege Escalation via create_autosave
- CVE-2022-3400 Missing authorization in Bricks
- CVE-2023-3410 Bricks <= 1.10.1 - Authenticated (Bricks Page Builder Access+) Stored Cross-Site Scripting
- CVE-2023-3409 Bricks <= 1.8.1 - Cross-Site Request Forgery via reset_settings
- CVE-2023-3408 Bricks <= 1.8.1 - Cross-Site Request Forgery via save_settings
Sources
Also known as GHSA-r2w6-f5cp-rrh7.