Server-Side Request Forgery (SSRF) Affecting strapi package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-STRAPI-7323680
  • published21 Jun 2024
  • disclosed20 Jun 2024
  • creditVaibhav Barkade

Introduced: 20 Jun 2024

CVE-2024-37818  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

There is no fixed version for strapi.

Overview

strapi is a HTTP layer sits on top of Koa.

Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF) through the /strapi.io/_next/image component. This attack can be perform as an unauthorized user by simply sending GET request to the below endpoint, leading to sensitive data leakage, such as authorization credentials.

Workaround

Some means of remediation include:

  1. Whitelists and DNS Resolution

  2. Authentication on Internal Services

  3. Harden Cloud Services

  4. Response Handling

  5. Disable Unused URL Schemas

References

CVSS Scores

version 4.0
version 3.1