Summary
Open OnDemand and the ood-ansible role default to an OIDC crypto passphrase derivable from the server name, and the ood-ansible role checks a different variable than the documented setting. The source assigns a CVSS 4.0 score of 9.1 (critical).
What happened
The portal generator in Open OnDemand, an open-source high-performance computing portal, defaults OIDCCryptoPassphrase to SHA1(servername). In addition, the templates/ood_portal.yml.j2 role template checks a different variable from the documented passphrase setting. As a result, administrators who set ood_oidc_crypto_passphrase may believe a strong secret is configured while the deployment keeps using a value an attacker can derive. In OIDCSessionType client-cookie deployments, an unauthenticated remote attacker can derive the encryption key and forge a mod_auth_openidc_session cookie for another user. In server-cache deployments, the source states that lower-impact tampering with protected OIDC state and nonce cookies is possible. The weakness is classified as CWE-330. CVSS 4.0 vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N (source: CNA GitHub_M).
Why it matters
According to the source, forging the session cookie lets an unauthenticated remote attacker act as another user in client-cookie deployments, with high impact on confidentiality and integrity. The source does not indicate active exploitation, and the information available does not show this vulnerability in CISA's KEV catalog.
Affected products and versions
OSC ondemand: versions prior to 4.1.6 (< 4.1.6) and versions >= 4.2.0, < 4.2.3. ood-ansible osc.open_ondemand: versions prior to 4.2.1 (< 4.2.1).
| Product | Versions | Fixed in |
|---|---|---|
| OSC ondemand | < 4.1.6 | — |
| OSC ondemand | >= 4.2.0, < 4.2.3 | — |
| ood-ansible osc.open_ondemand | < 4.2.1 | — |
Action recommended by the source
The vendor states the issue is fixed in Open OnDemand 4.1.6 and 4.2.3, and in ood-ansible 4.2.1. The source does not mention other mitigations. Release notes and vendor advisories are available in OSC's GitHub repositories (GHSA-3wm4-r2jj-43pp).
Sources and references
- https://github.com/OSC/ondemand/security/advisories/GHSA-3wm4-r2jj-43pp — CVE Program
- https://github.com/OSC/ondemand/pull/5559 — CVE Program
- https://github.com/OSC/ood-ansible/pull/303 — CVE Program
- https://github.com/OSC/ondemand/commit/26ff4b4f21a4f5a2ab8eeafe495aee883f763263 — CVE Program
- https://github.com/OSC/ondemand/commit/2cf5c2871622acf3a84c1269481c4c0ca6df543c — CVE Program
- https://github.com/OSC/ood-ansible/commit/29dfbc7993cf48ae7553551c13bdf1406fa218ad — CVE Program
- https://github.com/OSC/ondemand/releases/tag/v4.1.6 — CVE Program
- https://github.com/OSC/ondemand/releases/tag/v4.2.3 — CVE Program
- https://github.com/OSC/ood-ansible/releases/tag/v4.2.1 — CVE Program
Weaknesses (CWE): CWE-330
Relevant change history
Advisory correction
The preliminary version was replaced by the full write-up.
Published
Preliminary advisory published.