PT-2021-22030 · WordPress · The Gutenberg Template Library & Redux Framework
Ramuel Gall
·
Published
2021-09-02
·
Updated
2022-10-27
·
CVE-2021-38312
CVSS v3.1
7.1
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
Name of the Vulnerable Software and Affected Versions:
The Gutenberg Template Library & Redux Framework plugin versions prior to 4.2.12
Description:
The issue concerns an incorrect authorization check in the REST API endpoints registered under the “redux/v1/templates/” REST Route. Specifically, the
permissions callback in the “redux-templates/classes/class-api.php” file only checks for the edit posts capability, which is granted to lower-privileged users such as contributors. This allows such users to install arbitrary plugins from the WordPress repository and edit arbitrary posts.Recommendations:
For versions prior to 4.2.12, update to version 4.2.12 or later to resolve the issue. As a temporary workaround, consider restricting access to the REST API endpoints registered under the “redux/v1/templates/” REST Route to prevent lower-privileged users from installing arbitrary plugins or editing posts.
Exploit
Fix
Incorrect Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
The Gutenberg Template Library & Redux Framework