CVE-2022-3401 Code injection in Bricks

High 8.8 Published Updated

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.

Sources

Also known as GHSA-r2w6-f5cp-rrh7.

Is CVE-2022-3401 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free