The Patching Friars' AlmanacA calendar of CVE saints

July 15

Cookie TossingHoly card for cookie-tossing, generated with AI (Claude, Anthropic) for the Lunario dei Frati Patchatori.CC BY-NC-SA 4.0 sub.domain Cookie Tossing CRUSTULUM IACTUM
🤖 Image and text generated with AI

⬇ Download holy card: ·

⚔ Commemorated today: The Scourge of the Doubled Bitcoin (2020)

Embed on your site

Saint Cookie Tossing, Who Threw Biscuits From the Subdomains

Patron of multi-user servers, cookies shared across subdomains, and those who trust the neighbour on the same domain.

Life

In 2024 Thomas Houhou revealed a flaw in JupyterHub (CVE-2024-28233): from a malicious subdomain you could "toss" a cookie at the legitimate application and gain cross-site scripting on the user's session, up to full access to the API and their personal server. Where several services live under neighbouring domains, a cookie thrown from the right spot becomes a key.

Prayer

O Saint Cookie Tossing, who throws biscuits from the domain next door, teach our servers to distrust cookies that arrive from outside. Amen.

How to celebrate

Celebrated by updating JupyterHub to 4.1.0 and carefully separating the domains of services that share their users.

A biscuit thrown by the neighbour is a bitter mouthful for the owner.

Technical record

Disclosed on
July 15 2024
CVE
CVE-2024-28233
CVSS
8.1
Product
jupyterhub · jupyterhub

JupyterHub is an open source multi-user server for Jupyter notebooks. By tricking a user into visiting a malicious subdomain, the attacker can achieve an XSS directly affecting the former's session. More precisely, in the context of JupyterHub, this XSS could achieve full access to JupyterHub API and user's single-user server. The affected configurations are single-origin JupyterHub deployments and JupyterHub deployments with user-controlled applications running on subdomains or peer subdomains of either the Hub or a single-user server. This vulnerability is fixed in 4.1.0.

Sources: thomashouhou.com

Commemorated today

Also remembered today

Shortcuts: ← → to move, D day, W week, M month, T today.

📅 Add to your calendar

SaintsGoogle CalendarApple, Outlook (.ics)

Observances (feasts, scourges and miracles)Google CalendarApple, Outlook (.ics)

In Google Calendar you can also paste the URL in Settings → Add calendar → From URL. The first sync can take a few hours.