🇰🇷 한글 설명
SQLAdmin 0.25.1 미만 버전의 application.py 내 ajax_lookup 엔드포인트에서 접근 제어 검사(is_accessible)가 누락되는 취약점이 발견되었습니다. 개발자가 특정 모델에 대한 접근을 제한하더라도, 인증된 사용자는 해당 엔드포인트를 통해 제한된 모델의 데이터를 조회할 수 있습니다.
💡 쉬운 설명
관리자 페이지의 특정 기능이 보안 검사를 건너뛰는 결함이 있습니다. 이로 인해 권한이 없는 사용자도 허가되지 않은 데이터베이스 정보를 몰래 들여다볼 수 있습니다.
🇺🇸 원문 (English)
SQLAdmin is a flexible Admin interface for SQLAlchemy models. Prior to version 0.25.1, the ajax_lookup endpoint in application.py bypasses the is_accessible() access control check that all other endpoints enforce. If a developer restricts model access by overriding is_accessible(), an authenticated user can still query that model's data through the ajax_lookup endpoint — silently bypassing the restriction. This issue has been patched in version 0.25.1.
📍 영향받는 시스템
SQLAdmin versions prior to 0.25.1
⚔️ 공격 벡터
인증된 사용자가 취약한 ajax_lookup 엔드포인트에 요청을 보내 접근 제한을 우회하여 데이터 조회
🛡️ 대응 방법
SQLAdmin을 버전 0.25.1 이상으로 업데이트
🔧 검증 코드
출력된 Version 값이 0.25.1보다 낮으면 취약한 상태이며, 0.25.1 이상이면 안전합니다.
pip show sqladmin | grep Version