Description
Open OnDemand is an open-source high-performance computing portal. Prior to 4.1.6 and 4.2.3, the Open OnDemand dashboard includes noVNC passwords in query parameters generated by apps/dashboard/app/helpers/batch_connect/sessions_helper.rb and apps/dashboard/app/views/batch_connect/sessions/connections/_novnc.html.erb. The server records those query strings in per-user PUN access logs, and insufficiently protected log directories can allow another local user to recover and replay a launch URL. Replaying the credential grants access to the running remote desktop and can result in horizontal or vertical privilege escalation according to the privileges of the desktop owner. This issue is fixed in versions 4.1.6 and 4.2.3.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
OSC ondemand
< 4.1.6affected>= 4.2.0, < 4.2.3affected
References
- https://github.com/OSC/ondemand/security/advisories/GHSA-pj66-qf5q-g7g5 ↗
- https://github.com/OSC/ondemand/pull/5562 ↗
- https://github.com/OSC/ondemand/commit/3ade99c529d8244a1411a58da3628631fd06c5f1 ↗
- https://github.com/OSC/ondemand/commit/efdc06a8deed9be010e04c6ab4e9bcc55e3b8474 ↗
- https://github.com/OSC/ondemand/releases/tag/v4.1.6 ↗
- https://github.com/OSC/ondemand/releases/tag/v4.2.3 ↗