🇰🇷 한글 설명
Qinglong 플랫폼의 초기화 가드 미들웨어가 /open/user/init 경로에 대한 인증 검사를 누락하여 발생하는 취약점입니다. 인증되지 않은 공격자가 해당 경로로 PUT 요청을 보내 관리자 자격 증명을 초기화할 수 있습니다. 이 문제는 2.20.1 버전에서 수정되었습니다.
💡 쉬운 설명
로그인하지 않은 외부인이 관리자 비밀번호를 마음대로 바꿀 수 있는 보안 구멍이 발견되었습니다. 이로 인해 해커가 시스템의 관리 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
Qinglong is a timed task management platform supporting Python3, JavaScript, Shell, and Typescript. Prior to 2.20.1, the init guard middleware in back/loaders/express.ts checks /api/user/init but not /open/user/init, while rewrite('/open/*', '/api/$1') rewrites the whitelisted /open/* path after JWT authentication and the guard have passed; an unauthenticated attacker can send PUT /open/user/init to reset administrator credentials on an initialized instance. This issue is fixed in 2.20.1.
📍 영향받는 시스템
Qinglong 2.20.1 미만 버전
⚔️ 공격 벡터
인증 없이 /open/user/init 경로로 PUT 요청을 전송하여 관리자 계정 초기화
🛡️ 대응 방법
Qinglong을 2.20.1 버전 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 2.20.1 이상의 버전이 표시되면 안전하며, 그 미만이면 취약합니다.
curl -s http://localhost:PORT/version | grep -E '2.20.1'