Lucene search

K
hackeroneNyymiH1:2274981
HistoryDec 06, 2023 - 12:00 p.m.

Internet Bug Bounty: curl cookie mixed case PSL bypass

2023-12-0612:00:29
nyymi
hackerone.com
$2540
26
curl
super cookies
vulnerability
public suffix list
bypass

6.7 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

31.1%

A vulnerability in curl allows a malicious HTTP server to set “super cookies” in curl that are then passed back to more origins than what is otherwise allowed or possible. This allows a site to set cookies that then would get sent to different and unrelated sites and domains.

It could do this by exploiting a mixed case flaw in curl’s function that verifies a given cookie domain against the Public Suffix List (PSL). For example a cookie could be set with domain=co.UK when the URL used a lowercase hostname curl.co.uk, even though co.uk is listed as a PSL domain.

Impact

Issue supercookies bypassing the Public Suffix List check.