Skip to content
Info disclosure Disclosed report Beginner

Disclosure of 152 cookie names via crafted input

Sending a cookie named '0' caused the site to return a list of all 152 cookie names the application supports, each set to a deleted state. This disclosed internal cookie names that could help an attacker plan further attacks, though the report says it poses no direct threat by itself.

James Kettle Follow

Originally disclosed on HackerOne

  • Fixed in 5 hours
  • Paid in 5 hours
  • Disclosed after 18 months

If someone sends a cookie called '0', automattic.com responds with a list of all 152 cookies supported by the application:

curl -v -H 'Cookie: 0=1' https://automattic.com/?cb=123 | fgrep Cookie

Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ██████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: █████████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com
Set-Cookie: ███=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com

Impact

This is a low impact issue - it doesn't pose a direct threat by itself, but it discloses information which may be useful an attacker.

The original report as published on HackerOne, by albinowax. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

The target is automattic.com, and the feature involved is the application's cookie handling. The researcher found that sending a single cookie named 0 causes the site to respond with a list of every cookie the application supports, 152 of them in total.

The reproduction is a single request. The cookie header carries the name 0 with the value 1, and a cache-busting query parameter is appended to the URL:

Bash
curl -v -H 'Cookie: 0=1' https://automattic.com/?cb=123 | fgrep Cookie

The response contains one Set-Cookie header per supported cookie, each clearing the cookie by setting it to deleted with an expiry in the past and Max-Age=0, scoped to path=/ and domain=.wordpress.com. The cookie names in the report are redacted, but the shape of every line is the same:

HTTP
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com

The report records the severity as low and classifies the issue as information disclosure. It does not describe a fix, a bounty amount or any further discussion.

Root cause

The report does not explain the cause. One possibility is that the application treats the incoming cookie name as a key into its internal list of known cookies, and the value 0 matches the first entry or otherwise triggers the whole list. Instead of clearing only the cookie that was sent, the handler iterates over its registry of supported cookies and emits a clearing Set-Cookie header for each one.

Impact

The report is explicit that this is a low impact issue. On its own it poses no direct threat, but it discloses information that may be useful to an attacker. The leaked list is an inventory of the cookie names the application recognises, which may be useful to someone mapping the target. The report does not claim any way to read cookie values, hijack sessions or bypass authentication with this behaviour.

How this kind of bug works

Many applications keep a central registry of the cookies they set: preferences, consent flags, session markers, experiment buckets, affiliate and referral tracking. Code that clears cookies, logs out users or resets state often walks that registry rather than acting on the single cookie named in the request. When the input that selects which cookie to act on is not validated, a crafted name can select the whole registry, or an unintended entry, and the response enumerates names the developer never meant to expose.

The information is not secret in the sense of a password, but it is not public either. Cookie names reveal product decisions, third-party services, A/B testing frameworks and internal naming conventions. That is why this class is usually rated low: it is reconnaissance value rather than direct compromise. The same pattern appears wherever a name from the request is used as a lookup key into a fixed set, including headers, query parameters and form fields.

How to test for it

  1. Identify endpoints that set or clear cookies: login and logout, consent banners, preference pages, language and currency switchers, and any response that carries several Set-Cookie headers at once.
  2. Send a request with a cookie name that is plausible but wrong: a single digit such as 0 or 1, an empty name, a very long name, a name containing delimiters, and a name that matches a known cookie with a different case.
  3. Compare the number of Set-Cookie headers in the response with the number you would expect. A positive result is a response that clears or sets cookies you never sent, especially a long list of them.
  4. Repeat with a cache-busting parameter, as the report does, so that a cached response does not mask the behaviour, and repeat without the parameter to see whether the result is cacheable and therefore reachable by other users.
  5. Check whether the same enumeration works through other inputs that select a cookie, such as a query parameter naming a preference.

Common false positives: a framework that always emits a fixed set of clearing headers on logout, a CDN or WAF that injects its own cookies, and responses where the extra cookies belong to a shared parent domain by design. Confirm that the list changes with your input and that the names are not already visible in normal traffic.

How it is fixed

Hunting notes

This bug class tends to hide in logout and session-reset handlers, consent management code, multi-tenant or multi-site platforms where one codebase serves many domains, and anywhere a single response carries a batch of Set-Cookie headers. Recon signals include responses with unusually many Set-Cookie lines, cookies scoped to a parent domain such as .wordpress.com, and parameters that look like selectors for preferences or state.

To make the report land, show the exact request, the exact response headers with names redacted if needed, and a clear statement of what the disclosure enables: which features or third-party services the names reveal. Keep the impact claim honest and proportionate.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

This report is about a website, automattic.com, and the way it handles cookies. A cookie is a small piece of text that a website asks your browser to store and send back on later visits. Cookies hold things like login state, language preferences and tracking identifiers. Each cookie has a name and a value, for example theme=dark.

The researcher found that if you send the site a cookie whose name is simply the digit 0, the site replies with a list of every cookie name it knows about: 152 of them. The names themselves are blacked out in the report, but the number and the shape of the reply are clear.

Why does this matter? Because the list of cookie names is a kind of map of the site. It hints at which features exist, which third-party services are wired in, and which cookie names are worth guessing at later. On its own it does not let anyone log in as you or read your data. That is why the report rates it low severity and files it under information disclosure: the site reveals information it did not mean to reveal.

The request

The whole reproduction is one command. curl is a free command-line tool that sends a web request and prints the reply, a bit like a browser doing one single page load without the window.

Bash
curl -v -H 'Cookie: 0=1' https://automattic.com/?cb=123 | fgrep Cookie

Line by line:

  • curl runs the tool.
  • -v means verbose: print the request and response details, not just the page body.
  • -H 'Cookie: 0=1' adds a custom header. A header is a labelled line of extra information sent with a request. Here the header is named Cookie, and its content is a cookie called 0 with the value 1. Normally your browser fills this header in for you; here the researcher sets it by hand to test an unusual name.
  • https://automattic.com/?cb=123 is the address being requested. The part after the question mark, cb=123, is a query parameter: extra data appended to a URL. cb usually stands for cache buster. A cache is a copy of a page kept to serve it faster; adding a changing value makes the address look new, so the server builds a fresh reply instead of handing back an old stored one.
  • | fgrep Cookie pipes the output into fgrep, which prints only the lines containing the word Cookie. This filters the noise so the cookie headers stand out.

The response

The reply contains one Set-Cookie header for every cookie the application supports. Set-Cookie is the instruction a server sends to tell the browser to store, change or delete a cookie. Here each line deletes a cookie: the value is set to deleted, the expiry date is in the past, and Max-Age=0 tells the browser the cookie should live for zero seconds. The report redacts the names, but every line has the same structure:

HTTP
Set-Cookie: ██████=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.wordpress.com

Reading that line: the cookie name is redacted, the value is deleted, expires and Max-Age make it expire immediately, path=/ means it applies to the whole site, and domain=.wordpress.com means it belongs to the whole wordpress.com domain and its subdomains, not just one host.

Why it happens

A likely explanation is that the site keeps an internal list of the cookies it recognises, and the code that clears cookies looks up the name you sent in that list. The report does not explain why this happens; one possibility is that the name 0 matches the first entry in an internal list, or otherwise trips the code into walking the entire list. Instead of clearing only the cookie that was sent, it clears all of them and names each one in the reply. The report does not explain the purpose of the ?cb=123 parameter.

It states the severity as low and the weakness as information disclosure.

In general, how this kind of bug works

Many applications keep a central register of the cookies they set: preferences, consent choices, session markers, experiment groups, referral tracking. Code that clears cookies, logs users out or resets state often walks that whole register rather than acting on the single cookie named in the request. When the input that chooses which cookie to act on is not checked, a crafted name can select the whole register, and the reply lists names the developer never meant to expose.

A useful comparison is a cloakroom. You hand over a ticket with a number, and the attendant fetches the matching coat. If the ticket says 0 and the attendant reads that as "bring out every coat", the whole rack ends up in the lobby. The coats are not secret, but the rack tells you who is in the building.

Cookie names are not passwords, but they are not public either. They reveal product decisions, third-party services, testing frameworks and internal naming habits. That is why this class is usually rated low: it is reconnaissance value, not direct compromise. The same pattern appears wherever a name from the request is used as a lookup key into a fixed set, including headers, query parameters and form fields.

How to test for it

  1. Find places that set or clear cookies: login and logout, consent banners, preference pages, language and currency switchers, and any reply carrying several Set-Cookie headers at once.
  2. Send a cookie name that is plausible but wrong: a single digit such as 0 or 1, an empty name, a very long name, a name with odd characters, and a known name in different capitalisation.
  3. Compare how many Set-Cookie headers come back with how many you expected. A positive result is a reply that clears or sets cookies you never sent, especially a long list.
  4. Repeat with a cache-busting parameter, as the report does, so a cached reply does not hide the behaviour, then repeat without it to see whether the result is cacheable and therefore reachable by other users.
  5. Check whether the same enumeration works through other inputs that select a cookie, such as a query parameter naming a preference.

Common false positives: a framework that always emits a fixed set of clearing headers on logout, a content delivery network or web application firewall that injects its own cookies, and replies where the extra cookies belong to a shared parent domain by design. Confirm that the list changes with your input and that the names are not already visible in normal traffic.

How it is fixed

Hunting notes

This bug class tends to hide in logout and session-reset handlers, consent management code, multi-tenant or multi-site platforms where one codebase serves many domains, and anywhere a single reply carries a batch of Set-Cookie headers. Recon signals include replies with unusually many Set-Cookie lines, cookies scoped to a parent domain such as .wordpress.com, and parameters that look like selectors for preferences or state.

To make the report land, show the exact request, the exact response headers with names redacted if needed, and a clear statement of what the disclosure enables: which features or third-party services the names reveal. Keep the impact claim honest and proportionate.

Glossary

  • Cookie: a small piece of text a website asks your browser to store and send back on later visits, holding things like login state or preferences.
  • Cookie name and value: the label and the content of a cookie, written as name=value.
  • Header: a labelled line of extra information sent with a web request or response.
  • Request: the message your browser (or a tool) sends to a server asking for a page or action.
  • Response: the message the server sends back.
  • Set-Cookie: the response header a server uses to tell the browser to store, change or delete a cookie.
  • curl: a command-line tool for sending web requests and printing the replies.
  • Query parameter: extra data appended to a URL after a question mark, such as ?cb=123.
  • Cache: a stored copy of a page or reply kept to serve it faster.
  • Cache buster: a changing query parameter added to a URL so the server builds a fresh reply instead of serving a stored one.
  • fgrep: a command-line tool that prints only the lines of its input containing a given word.
  • Max-Age and expires: cookie attributes that control how long a cookie lives; a value of zero or a past date deletes it.
  • path and domain: cookie attributes that control which parts of a site the cookie applies to.
  • Information disclosure: a weakness where a site reveals information it did not intend to reveal.
  • Severity: a rating of how much harm a weakness could cause, here low.
  • Reconnaissance: the information-gathering phase of an attack, before any direct exploitation.
  • Allowlist: a list of values that are explicitly permitted, with everything else rejected.
  • False positive: a test result that looks like a bug but is actually normal behaviour.
  • Content delivery network (CDN): a network of servers that caches and serves content close to users.
  • Web application firewall (WAF): a filter placed in front of a site that inspects traffic and blocks suspicious requests.
  • Multi-tenant platform: one codebase serving many separate sites or customers.
  • Session: the period during which a site remembers who you are, usually via a cookie.
  • Redacted: hidden or blacked out, usually to protect sensitive data.

More by James Kettle

View all

18 more disclosed reports, best first.

More from Automattic

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.