// For flags

CVE-2022-46258

Incorrect Authorization in GitHub Enterprise Server leads to Action Workflow modifications without Workflow Scope

Severity Score

6.5
*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 repository-scoped token with read/write access to modify Action Workflow files without a Workflow scope. The Create or Update file contents API should enforce workflow scope. This vulnerability affected all versions of GitHub Enterprise Server prior to version 3.7 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, and 3.6.4. This vulnerability was reported via the GitHub Bug Bounty program.

Se identificó una vulnerabilidad de autorización incorrecta en GitHub Enterprise Server que permitía que un token con alcance de repositorio con acceso de lectura/escritura modificara archivos de flujo de trabajo de acción sin un alcance de flujo de trabajo. La API Crear o actualizar el contenido del archivo debe aplicar el alcance del flujo de trabajo. Esta vulnerabilidad afectó a todas las versiones de GitHub Enterprise Server anteriores a la versión 3.7 y se solucionó en las versiones 3.3.16, 3.4.11, 3.5.8 y 3.6.4. Esta vulnerabilidad se informó a través del programa GitHub Bug Bounty.

*Credits: Alex Ilgayev, Vaibhav Singh (@vaib25vicky)
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-11-28 CVE Reserved
  • 2023-01-09 CVE Published
  • 2024-08-01 EPSS Updated
  • 2024-08-03 CVE 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.16
Search vendor "Github" for product "Enterprise Server" and version " < 3.3.16"
-
Affected
Github
Search vendor "Github"
Enterprise Server
Search vendor "Github" for product "Enterprise Server"
>= 3.4.0 < 3.4.11
Search vendor "Github" for product "Enterprise Server" and version " >= 3.4.0 < 3.4.11"
-
Affected
Github
Search vendor "Github"
Enterprise Server
Search vendor "Github" for product "Enterprise Server"
>= 3.5.0 < 3.5.8
Search vendor "Github" for product "Enterprise Server" and version " >= 3.5.0 < 3.5.8"
-
Affected
Github
Search vendor "Github"
Enterprise Server
Search vendor "Github" for product "Enterprise Server"
>= 3.6.0 < 3.6.4
Search vendor "Github" for product "Enterprise Server" and version " >= 3.6.0 < 3.6.4"
-
Affected