CVE-2022-46179
Assigner: GitHub_M
Published: 2022-12-28T07:00:37.036Z
State: PUBLISHED
title: LiuOS vulnerable to Authorization Bypass through User-Controlled Key
problemTypes: descriptions: cweId: CWE-639
description: CWE-639: Authorization Bypass Through User-Controlled Key
type: CWE
metrics: cvssV3_1: attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: HIGH
baseScore: 9.2
baseSeverity: CRITICAL
confidentialityImpact: LOW
integrityImpact: HIGH
privilegesRequired: NONE
scope: CHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H
version: 3.1
affected: vendor: LiuWoodsCode
product: LiuOS
versions: version: <= 0.1.0
status: affected
descriptions: value: 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.
source: advisory: GHSA-f9x3-mj2r-cqmf
discovery: UNKNOWN