Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 1 min 172 bronnen 2 kritiek 23 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-102944

HIGH · 7.5 CVSS Gepubliceerd: CWE-522

Beschrijving NL

cpp-httplib is een C++ header-only HTTP/HTTPS-bibliotheek. Voorafgaand aan 0.51.0 verwijdert create_redirect_client() Host-, Proxy-Authorization- en Authorization-headers bij het volgen van een cross-origin 301-, 302-, 307- of 308-omleiding, maar laat Cookie-headers bijgevoegd. detail::redirect() kopieert het verzoek voor die omleidingscodes, zodat cookies die rechtstreeks of via default_headers_ worden geleverd, naar het omleidingsdoel worden verzonden. Een aanvaller die een omleidingsreactie beheert, of een netwerkpositie voor een niet-HTTPS-oorsprong, kan sessiecookies ontvangen die bedoeld zijn voor de oorspronkelijke oorsprong. Een 303-omleiding wordt niet beïnvloed, omdat dat pad alle aanvraagkoppen wist. Dit probleem is opgelost in versie 0.51.0.

Origineel (Engels) tonen

cpp-httplib is a C++ header-only HTTP/HTTPS library. Prior to 0.51.0, create_redirect_client() removes Host, Proxy-Authorization, and Authorization headers when following a cross-origin 301, 302, 307, or 308 redirect but leaves Cookie headers attached. detail::redirect() copies the request for those redirect codes, so cookies supplied directly or through default_headers_ are sent to the redirect target. An attacker who controls a redirect response, or a network position for a non-HTTPS origin, can receive session cookies intended for the original origin. A 303 redirect is not affected because that path clears all request headers. This issue is fixed in version 0.51.0.

References