🇰🇷 한글 설명
Yamcs 미션 컨트롤 프레임워크의 Python 알고리즘 평가 엔진에서 보안 샌드박스가 적용되지 않는 취약점이 발견되었습니다. ChangeMissionDatabase 권한을 가진 인증된 사용자가 REST API를 통해 Python 알고리즘 로직을 조작하고 임의의 Java 클래스를 실행하여 호스트 운영체제에서 원격 코드 실행(RCE)을 달성할 수 있습니다.
💡 쉬운 설명
시스템 관리 권한을 가진 사용자가 프로그램의 계산 규칙을 몰래 바꿔서 컴퓨터 전체를 마음대로 조종할 수 있는 보안 구멍이 발견되었습니다. 이로 인해 해커가 서버에 침입하여 명령을 내릴 위험이 있습니다.
🇺🇸 원문 (English)
Yamcs is a mission control framework. Prior to 5.12.7, the Yamcs script evaluation engine for Python algorithms dynamically compiled and evaluated user-controlled algorithm text using Jython through the JSR-223 ScriptEngine API without enforcing a secure sandbox, so an authenticated user with the ChangeMissionDatabase privilege could override an existing Python algorithm's logic through the mission database REST API and import and execute arbitrary Java classes such as java.lang.Runtime to achieve remote code execution on the underlying host operating system. This issue is fixed in versions 5.12.7 and 5.13.0, which disable algorithm editing by default.
📍 영향받는 시스템
Yamcs 5.12.7 미만 버전
⚔️ 공격 벡터
인증된 사용자가 REST API를 통해 Python 알고리즘 텍스트를 조작하고 Java 클래스를 호출하여 공격
🛡️ 대응 방법
Yamcs를 5.12.7 또는 5.13.0 이상의 버전으로 업데이트하여 알고리즘 편집 기능을 비활성화함
🔧 검증 코드
명령어 실행 결과에 5.12.7 이상의 버전 정보가 나타나면 취약점이 해결된 상태입니다.
curl -s http://<target_ip>:<port>/api/version | grep -E '5\.(12\.[7-9]|[1-9][0-9]\..*)|5\.13\.'