🇰🇷 한글 설명
OpenChamber 1.11.7 버전에서 인증 없이 원격 코드 실행이 가능한 취약점이 발견되었습니다. 공격자가 /api/fs/exec 엔드포인트로 조작된 POST 요청을 보내면, Node.js의 spawn() 함수가 검증 없이 명령어를 실행하여 임의의 쉘 명령어를 수행할 수 있습니다. 특히 UI_PASSWORD가 설정되지 않은 기본 Docker 배포 환경에서는 인증 미들웨어가 무력화되어 공격자가 OS 명령어를 실행하고 그 결과를 탈취할 수 있습니다.
💡 쉬운 설명
해커가 아이디나 비밀번호 없이도 서버에 직접 명령을 내려 컴퓨터를 마음대로 조종할 수 있는 심각한 보안 구멍입니다. 특히 초기 설정 그대로 사용하는 경우, 해커가 서버의 모든 정보를 빼가거나 명령을 내릴 수 있습니다.
🇺🇸 원문 (English)
OpenChamber 1.11.7 contains an unauthenticated remote code execution vulnerability that allows remote attackers to execute arbitrary shell commands by sending crafted POST requests to the /api/fs/exec endpoint, which passes commands verbatim to Node.js spawn() without any allowlist, blocklist, or argument validation. The authentication middleware becomes a no-op when UI_PASSWORD is not configured, matching the default Docker deployment, enabling attackers to execute arbitrary OS commands as the application user and retrieve full command output including stdout, stderr, and exit code from the server response.
📍 영향받는 시스템
OpenChamber 1.11.7 (특히 UI_PASSWORD가 설정되지 않은 Docker 배포 환경)
⚔️ 공격 벡터
인증되지 않은 상태에서 /api/fs/exec 엔드포인트로 조작된 POST 요청 전송
🛡️ 대응 방법
UI_PASSWORD를 반드시 설정하여 인증을 활성화하고, 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 실행 결과로 uid 또는 gid 정보가 포함된 사용자 정보가 출력되면 취약한 상태입니다.
curl -s -X POST http://<TARGET_IP>/api/fs/exec -d '{"command":"id"}' | grep -E 'uid=|gid='
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server