CVE-2020-27665 Improper Authorization in Strapi
Attackers can access content-type-builder routes without admin permissions, allowing unauthorized modification of content structures.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-27665?
CVE-2020-27665 is a high-severity missing authorization vulnerability in n/a, published on 22 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Strapi before 3.2.5, there is no admin::hasPermissions restriction for CTB (aka content-type-builder) routes.
Weakness: CWE-276
Which versions are affected by CVE-2020-27665?
2 open source packages ship an affected version, including strapi-plugin-content-type-builder. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
strapi-plugin-content-type-builder npm | All versions | 3.2.5 |
strapi-plugin-content-type-builder npm | All versions | 3.2.5 |
Products include Strapi Strapi.
How do I fix CVE-2020-27665?
Upgrade strapi-plugin-content-type-builder to 3.2.5 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-27665 being exploited?
There is no known exploitation of CVE-2020-27665 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2023-22894 Strapi Cleartext Storage of Sensitive Information
- CVE-2023-22621 Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin
- CVE-2022-27263 Unrestricted Upload of File with Dangerous Type in Strapi
- CVE-2020-27664 Authorization bypass in Strapi
- CVE-2019-18818 Strapi allows unauthenticated attacker to reset admin password without valid reset token
Sources
Also known as GHSA-4p55-xj37-fx7g.