SecurityContext

CVE-2022-46179: LiuOS - Authentication Bypass

  • Cve: CVE-2022-46179
  • Name: LiuOS - Authentication Bypass
  • 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.
  • Impact: Attackers can bypass authentication, potentially gaining unauthorized access to the system.
  • Remediation: Update to the latest commit (c658b4f3e57258acf5f6207a90c2f2169698ae22) which enforces proper validation of the environment variable.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00341
  • Epss percentile: 0.27872
  • Assignee: [email protected]
  • Published at: 2022-12-28T08:15:08Z
  • Age in days: 1427
  • Modified at: 2026-06-17T05:11:22Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-46179
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-639Authorization Bypass Through User-Controlled Key

Public exploits

UrlSourceAdded date
https://github.com/LiuWoodsCode/LiuOS/security/advisories/GHSA-f9x3-mj2r-cqmfnvd2022-12-28

References

UrlSourceTags
https://github.com/LiuWoodsCode/LiuOS/commit/c658b4f3e57258acf5f6207a90c2f2169698ae22nvdPatch, Third Party Advisory
https://github.com/LiuWoodsCode/LiuOS/security/advisories/GHSA-f9x3-mj2r-cqmfnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
liuos_project:liuos= 0.1.0nonvd/v1/products/liuos_project/liuos

Projects

RepositoryLink kindsIndexedUrl
LiuWoodsCode/LiuOScommit, fix, security_advisoryyes/v1/repositories/LiuWoodsCode/LiuOS

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-12-28
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts