wsl-pro-service: Ubuntu Pro token exposed via process command-line arguments
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.1.18~20.04.2, 0.1.18~22.04.2, 0.1.18~24.04.3 and 1 more.
In wsl-pro-service before 0.1.19ubuntu3, the service component which runs as root inside each WSL instance attaches the instance to Ubuntu Pro by executing the pro client with the Ubuntu Pro token passed as a command-line argument (pro attach <token>). On systems where /proc is mounted without process-hiding mitigations (such as hidepid), which is the default in WSL, an unprivileged local user or process in the same WSL instance can read the token from /proc/<pid>/cmdline while the attach process is running. The leaked token could then be used to attach other machines to the victim's Ubuntu Pro subscription and gain unauthorized access to Ubuntu Pro services.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Canonical | >=0.1.1 <0.1.18~20.04.2, >=0.1.1 <0.1.18~22.04.2, >=0.1.1 <0.1.18~24.04.3, >=0.1.1 <0.1.19ubuntu2 | 0.1.18~20.04.2, 0.1.18~22.04.2, 0.1.18~24.04.3, 0.1.19ubuntu2 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket