Katalog CVE

CVE-2026-85242

ŚrednieCVSS 6.9
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

PlaywrightCapture zawiera podatność na atak typu Server-Side Request Forgery (SSRF) w funkcji pobierania favicon. Gdy włączona jest opcja only_global_lookup, walidacja adresów URL nie obejmuje przekierowań, które są automatycznie śledzone przez aiohttp, co pozwala na ominięcie ograniczeń i dostęp do lokalnych zasobów.

Ocena ryzyka

Atakujący może wykorzystać tę podatność do wysyłania żądań HTTP do wewnętrznych usług, takich jak localhost czy adresy w sieci wewnętrznej, co może prowadzić do skanowania sieci, wykradzenia danych lub eskalacji uprawnień.

Rekomendacja

Zastosuj poprawkę, która dodaje middleware do aiohttp, aby walidować każdy adres URL w łańcuchu przekierowań i blokować żądania do adresów zastrzeżonych.

Inne podatności w PlaywrightCapture

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

PlaywrightCapture contains a server-side request forgery (SSRF) vulnerability in its favicon retrieval functionality. When only_global_lookup is enabled, the application validates the initial favicon URL to prevent requests to localhost, loopback, or other non-public network addresses. However, redirects followed by aiohttp were not subjected to the same validation. An attacker able to influence the content of a page processed by PlaywrightCapture could specify a publicly reachable favicon URL that responds with an HTTP redirect to a local or otherwise restricted address, such as 127.0.0.1, localhost, or an internal network service. Because aiohttp automatically followed the redirect, the resulting request could bypass the application's local-address restrictions and cause the PlaywrightCapture host to issue HTTP requests to resources that should not be externally reachable. Depending on the services reachable from the PlaywrightCapture host and how retrieved favicon data is subsequently exposed or processed, this could be used to probe internal HTTP services or potentially obtain information from otherwise inaccessible endpoints. The patch introduces an aiohttp request middleware that applies the existing local-URL validation to every request in the redirect chain. Requests resolving to restricted/local destinations are rejected before they are issued.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS