The cookie that didn’t need a password
News
The cookie that didn’t need a password
The cookie that didn’t need a password
GeoServer let attackers forge an admin cookie from two files, and a 2-billion-record leak was full of session tokens. Neither needed a password.

Chad Spensky
·

This week’s two biggest credential stories were not about stealing a password. They were about what a password turns into after you sign in.
A cookie made from two files
GeoServer is an open-source server for publishing map data. On August 2, Rapid7 researcher Jonah Burgess reported a five-step chain that takes an anonymous visitor all the way to running commands on the server. The fixes shipped in GeoServer 2.27.7, 2.28.6 and 3.0.2, and the advisories went public last week.
The middle step is the one worth studying. GeoServer’s “remember me” cookie is a Spring Security token whose signature is a SHA-256 hash of four values: the username, an expiry time, the user’s stored password digest and a server key. Until the fix, that key shipped as the word “geoserver”. Earlier steps in the chain read two files: users.xml, with the admin’s password digest, and security/config.xml, with the key. With both in hand, the attacker computes a valid admin cookie and trades it for a session. Nothing is cracked.
The maintainers were blunt about the obvious fix: “Changing the key in security/config.xml does not help when the same file disclosure also reveals the key,” they wrote.
This is not a lab curiosity. On November 27, CISA added two links in the same chain to its Known Exploited Vulnerabilities catalog: the authorization bypass (CVE-2026-129243) and the XML injection (CVE-2026-120705), the two steps that leak those files.
The cookie carries its own proof, and the proof is built from two values the chain could read off disk.
A remember-me token is a password with an expiry date
Spring’s documentation is candid about this design. A captured hash-based token “is usable from any user agent until such time as the token expires.” The same page gives the remedy: change the password, and every outstanding token stops verifying, because the password is one of the inputs.
That remedy assumes the attacker holds a cookie. In GeoServer’s case the attacker held the ingredients, and they sat on the same disk as everything else, so a new password only meant a new digest for the next file read. As far as the cookie was concerned, the stored digest was the password.
The fixed releases stop storing the key in the data directory. It now comes from a GEOSERVER_REMEMBERME_KEY setting or a random value generated at startup, so remember-me cookies stop working after a restart unless a cluster sets the same key on every node.
Two billion records, and the cookies inside them
The same week, researcher Jeremiah Fowler reported an unprotected database holding about 2 billion credential records, more than 13 times the 149 million he reported earlier this year. It held 8,471 plaintext folders, including an estimated 400,000 documents from more advanced malware that kept a separate folder for each victim. In the sample he reviewed, the logs included browser passwords, cookies and session tokens, which he says give attackers “more ways in than a password alone.”
He is careful with the number: 2 billion records is not 2 billion victims, since infostealer collections are full of duplicates, expired passwords and resold data. His advice is the part worth repeating. Resetting a password does not help while the malware is still running. Clean the device first, then change passwords from a clean machine and revoke active sessions, because sessions captured while the device was infected “should be considered compromised.”
Fowler’s count from one open database. The cookies and session tokens in it are why his advice is to revoke sessions, not only change passwords.
What ends a stolen session
Both stories lead to the same short list:
If you run GeoServer, upgrade to 2.27.7, 2.28.6 or 3.0.2. Until you can, the advisories suggest blocking service values that contain a slash at a proxy and removing rememberme from the web filter chain.
Treat anything a server stores to check a password, and anything it hands a browser afterwards, as worth as much as the password itself.
After an infostealer infection, clean the device first, then change passwords and revoke sessions from a different machine.
Keep sessions for admin tools short, and ask for a fresh sign-in before anything risky.
Teams skip the last item for a human reason. Every “remember me” box exists because signing in again is tedious, so short sessions only last as long as people tolerate the prompts.
Make the fresh sign-in cheap
That is the problem we work on. With Allthenticate, signing in is a signature from a key held in your phone’s Secure Element. There is no password behind it, and no password digest on a server for anyone to read and turn into a cookie. On a computer, the phone being nearby unlocks it and walking away locks it, so a session on an unattended desk does not sit open for whoever walks by.
Last week we added a per-application setting for the moment that matters most. When a SAML or OIDC application asks for a fresh sign-in (ForceAuthn, prompt=login or max_age=0), admins can have the phone ask for a fingerprint or face check instead of letting proximity answer. Applications can keep sessions short and ask again before anything risky, and the person on the other end touches their phone instead of typing.
The GeoServer lesson is narrow and urgent: patch it. The broader one is that a password is only one of the things that can sign you in, and often not the one attackers take. Count the cookies, tokens and digests that stand in for it, keep them short-lived, and make signing in again something people do not mind. If you want to see what that feels like, try Allthenticate on your own machine.
This week’s two biggest credential stories were not about stealing a password. They were about what a password turns into after you sign in.
A cookie made from two files
GeoServer is an open-source server for publishing map data. On August 2, Rapid7 researcher Jonah Burgess reported a five-step chain that takes an anonymous visitor all the way to running commands on the server. The fixes shipped in GeoServer 2.27.7, 2.28.6 and 3.0.2, and the advisories went public last week.
The middle step is the one worth studying. GeoServer’s “remember me” cookie is a Spring Security token whose signature is a SHA-256 hash of four values: the username, an expiry time, the user’s stored password digest and a server key. Until the fix, that key shipped as the word “geoserver”. Earlier steps in the chain read two files: users.xml, with the admin’s password digest, and security/config.xml, with the key. With both in hand, the attacker computes a valid admin cookie and trades it for a session. Nothing is cracked.
The maintainers were blunt about the obvious fix: “Changing the key in security/config.xml does not help when the same file disclosure also reveals the key,” they wrote.
This is not a lab curiosity. On November 27, CISA added two links in the same chain to its Known Exploited Vulnerabilities catalog: the authorization bypass (CVE-2026-129243) and the XML injection (CVE-2026-120705), the two steps that leak those files.
The cookie carries its own proof, and the proof is built from two values the chain could read off disk.
A remember-me token is a password with an expiry date
Spring’s documentation is candid about this design. A captured hash-based token “is usable from any user agent until such time as the token expires.” The same page gives the remedy: change the password, and every outstanding token stops verifying, because the password is one of the inputs.
That remedy assumes the attacker holds a cookie. In GeoServer’s case the attacker held the ingredients, and they sat on the same disk as everything else, so a new password only meant a new digest for the next file read. As far as the cookie was concerned, the stored digest was the password.
The fixed releases stop storing the key in the data directory. It now comes from a GEOSERVER_REMEMBERME_KEY setting or a random value generated at startup, so remember-me cookies stop working after a restart unless a cluster sets the same key on every node.
Two billion records, and the cookies inside them
The same week, researcher Jeremiah Fowler reported an unprotected database holding about 2 billion credential records, more than 13 times the 149 million he reported earlier this year. It held 8,471 plaintext folders, including an estimated 400,000 documents from more advanced malware that kept a separate folder for each victim. In the sample he reviewed, the logs included browser passwords, cookies and session tokens, which he says give attackers “more ways in than a password alone.”
He is careful with the number: 2 billion records is not 2 billion victims, since infostealer collections are full of duplicates, expired passwords and resold data. His advice is the part worth repeating. Resetting a password does not help while the malware is still running. Clean the device first, then change passwords from a clean machine and revoke active sessions, because sessions captured while the device was infected “should be considered compromised.”
Fowler’s count from one open database. The cookies and session tokens in it are why his advice is to revoke sessions, not only change passwords.
What ends a stolen session
Both stories lead to the same short list:
If you run GeoServer, upgrade to 2.27.7, 2.28.6 or 3.0.2. Until you can, the advisories suggest blocking service values that contain a slash at a proxy and removing rememberme from the web filter chain.
Treat anything a server stores to check a password, and anything it hands a browser afterwards, as worth as much as the password itself.
After an infostealer infection, clean the device first, then change passwords and revoke sessions from a different machine.
Keep sessions for admin tools short, and ask for a fresh sign-in before anything risky.
Teams skip the last item for a human reason. Every “remember me” box exists because signing in again is tedious, so short sessions only last as long as people tolerate the prompts.
Make the fresh sign-in cheap
That is the problem we work on. With Allthenticate, signing in is a signature from a key held in your phone’s Secure Element. There is no password behind it, and no password digest on a server for anyone to read and turn into a cookie. On a computer, the phone being nearby unlocks it and walking away locks it, so a session on an unattended desk does not sit open for whoever walks by.
Last week we added a per-application setting for the moment that matters most. When a SAML or OIDC application asks for a fresh sign-in (ForceAuthn, prompt=login or max_age=0), admins can have the phone ask for a fingerprint or face check instead of letting proximity answer. Applications can keep sessions short and ask again before anything risky, and the person on the other end touches their phone instead of typing.
The GeoServer lesson is narrow and urgent: patch it. The broader one is that a password is only one of the things that can sign you in, and often not the one attackers take. Count the cookies, tokens and digests that stand in for it, keep them short-lived, and make signing in again something people do not mind. If you want to see what that feels like, try Allthenticate on your own machine.
Read next

News
The script on your login page can read the password
On November 16, malicious code in Optimizely snippets ran on 178 organizations’ websites. Any script on a login page can read what people type. A passkey leaves it nothing to take.

Chad Spensky
·

Insights
Attackers can’t steal passkeys, so they enroll their own
Passkeys stopped password phishing at sign-in, so attackers now call employees and add a passkey of their own. Enrollment and recovery set your real security level.

Chad Spensky
·

Business
Entra stops sending SMS codes on February 1
On February 1, 2027 Microsoft stops sending SMS and voice codes for most Entra ID users, with no opt-out. What changes, who it hits first, and how to use the 84 days left.

Chad Spensky
·
Your phone is the key
Passwordless login for desktops, SSH, SSO and doors, with proximity lock when you walk away.
Download Allthenticate