Affected versions
Composercockpit-hq/cockpit
- Affected versions
- <= 2.2.1
- Fixed version
- 2.2.2
Exploitation
Description
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.

