Lucene search

K
cvelistGitHub_MCVELIST:CVE-2022-46179
HistoryDec 28, 2022 - 7:00 a.m.

CVE-2022-46179 LiuOS vulnerable to Authorization Bypass through User-Controlled Key

2022-12-2807:00:37
CWE-639
GitHub_M
www.cve.org
cve-2022-46179
liuos
authorization bypass
user-controlled key
python project
operating system
environment variable
authentication checks
patched
workaround

9.2 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H

9.4 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

LiuOS is a small Python project meant to imitate the functions of a regular operating system. Version 0.1.0 and prior of LiuOS allow an attacker to set the GITHUB_ACTIONS environment variable to anything other than null or true and skip authentication checks. This issue is patched in the latest commit (c658b4f3e57258acf5f6207a90c2f2169698ae22) by requiring the var to be set to true, causing a test script to run instead of being able to login. A potential workaround is to check for the GITHUB_ACTIONS environment variable and set it to “” (no quotes) to null the variable and force credential checks.

CNA Affected

[
  {
    "vendor": "LiuWoodsCode",
    "product": "LiuOS",
    "versions": [
      {
        "version": "<= 0.1.0",
        "status": "affected"
      }
    ]
  }
]

9.2 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H

9.4 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

Related for CVELIST:CVE-2022-46179