🇰🇷 한글 설명
Backstage의 @backstage/plugin-techdocs-node 패키지에서 로컬 TechDocs 게시자를 사용할 때 파일 노출 취약점이 발견되었습니다. 인증된 사용자가 문서 서빙 엔드포인트를 통해 의도된 문서 디렉터리 외부의 호스트 파일을 참조할 수 있습니다. 이 문제는 버전 1.15.4에서 수정되었습니다.
💡 쉬운 설명
개발자 포털인 Backstage에서 문서를 보여주는 기능의 허점을 이용해, 허용되지 않은 컴퓨터 내부 파일이 유출될 수 있는 문제입니다. 다만 일반적인 문서 생성 방식으로는 발생하기 어렵고 특정 조건이 필요합니다.
🇺🇸 원문 (English)
Backstage is an open framework for building developer portals. Prior to 1.15.4, the @backstage/plugin-techdocs-node package is affected by potential file exposure through local techdocs publisher. When using the local TechDocs publisher (techdocs.publisher.type: 'local'), it was possible for the documentation serving endpoint to follow filesystem references outside the intended documentation tree, potentially exposing host files to authenticated users. This is mitigated by the fact that exploration requires preconditions that do not arise through normal MkDocs operation. Cloud-based publishers (S3, GCS, Azure Blob Storage) are not affected. This issue is fixed in version 1.15.4.
📍 영향받는 시스템
Backstage @backstage/plugin-techdocs-node (version < 1.15.4)
⚔️ 공격 벡터
로컬 TechDocs 게시자 사용 시 문서 경로를 조작하여 파일 시스템 외부 참조 유도
🛡️ 대응 방법
Backstage를 버전 1.15.4 이상으로 업데이트
🔧 검증 코드
출력된 버전이 1.15.4 미만인지 확인하여 취약 여부를 판단합니다.
npm list @backstage/plugin-techdocs-node