🇰🇷 한글 설명
Courier Authentication Library 0.60.6 이전 버전에서 MySQL과 non-Latin 문자 집합 사용 시 username 및 기타 입력값의 부적절한 처리로 인해 SQL injection 취약점이 발생합니다. 원격 공격자는 이 취약점을 통해 인증 시스템을 우회하여 임의의 SQL 명령어를 실행할 수 있습니다.
💡 쉬운 설명
사용자명을 입력받을 때 특수 문자를 제대로 필터링하지 않아, 공격자가 SQL 명령어를 섞어서 보낼 수 있습니다. 이를 통해 공격자가 데이터베이스를 조작하거나 사용자 정보를 탈취할 수 있습니다.
🇺🇸 원문 (English)
SQL injection vulnerability in the Courier Authentication Library (aka courier-authlib) before 0.60.6 on SUSE openSUSE 10.3 and 11.0, and other platforms, when MySQL and a non-Latin character set are used, allows remote attackers to execute arbitrary SQL commands via the username and unspecified other vectors.
📍 영향받는 시스템
Courier-authlib < 0.60.6, SUSE openSUSE 10.3/11.0, MySQL 기반 인증 시스템
⚔️ 공격 벡터
HTTP POST 요청의 username 필드에 SQL 구문을 삽입하여 데이터베이스 쿼리 조작
🛡️ 대응 방법
Courier-authlib를 0.60.6 이상으로 업그레이드하고 입력값 검증 및 prepared statement 사용 확인
🔧 검증 코드
표시된 버전이 0.60.6 이상이면 안전, 미만이면 업그레이드 필요
dpkg -l | grep courier-authlib | awk '{print $3}'