🇰🇷 한글 설명
dataCycle-CORE의 문서 및 정적 마크다운 렌더러가 공격자가 제어하는 경로 세그먼트를 받아들이며, Rails HTML 새니타이저만 거쳐 디렉터리 순회 시퀀스(../)가 제거되지 않습니다. 이로 인해 인증되지 않은 공격자가 docs 또는 static 디렉터리를 벗어나 애플리케이션 루트나 엔진 루트의 임의 .md 파일을 렌더링할 수 있습니다. 25.07.3 이하 버전에 영향을 주며 26.06.08 버전에서 수정되었습니다.
💡 쉬운 설명
인터넷에서 누구나 로그인 없이 서버 안의 문서 파일 경로를 조작해 원래 열면 안 되는 파일의 내용을 볼 수 있는 취약점입니다. 설정이나 내부 문서 등 민감한 정보가 노출될 수 있습니다.
🇺🇸 원문 (English)
dataCycle is a data management system for centrally storing, managing, searching, finding, and distributing data. In dataCycle-CORE, the module handling core processing and framework rules, before and including version 25.07.3, the documentation and static markdown renderer accepts attacker-controlled path segments and only runs them through the Rails HTML sanitizer, which does not remove directory traversal sequences. An unauthenticated attacker can traverse out of the intended `docs` or `static` directories and render arbitrary `.md` files from the application root or engine root. This is patched in version 26.06.08.
📍 영향받는 시스템
dataCycle-CORE 25.07.3 이하 버전 (26.06.08 이상에서 수정됨)
⚔️ 공격 벡터
인증 없이 문서/정적 페이지 요청의 경로 부분에 ../ 같은 디렉터리 순회 시퀀스를 넣어 애플리케이션 내 임의의 .md 파일을 읽어내는 방식
🛡️ 대응 방법
dataCycle-CORE를 26.06.08 이상 버전으로 업데이트하고, 업데이트 전에는 문서/정적 렌더링 경로를 외부에 노출하지 않도록 접근을 제한
🔧 검증 코드
출력된 dataCycle-CORE 버전이 25.07.3 이하이면 취약하며, 26.06.08 이상이면 패치된 것입니다. 결과가 없으면 해당 Gemfile 경로나 설치 위치를 확인해야 합니다.
grep -rn 'dataCycle' Gemfile.lock 2>/dev/null | head -5