Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-495j-h493-42q2

Опубликовано: 16 окт. 2025
Источник: github
Github: Прошло ревью
CVSS3: 8.2

Описание

Strapi Allows Unauthorized Access to Private Fields via parms.lookup

Summary

It's possible to access any private fields by filtering through the lookup parameters

Details

Using the new lookup operator provided by the document service in Strapi 5, it is not properly sanitizing this query operator for private fields.

PoC

  1. Create a strapi app.
  2. Create a content-type
  3. In the content-type you make a new entry
  4. Go back to the list view
  5. Add &lookup[updatedBy][password][$startsWith]=$2 to the end of your url (All passwords start with $2) see that all entries are still there
  6. Add &lookup[updatedBy][password][$startsWith]=$3 see the entry disappear proving that the search above works

Impact

An attacker can perform filtering attacks on everything related to the object, including admin passwords and reset-tokens. This means that they can gain full access to the strapi instance.

Пакеты

Наименование

@strapi/core

npm
Затронутые версииВерсия исправления

>= 5.0.0, < 5.5.2

5.5.2

EPSS

Процентиль: 5%
0.00022
Низкий

8.2 High

CVSS3

Дефекты

CWE-639

Связанные уязвимости

CVSS3: 8.2
nvd
4 месяца назад

Strapi is an open-source headless content management system. In versions from 5.0.0 to before 5.5.2, the lookup operator provided by the document service does not properly sanitize query parameters for private fields. An attacker can access private fields, including admin passwords and reset tokens, by crafting queries with the lookup parameter. This vulnerability is fixed in 5.5.2.

EPSS

Процентиль: 5%
0.00022
Низкий

8.2 High

CVSS3

Дефекты

CWE-639