🔍 CVE-2026-88062

0.0
CVSS Score
UNKNOWN
2026-09-10
2026-09-30 19:57
✅ 완료

🇰🇷 한글 설명

OmniRoute 3.8.49 및 이전 버전의 POST /api/acp/agents 엔드포인트에서 발생하는 취약점으로, 공격자가 제어하는 바이너리 및 버전 명령어를 통해 임의의 코드를 실행할 수 있습니다. 인증 설정이 비활성화되어 있거나 초기 부트스트랩 단계인 경우, 원격의 익명 사용자가 서버 컨테이너 내에서 명령어를 실행할 수 있습니다.

💡 쉬운 설명

AI 게이트웨이 프로그램의 설정 오류로 인해, 해커가 허가되지 않은 명령어를 서버에 직접 입력하여 컴퓨터를 마음대로 조종할 수 있는 보안 구멍이 발견되었습니다. 특히 로그인 기능이 꺼져 있는 상태에서는 누구나 이 공격을 시도할 수 있어 위험합니다.

🇺🇸 원문 (English)

OmniRoute is an open-source AI gateway providing a single endpoint for multiple model providers. In 3.8.49 and earlier, the OmniRoute POST /api/acp/agents custom ACP agent endpoint accepted attacker-controlled binary and versionCommand values and used only a self-consistency check before execFileSync executed the selected interpreter and arguments. The same request called refreshAgentCache, and resolveVersionProbe accepted the matched command before the execFileSync sink ran it. The tokenizeVersionCommand function and DISALLOWED_VERSION_COMMAND_CHARS filter rejected a limited set of shell metacharacters but still allowed interpreter evaluation arguments. The isAuthenticated function relied on isAuthRequired, which accepted anonymous requests when requireLogin was false, while api/acp/ was absent from LOCAL_ONLY_API_PREFIXES and SPAWN_CAPABLE_PREFIXES. With requireLogin=false or during a fresh-instance bootstrap window, a remote anonymous request could supply an interpreter evaluation argument and execute arbitrary code in the server container. With requireLogin=true and a configured management password, exploitation instead required a management session or management-scoped API key. No fixed version is available as of this review.

📍 영향받는 시스템

OmniRoute 3.8.49 및 그 이전 모든 버전

⚔️ 공격 벡터

인증이 필요 없는 API 엔드포인트에 조작된 명령어를 포함한 POST 요청을 전송하여 원격 코드 실행(RCE)

🛡️ 대응 방법

해당 취약점이 해결된 패치 버전이 출시될 때까지 API 접근 권한을 엄격히 제한하고, requireLogin 설정을 반드시 true로 유지하십시오.

🔧 검증 코드

명령어 실행 결과로 시스템의 사용자 ID(uid)나 그룹 ID(gid) 정보가 출력된다면 취약한 상태입니다.

Shell / Script
curl -s -X POST http://<target-ip>/api/acp/agents -d '{"versionCommand": "id"}' | grep -E 'uid=|gid='

💻 영향받는 소프트웨어

Spring Cloud Gateway Server