Auth bypass in Liuos Project
CVE-2022-46179
- CVSS v3
- 9.2 Critical
- Public exploits
- None known
- EPSS
- 0.003 · 28.0th percentile
- Published
- 2022-12-28
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.2 (Critical). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.003, 28.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Liuos Project — versions 0.1.0
- Liuwoodscode Liuos — versions <= 0.1.0
Weakness classification (CWE)
References
- https://github.com/LiuWoodsCode/LiuOS/security/advisories/GHSA-f9x3-mj2r-cqmf (Exploit, Third Party Advisory)
- https://github.com/LiuWoodsCode/LiuOS/commit/c658b4f3e57258acf5f6207a90c2f2169698ae22 (Patch, Third Party Advisory)