CVE-2021-38312 Missing authorization in Gutenberg Template Library & Redux Framework
Lower-privileged users can install arbitrary plugins and modify posts due to incorrect authorization checks in the REST API.
- 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-2021-38312?
CVE-2021-38312 is a high-severity missing authorization vulnerability in Redux.io Gutenberg Template Library & Redux Framework, published on 2 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Gutenberg Template Library & Redux Framework plugin <= 4.2.11 for WordPress used an incorrect authorization check in the REST API endpoints registered under the “redux/v1/templates/” REST Route in “redux-templates/classes/class-api.php”. The `permissions_callback` used in this file only checked for the `edit_posts` capability which is granted to lower-privileged users such as contributors, allowing such users to install arbitrary plugins from the WordPress repository and edit arbitrary posts.
Which versions are affected by CVE-2021-38312?
It affects 1 product.
Products include Redux Gutenberg Template Library \& Redux Framework.
How do I fix CVE-2021-38312?
No fix has been published for CVE-2021-38312 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-38312 being exploited?
There is no known exploitation of CVE-2021-38312 in the wild and no public exploit code.
Other vulnerabilities in Redux.io Gutenberg Template Library & Redux Framework
Sources
Also known as GHSA-jgqj-hr6f-2p53.