GHSA-8wj3-cpmr-8whp

Suggest an improvement
Source
https://github.com/advisories/GHSA-8wj3-cpmr-8whp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-8wj3-cpmr-8whp/GHSA-8wj3-cpmr-8whp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8wj3-cpmr-8whp
Aliases
Published
2022-08-16T00:00:30Z
Modified
2024-02-16T08:04:13.103329Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
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.

Database specific
{
    "nvd_published_at": "2022-08-15T11:21:00Z",
    "cwe_ids": [
        "CWE-212",
        "CWE-287",
        "CWE-305"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-08-18T19:19:58Z"
}
References

Affected packages

Packagist / cockpit-hq/cockpit

Package

Name
cockpit-hq/cockpit
Purl
pkg:composer/cockpit-hq/cockpit

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.2

Affected versions

2.*

2.0.0
2.0.1
2.0.2
2.1.0
2.1.1
2.1.2
2.2.0
2.2.1

Database specific

{
    "last_known_affected_version_range": "<= 2.2.1"
}