Paper/Archive/CVE-2022-23739

CVE-2022-23739

GitHub GitHub Enterprise Server — Incorrect authorization check in GitHub Enterprise Server leading to escalation of privileges in GraphQL API requests from GitHub Apps using scoped user-to-server tokens

Description · from the CVE record

An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of privileges in GraphQL API requests from GitHub Apps. This vulnerability allowed an app installed on an organization to gain access to and modify most organization-level resources that are not tied to a repository regardless of granted permissions, such as users and organization-wide projects. Resources associated with repositories were not impacted, such as repository file content, repository-specific projects, issues, or pull requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7.1 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.

Affected

ProductAffectedFixed inSource
GitHub Enterprise Server3.3 – < 3.3.163.3.16CNA
GitHub Enterprise Server3.4 – < 3.4.113.4.11CNA
GitHub Enterprise Server3.5 – < 3.5.83.5.8CNA
GitHub Enterprise Server3.6 – < 3.6.43.6.4CNA
GitHub Enterprise Server3.7 – < 3.7.13.7.1CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: partial

References

refdocs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1refdocs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16refdocs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11refdocs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8refdocs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4