CVE-2020-27665 Improper Authorization in Strapi

High 7.5 Published Updated

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.

PackageAffectedFixed in
strapi-plugin-content-type-builder npmAll versions3.2.5
strapi-plugin-content-type-builder npmAll versions3.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.

Sources

Also known as GHSA-4p55-xj37-fx7g.

Is CVE-2020-27665 in your software?

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

Check your SBOMs for free