CVE-2022-46179 LiuOS vulnerable to Authorization Bypass through User-Controlled Key
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| liuos project liuos | = 0.1.0 | No fix listed | Versions listed |
| LiuWoodsCode LiuOS | = <= 0.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| LiuWoodsCode LiuOS | = <= 0.1.0 | No fix listed |
| liuos project liuos | = 0.1.0 | No fix listed |
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