🇰🇷 한글 설명
NocoBase의 @nocobase/plugin-backups 플러그인에서 발생하는 취약점으로, PostgreSQL 백업 복구 과정 중 _metadata.json의 데이터베이스 스키마 값을 쉘 명령에 직접 삽입하여 발생합니다. 백업 관리 권한을 가진 사용자가 조작된 백업 파일을 사용하여 NocoBase 서버 프로세스 권한으로 임의의 명령을 실행할 수 있습니다.
💡 쉬운 설명
백업 파일을 복구할 때 파일 안에 숨겨진 악성 명령어가 서버에서 실행될 수 있는 보안 약점입니다. 공격자가 가짜 백업 파일을 통해 서버의 제어권을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to 2.1.19, NocoBase @nocobase/plugin-backups restored PostgreSQL backups by interpolating the database.schema value from _metadata.json into shell command strings executed with Node.js child_process.exec(), allowing a backup-management user restoring a crafted backup to execute commands as the NocoBase server process. This vulnerability is fixed in 2.1.19.
📍 영향받는 시스템
NocoBase 2.1.19 미만 버전 (@nocobase/plugin-backups 플러그인 포함)
⚔️ 공격 벡터
조작된 _metadata.json 파일을 포함한 백업 파일을 업로드하여 복구 프로세스를 실행함으로써 명령 주입(Command Injection) 공격 수행
🛡️ 대응 방법
NocoBase를 최신 보안 패치가 적용된 2.1.19 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 2.1.19 미만인지 확인하여 취약 여부를 판단합니다.
npm list @nocobase/plugin-backups
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server