🇰🇷 한글 설명
OpenC3 COSMOS 5.1.0부터 7.3.0 버전 사이에서 인증된 비관리자 사용자가 targets_modified/ 경로에 임의의 콘텐츠를 작성하여 권한 상승 및 원격 코드 실행을 유도할 수 있는 취약점입니다. ConfigParser나 스크립트 실행기 등을 통해 작성된 코드가 내부 자격 증명과 데이터에 접근할 수 있는 높은 권한으로 실행될 수 있습니다.
💡 쉬운 설명
권한이 낮은 사용자가 시스템에 몰래 악성 코드를 심어 관리자 권한을 탈취할 수 있는 보안 결함입니다. 이 코드가 실행되면 시스템 내부의 중요한 데이터와 비밀번호가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From 5.1.0 until 7.3.0, authenticated non-administrator users can write content under targets_modified/ that is later executed by multiple configuration paths below the intended code-execution privilege tier. Table and command or telemetry definitions are processed through ConfigParser, PacketConfig, GENERIC_READ_CONVERSION, or GENERIC_WRITE_CONVERSION, allowing ERB rendering or Ruby and Python evaluation, while openc3-cosmos-script-runner-api/scripts/run_suite_analysis.rb executes suite procedure files through require. Storage uploads, screen saves, and script creation can place content in the overlay, and triggering table processing, a cmd/tlm reload, or suite analysis executes the content in cmd-tlm-api, decom microservices, or Script Runner with access to internal credentials and data. This issue is fixed in version 7.3.0.
📍 영향받는 시스템
OpenC3 COSMOS versions 5.1.0 through 7.3.0
⚔️ 공격 벡터
인증된 비관리자 사용자가 특정 경로에 악성 스크립트나 설정 파일을 업로드하여 시스템이 이를 실행하도록 유도
🛡️ 대응 방법
OpenC3 COSMOS를 최신 보안 패치가 적용된 버전인 7.3.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 7.3.0 미만(예: 5.1.0 ~ 7.2.x)이면 취약한 상태이며, 7.3.0 이상이면 안전합니다.
python3 -c 'import pkg_resources; print(pkg_resources.get_distribution("openc3-cosmos").version)' 2>/dev/null || echo 'Not installed'