CVE-2022-39239
Netlify IpX SVG Image Cache Poisoning XSS
Description
netlify-ipx is an on-Demand image optimization for Netlify using ipx. In versions prior to 1.2.3, an attacker can bypass the source image domain allowlist by sending specially crafted headers, causing the handler to load and return arbitrary images. Because the response is cached globally, this image will then be served to visitors without requiring those headers to be set. XSS can be achieved by requesting a malicious SVG with embedded scripts, which would then be served from the site domain. Note that this does not apply to images loaded in `<img>` tags, as scripts do not execute in this context. The image URL can be set in the header independently of the request URL, meaning any site images that have not previously been cached can have their cache poisoned. This problem has been fixed in version 1.2.3. As a workaround, cached content can be cleared by re-deploying the site.
INFO
Published Date :
Sept. 23, 2022, 8:15 a.m.
Last Modified :
Nov. 21, 2024, 7:17 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-39239
.
URL | Resource |
---|---|
https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98 | Third Party Advisory |
https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-39239
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-39239
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Sep. 27, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98 No Types Assigned https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98 Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:nuxtjs:netlify-ipx:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.2.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-39239
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-39239
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.03 }} -0.01%
score
0.06375
percentile