PT-2024-22348 · Unknown+1 · Jupyterhub+1
Th0H0
·
Published
2024-03-27
·
Updated
2025-09-02
·
CVE-2024-28233
CVSS v3.1
8.1
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
JupyterHub versions prior to 4.1.0
Description
The issue allows an attacker to achieve an XSS directly affecting a user's session by tricking them into visiting a malicious subdomain. This could lead to full access to the JupyterHub API and the user's single-user server. The affected configurations include single-origin JupyterHub deployments and deployments with user-controlled applications running on subdomains or peer subdomains of either the Hub or a single-user server. An attacker could create and exfiltrate an API token, exfiltrate files hosted on the user's single-user server, or install malicious extensions.
Recommendations
For versions prior to 4.1.0, upgrade to JupyterHub 4.1.0, enable per-user domains via
c.JupyterHub.subdomain host, and set c.JupyterHub.cookie host prefix enabled to True to enable domain-locked cookies. Alternatively, deploy JupyterHub on its own domain and enable per-user domains via c.JupyterHub.subdomain host.Exploit
Fix
XSS
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Debian
Jupyterhub