🇰🇷 한글 설명
Flowise 3.1.3 미만 버전의 SQLite Record Manager 노드에서 사용자 제어 가능한 additionalConfig 설정이 데이터베이스 경로를 덮어쓸 수 있는 취약점이 발견되었습니다. 인증된 공격자가 루트 권한으로 실행되는 Docker 환경을 이용해 임의의 경로에 SQLite 파일을 생성하고, 이를 통해 Chromium 실행 시 셸 명령어가 실행되도록 유도할 수 있습니다.
💡 쉬운 설명
Flowise라는 프로그램의 설정 오류를 이용해 해커가 컴퓨터의 중요한 설정 파일을 조작할 수 있는 문제입니다. 이를 통해 해커가 원하는 명령어를 몰래 실행하여 시스템을 장악할 위험이 있습니다.
🇺🇸 원문 (English)
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, the SQLite Record Manager node in packages/components/nodes/recordmanager/SQLiteRecordManager/SQLiteRecordManager.ts accepted user-controlled additionalConfig and spread it after the intended database setting, allowing additionalConfig.database to overwrite the SQLite database path. An authenticated attacker using the published Docker image, which ran as root, could write a SQLite database to paths such as /etc/chromium/exploit.conf; by controlling the table name and namespace value, the attacker could place shell syntax into the database file and trigger execution when Puppeteer launched Chromium and sourced /etc/chromium/*.conf. This issue is fixed in version 3.1.3.
📍 영향받는 시스템
Flowise version < 3.1.3
⚔️ 공격 벡터
인증된 공격자가 SQLite 데이터베이스 경로를 조작하여 시스템 설정 파일에 악성 셸 구문을 삽입하는 방식
🛡️ 대응 방법
Flowise를 최신 버전인 3.1.3 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 3.1.3 미만인지 확인하여 취약 여부를 판단합니다.
npm list flowise | grep flowise