// For flags

CVE-2022-23741

Incorrect authorization in GitHub Enterprise Server token generation leading to full admin access

Severity Score

7.2
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed a scoped user-to-server token to escalate to full admin/owner privileges. An attacker would require an account with admin access to install a malicious GitHub App. This vulnerability was fixed in versions 3.3.17, 3.4.12, 3.5.9, and 3.6.5. This vulnerability was reported via the GitHub Bug Bounty program.

Se identificó una vulnerabilidad de autorización incorrecta en GitHub Enterprise Server que permitió que un token de usuario a servidor con alcance escalara a privilegios completos de administrador/propietario. Un atacante requeriría una cuenta con acceso de administrador para instalar una aplicación GitHub maliciosa. Esta vulnerabilidad se solucionó en las versiones 3.3.17, 3.4.12, 3.5.9 y 3.6.5. Esta vulnerabilidad se informó a través del programa GitHub Bug Bounty.

*Credits: Vaibhav Singh (@vaib25vicky)
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-01-19 CVE Reserved
  • 2022-12-14 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-10-30 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-863: Incorrect Authorization
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Github
Search vendor "Github"
Enterprise Server
Search vendor "Github" for product "Enterprise Server"
< 3.3.17
Search vendor "Github" for product "Enterprise Server" and version " < 3.3.17"
-
Affected
Github
Search vendor "Github"
Enterprise Server
Search vendor "Github" for product "Enterprise Server"
>= 3.4.0 < 3.4.12
Search vendor "Github" for product "Enterprise Server" and version " >= 3.4.0 < 3.4.12"
-
Affected
Github
Search vendor "Github"
Enterprise Server
Search vendor "Github" for product "Enterprise Server"
>= 3.5.0 < 3.5.9
Search vendor "Github" for product "Enterprise Server" and version " >= 3.5.0 < 3.5.9"
-
Affected
Github
Search vendor "Github"
Enterprise Server
Search vendor "Github" for product "Enterprise Server"
>= 3.6.0 < 3.6.5
Search vendor "Github" for product "Enterprise Server" and version " >= 3.6.0 < 3.6.5"
-
Affected