🇰🇷 한글 설명
Apache HTTP Server의 mod-auth-mysql 모듈에서 멀티바이트 문자 집합 지원 시 역슬래시 인코딩 처리 오류로 인해 SQL injection이 발생합니다. 로그인 요청을 통해 임의의 SQL 명령어 실행이 가능합니다.
💡 쉬운 설명
Apache 웹 서버의 로그인 기능에서 특수 문자 처리 방식 때문에 공격자가 데이터베이스를 직접 조작할 수 있게 됩니다. 특정 언어(멀티바이트 인코딩) 설정에서만 공격 가능합니다.
🇺🇸 원문 (English)
SQL injection vulnerability in mod_auth_mysql.c in the mod-auth-mysql (aka libapache2-mod-auth-mysql) module for the Apache HTTP Server 2.x, when configured to use a multibyte character set that allows a \ (backslash) as part of the character encoding, allows remote attackers to execute arbitrary SQL commands via unspecified inputs in a login request.
📍 영향받는 시스템
Apache HTTP Server 2.x + libapache2-mod-auth-mysql (버전 4.3.9 이하)
⚔️ 공격 벡터
멀티바이트 문자 집합이 활성화된 상태에서 역슬래시를 포함한 특수 입력값을 로그인 요청에 주입
🛡️ 대응 방법
mod-auth-mysql 모듈 제거 또는 보안 패치 적용 (4.3.10 이상), Apache 내장 인증 방식으로 전환 권장
🔧 검증 코드
설치된 mod-auth-mysql 버전이 표시되면 취약 상태. 4.3.10 이상이면 패치됨. 패키지가 없으면 영향 없음.
dpkg -l libapache2-mod-auth-mysql 2>/dev/null | grep libapache2 || apt-cache policy libapache2-mod-auth-mysql 2>/dev/null || rpm -qa | grep mod-auth-mysql