🇰🇷 한글 설명
Backstage의 @backstage/plugin-techdocs-node 패키지에서 markdown_extensions 설정 검증 미흡으로 인해 발생하는 취약점입니다. 인증된 공격자가 SCM 기반 문서 소스에 영향을 줄 수 있다면, TechDocs의 샌드박스 검증을 우회하여 런타임 중 임의의 파이썬 객체를 생성하고 임의 코드를 실행할 수 있습니다.
💡 쉬운 설명
개발자 포털 도구인 Backstage에서 문서 설정 파일을 조작하여 해커가 서버에서 몰래 명령어를 실행할 수 있는 보안 구멍이 발견되었습니다. 공격자가 문서를 수정할 권한이 있다면 시스템 전체를 장악할 위험이 있습니다.
🇺🇸 원문 (English)
Backstage is an open framework for building developer portals. Prior to 1.14.8, 1.15.6, and 2.0.1, the @backstage/plugin-techdocs-node package improperly validated mapping-style markdown_extensions configuration. An authenticated attacker who can register or influence an SCM-backed documentation source may bypass TechDocs sanitization and cause Python objects to be imported and instantiated in the generator runtime, leading to arbitrary code execution. Earlier fixes in versions 1.14.6 and 1.15.4 did not fully address the supported mapping representation of markdown_extensions. Impact is greatest when documentation generation runs with backend credentials, filesystem access, or internal network access. This issue is fixed in versions 1.14.8, 1.15.6, and 2.0.1.
📍 영향받는 시스템
Backstage versions prior to 1.14.8, 1.15.6, and 2.0.1
⚔️ 공격 벡터
SCM(소스 코드 관리) 기반 문서 소스의 markdown_extensions 설정을 조작하여 파이썬 객체 주입
🛡️ 대응 방법
Backstage를 버전 1.14.8, 1.15.6 또는 2.0.1 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 패키지 버전이 1.14.8, 1.15.6, 2.0.1 중 하나보다 낮은지 확인하십시오.
npm list @backstage/plugin-techdocs-node