🇰🇷 한글 설명
Part-DB 2.13.3 미만 버전에서 HTTP Host 헤더 검증 부재로 인해 발생하는 취약점입니다. 공격자가 조작된 Host 헤더를 사용하여 비밀번호 재설정 링크를 생성하게 함으로써, 사용자가 링크를 클릭할 때 유효한 재설정 토큰을 탈취하여 계정을 탈취할 수 있습니다.
💡 쉬운 설명
비밀번호를 찾을 때 전송되는 이메일 링크의 주소를 해커가 마음대로 조작할 수 있는 문제입니다. 해커는 이 방법을 통해 사용자의 비밀번호 재설정 권한을 가로채고 계정을 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
Part-DB is an open source inventory management system for electronic components. Prior to version 2.13.3, Part-DB builds the absolute URL of the password-reset link it emails to a user from the client-supplied HTTP Host header, with no trusted-host validation. An unauthenticated attacker who submits a forgot-password request for a known account while sending a spoofed Host header causes Part-DB to email that account a reset link whose hostname is attacker-controlled, while still embedding the genuine reset token. When the victim opens the link (or an automated inbound mail-security scanner dereferences it), the valid token is disclosed to the attacker, who replays it against the real instance to set a new password and take over the account. Because the seeded admin account can be targeted, this yields full pre-authentication administrative account takeover. This issue has been patched in version 2.13.3.
📍 영향받는 시스템
Part-DB 버전 2.13.3 미만
⚔️ 공격 벡터
조작된 HTTP Host 헤더를 이용한 비밀번호 재설정 링크 생성 및 토큰 탈취
🛡️ 대응 방법
Part-DB를 최신 버전인 2.13.3 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 2.13.3보다 낮은지 확인하십시오.
python3 -c "import partdb; print(partdb.__version__)" 2>/dev/null || echo 'Version check failed'