CVE-2024-2297 Bricksbuilder <= 1.9.6.1 - Authenticated (Contributor+) Privilege Escalation via create_autosave
Authenticated contributors can escalate privileges to administrator and execute arbitrary PHP code if specific Bricks Builder settings are enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-2297?
CVE-2024-2297 is a high-severity vulnerability in Bricks, published on 27 Feb 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The Bricks theme for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.9.6.1. This is due to insufficient validation checks placed on the create_autosave AJAX function. This makes it possible for authenticated attackers, with contributor-level access and above, to execute arbitrary PHP code with elevated (administrator-level) privileges. NOTE: Successful exploitation requires (1) the Bricks Builder to be enabled for posts (2) Builder access to be enabled for contributor-level users, and (3) "Code Execution" to be enabled for administrator-level users within the theme's settings.
Weakness: CWE-269
Which versions are affected by CVE-2024-2297?
It affects 1 product.
Products include Bricksbuilder Bricks.
How do I fix CVE-2024-2297?
No fix has been published for CVE-2024-2297 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-2297 being exploited?
There is no known exploitation of CVE-2024-2297 in the wild and no public exploit code.
Other vulnerabilities in Bricks
- CVE-2022-3401 Code injection in Bricks
- 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-6m6j-3p57-wq75.