🔍 CVE-2026-30305

9.8
CVSS Score
CRITICAL
2026-03-30
2026-04-08 16:01
✅ 완료

🇰🇷 한글 설명

Syntx의 명령 자동 승인 모듈에서 심각한 OS 커맨드 인젝션 취약점이 발견되었습니다. 화이트리스트 보안 메커니즘이 쉘 커맨드 치환 구문($(...), ``)을 제대로 처리하지 못해 무력화되며, 이를 통해 원격 코드 실행(RCE)이 가능합니다.

💡 쉬운 설명

안전한 명령어만 허용하는 필터에 허점이 있어, 나쁜 명령어를 몰래 숨겨서 보낼 수 있는 취약점입니다. 이를 통해 해커가 서버의 제어권을 완전히 획득할 수 있습니다.

🇺🇸 원문 (English)

Syntx's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanism completely ineffective. The system relies on fragile regular expressions to parse command structures; while it attempts to intercept dangerous operations, it fails to account for standard Shell command substitution syntax (specifically $(...)and backticks ...). An attacker can construct a command such as git log --grep="$(malicious_command)", forcing Syntx to misidentify it as a safe git operation and automatically approve it. The underlying Shell prioritizes the execution of the malicious code injected within the arguments, resulting in Remote Code Execution without any user interaction.

📍 영향받는 시스템

Syntx (Command Auto-approval Module)

⚔️ 공격 벡터

쉘 커맨드 치환 구문($(...), ``)을 이용한 화이트리스트 정규표현식 우회 및 명령어 삽입

🛡️ 대응 방법

취약한 정규표현식 기반 검증을 제거하고, 입력값에 대한 엄격한 검증 및 파라미터화된 API를 사용하도록 업데이트

🔧 검증 코드

Syntx 프로세스가 시스템에서 실행 중인지 확인하여 취약 대상 여부를 판단합니다.

Shell / Script
ps aux | grep -i 'syntx' | grep -v grep

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Git