CVE-2022-2818: Improper Removal of Sensitive Information Before Storage or Transfer in cockpit-hq/cockpit

Published Aug 15, 2022
·
Updated

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.

Other sources

Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.2.2.

MITRE

Affected Software

2 affected componentsFixes available
composer/cockpit-hq/cockpit<=2.2.1
2.2.2
Agentejo Cockpit<2.2.2

Event History

Aug 15, 2022
CVE Published
via MITRE·09:50 AM
Data Sourced
via MITRE·09:50 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:21 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 16, 2022
Advisory Published
12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2022-2818.

2

What is the severity of CVE-2022-2818?

The severity of CVE-2022-2818 is critical with a severity value of 8.8.

3

Which software versions are affected by CVE-2022-2818?

Cockpit Content Platform versions up to and including 2.2.1 and Agentejo Cockpit versions up to and exclusive 2.2.2 are affected by CVE-2022-2818.

4

How can an attacker exploit this vulnerability?

An attacker can exploit CVE-2022-2818 by bypassing two-factor authentication (2FA) through the disclosure of the 2FA secret in a JWT token after the user logs into their account.

5

Is there a patch available for CVE-2022-2818?

Yes, a patch is available on the `develop` branch of the Cockpit repository.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203