GitHub Advisory Database
GHSA-8wj3-cpmr-8whp
Cockpit Content Platform vulnerable to 2FA bypass
Details
Cockpit Content Platform through version 2.2.1 is vulnerable to a two-factor authentication (2FA) bypass. The 2FA secret is disclosed in a JWT token after user logs into their account, allowing an attacker to bypass the 2FA code. A patch is available on the develop branch and is expected to be part of version 2.2.2.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | cockpit-hq/cockpit | All versions before 2.2.2 (fixed in 2.2.2) |