🇰🇷 한글 설명
Appsmith 2.1 미만 버전에서 발생하는 취약점으로, 관리자 권한을 가진 사용자가 XML-RPC 인터페이스를 통해 컨테이너 내부에서 임의의 OS 명령어를 실행할 수 있습니다. 이는 환경 변수 노출과 역방향 프록시 설정을 통해 공격자가 supervisord에 접근할 수 있기 때문에 발생합니다.
💡 쉬운 설명
관리자 권한을 가진 사람이 시스템의 통제권을 완전히 뺏을 수 있는 보안 구멍이 발견되었습니다. 공격자가 이 구멍을 이용하면 서버 내부에서 마음대로 명령을 내릴 수 있습니다.
🇺🇸 원문 (English)
Appsmith is a platform to build admin panels, internal tools, and dashboards. Prior to 2.1, Appsmith's bundled supervisord exposes an XML-RPC interface on port 9001, reachable from outside the container via a Caddy reverse-proxy route at /supervisor/* on the public ingress. Combined with the APPSMITH_SUPERVISOR_PASSWORD exposed via GET /api/v1/admin/env, any authenticated administrator can send arbitrary XML-RPC calls to supervisord and execute OS commands inside the Docker container via twiddler.addProgramToGroup. This vulnerability is fixed in 2.1.
📍 영향받는 시스템
Appsmith versions prior to 2.1
⚔️ 공격 벡터
인증된 관리자가 노출된 환경 변수를 이용해 XML-RPC 인터페이스로 OS 명령어 실행
🛡️ 대응 방법
Appsmith를 2.1 버전 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
명령어 결과에 APPSMITH_SUPERVISOR_PASSWORD 값이 출력된다면 해당 취약점에 노출된 상태입니다.
curl -s http://<appsmith-host>/api/v1/admin/env | grep -i 'APPSMITH_SUPERVISOR_PASSWORD'