🔍 CVE-2026-28279

7.3
CVSS Score
HIGH
2026-02-26
2026-06-17 10:28
✅ 완료

🇰🇷 한글 설명

osctrl 0.5.0 미만 버전의 osctrl-admin 환경 설정에서 OS 명령 주입 취약점이 발견되었습니다. 인증된 관리자가 hostname 파라미터를 통해 임의의 셸 명령을 주입할 수 있으며, 이는 해당 환경을 사용하는 모든 엔드포인트에서 root/SYSTEM 권한으로 실행됩니다. 이 취약점은 Go의 text/template 패키지가 셸 이스케이프를 수행하지 않아 발생하며, v0.5.0에서 수정되었습니다.

💡 쉬운 설명

관리자 권한을 가진 공격자가 시스템 이름을 조작하여 연결되는 모든 컴퓨터에 악성 명령을 내릴 수 있는 보안 결함입니다. 이 명령은 컴퓨터의 가장 높은 권한으로 실행되어 시스템 전체를 장악할 수 있습니다.

🇺🇸 원문 (English)

osctrl is an osquery management solution. Prior to version 0.5.0, an OS command injection vulnerability exists in the `osctrl-admin` environment configuration. An authenticated administrator can inject arbitrary shell commands via the hostname parameter when creating or editing environments. These commands are embedded into enrollment one-liner scripts generated using Go's `text/template` package (which does not perform shell escaping) and execute on every endpoint that enrolls using the compromised environment. An attacker with administrator access can achieve remote code execution on every endpoint that enrolls using the compromised environment. Commands execute as root/SYSTEM (the privilege level used for osquery enrollment) before osquery is installed, leaving no agent-level audit trail. This enables backdoor installation, credential exfiltration, and full endpoint compromise. This is fixed in osctrl `v0.5.0`. As a workaround, restrict osctrl administrator access to trusted personnel, review existing environment configurations for suspicious hostnames, and/or monitor enrollment scripts for unexpected commands.

📍 영향받는 시스템

osctrl versions prior to 0.5.0

⚔️ 공격 벡터

Authenticated administrator injecting shell commands via the 'hostname' parameter in environment configuration

🛡️ 대응 방법

Update osctrl to version 0.5.0 or later, restrict administrator access, and monitor enrollment scripts

🔧 검증 코드

출력된 버전이 v0.5.0 이상인지 확인하여 취약점 여부를 판단합니다.

Shell / Script
osctrl --version 2>/dev/null | grep -E 'v0\.[5-9]\.|v[1-9]\.' || echo 'Version check required'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

Azure Monitor Agent