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

exploitDog

github логотип

GHSA-2rmr-xw8m-22q9

Опубликовано: 09 нояб. 2023
Источник: github
Github: Прошло ревью
CVSS3: 6.1

Описание

Sentry Next.js vulnerable to SSRF via Next.js SDK tunnel endpoint

Impact

An unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This could open door for other attack vectors:

  • client-side vulnerabilities: XSS/CSRF in the context of the trusted domain;
  • interaction with internal network;
  • read cloud metadata endpoints (AWS, Azure, Google Cloud, etc.);
  • local/remote port scan.

This issue only affects users who have Next.js SDK tunneling feature enabled.

Patches

The problem has been fixed in sentry/nextjs@7.77.0

Workarounds

Disable tunneling by removing the tunnelRoute option from Sentry Next.js SDK config — next.config.js or next.config.mjs.

References

Credits

Пакеты

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

@sentry/nextjs

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

>= 7.26.0, < 7.77.0

7.77.0

EPSS

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

6.1 Medium

CVSS3

Дефекты

CWE-918

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

CVSS3: 9.3
nvd
около 2 лет назад

sentry-javascript provides Sentry SDKs for JavaScript. An unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This issue only affects users who have Next.js SDK tunneling feature enabled. The problem has been fixed in version 7.77.0.

CVSS3: 9.3
fstec
около 2 лет назад

Уязвимость набора средств разработки программного обеспечения для создания веб-приложений sentry-javascript, связанная с недостаточной проверкой поступающих запросов, позволяющая нарушителю провести SSRF-атаку

EPSS

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

6.1 Medium

CVSS3

Дефекты

CWE-918