OpenBao
OpenBao has Reflected XSS in its OIDC authentication error message
OpenBao is an open source identity-based secrets management system. Prior to version 2.5.2, OpenBao installations that have an OIDC/JWT authentication method enabled and a role with `callback_mode=direct` configured are vulnerable to XSS via the `error_description` parameter on the page for a failed authentication. This allows an attacker access to the token used in the Web UI by a victim. The `error_description` parameter has been replaced with a static error message in v2.5.2. The vulnerability can be mitigated by removing any roles with `callback_mode` set to `direct`.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.5.2
Fixed in 2.5.2
Mitigation
Upgrade openbao to 2.5.2 or later.
References
- Vendor advisory github.com/openbao/openbao/security/advisories…
- Patch github.com/openbao/openbao/pull/2709
- Patch github.com/openbao/openbao/commit/6e2b2dd84f0e…
1 more
- Release notes github.com/openbao/openbao/releases/tag/v2.5.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.