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

Critical 9.2 Published Updated

Attackers can bypass authentication in LiuOS by setting the GITHUB_ACTIONS environment variable to an unexpected value, allowing unauthorized access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-46179?

CVE-2022-46179 is a critical authentication bypass vulnerability in LiuWoodsCode LiuOS, published on 28 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-639

Which versions are affected by CVE-2022-46179?

It affects 1 product.

Products include Liuos Project Liuos.

How do I fix CVE-2022-46179?

No fix has been published for CVE-2022-46179 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2022-46179 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-46179 exists.

Sources

Also known as GHSA-f9x3-mj2r-cqmf.

Is CVE-2022-46179 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free