🇰🇷 한글 설명
Audiobookshelf는 자체 호스팅 오디오북 및 팟캐스트 서버입니다. 2.33.0 이전 버전에서는 /api/auth-settings 엔드포인트의 authLoginCustomMessage 필드가 적절히 검증되지 않아 로그인 페이지에 저장형 XSS 취약점이 존재합니다. 관리자 권한을 가진 공격자는 임의의 HTML/JavaScript를 삽입할 수 있으며, 이는 모든 사용자의 로그인 페이지에 렌더링됩니다. 이 취약점은 2.33.0 버전에서 수정되었습니다.
💡 쉬운 설명
관리자 권한을 가진 사람이 로그인 화면에 악성 코드를 심을 수 있는 문제입니다. 이후 모든 사용자가 로그인할 때 그 코드가 실행될 수 있습니다.
🇺🇸 원문 (English)
Audiobookshelf is a self-hosted audiobook and podcast server. Prior to 2.33.0, a stored cross-site scripting (XSS) vulnerability exists in the Login Page due to improper sanitization of the authLoginCustomMessage field of the /api/auth-settings endpoint. An attacker with administrative privileges can inject arbitrary HTML/JavaScript that will be rendered on the login page for all users. This vulnerability is fixed in 2.33.0.
📍 영향받는 시스템
Audiobookshelf 2.33.0 미만 버전
⚔️ 공격 벡터
관리자 계정으로 로그인 메시지 설정에 악성 스크립트를 저장하여 모든 사용자의 로그인 페이지에서 실행되도록 함
🛡️ 대응 방법
Audiobookshelf를 2.33.0 이상으로 업데이트
🔧 검증 코드
출력된 version 값이 2.33.0 미만이면 취약하고, 2.33.0 이상이면 패치된 버전입니다.
docker exec audiobookshelf cat /app/package.json 2>/dev/null | grep '"version"'