🇰🇷 한글 설명
Oracle MySQL 5.5.28이 Windows C:\ 최상위 디렉토리에 설치되었을 때, MySQL 바이너리 디렉토리가 PATH에 포함되면 동일 경로의 악의적 DLL이 먼저 로드되어 권한 상승을 초래할 수 있는 DLL 주입 취약점입니다. 이는 관리자의 별도 설정이 필요하므로 기본 설치에서는 발생하지 않습니다.
💡 쉬운 설명
Windows에서 MySQL 설치 폴더가 시스템 경로에 등록되었을 때, 악의적인 DLL을 같은 폴더에 놓으면 악성 프로그램이 실행될 수 있습니다. 이는 관리자가 특정 설정을 한 경우에만 발생합니다.
🇺🇸 원문 (English)
Untrusted search path vulnerability in the installation functionality in Oracle MySQL 5.5.28, when installed in the top-level C:\ directory, might allow local users to gain privileges via a Trojan horse DLL in the "C:\MySQL\MySQL Server 5.5\bin" directory, which may be added to the PATH system environment variable by an administrator, as demonstrated by a Trojan horse wlbsctrl.dll file used by the "IKE and AuthIP IPsec Keying Modules" system service in Windows Vista SP1, Windows Server 2008 SP2, Windows 7 SP1, and Windows 8 Release Preview. NOTE: CVE disputes this issue because the unsafe PATH is established only by a separate administrative action that is not a default part of the MySQL installation
📍 영향받는 시스템
Oracle MySQL 5.5.28 (Windows Vista SP1, Windows Server 2008 SP2, Windows 7 SP1, Windows 8 Release Preview에 설치된 경우)
⚔️ 공격 벡터
MySQL 바이너리 디렉토리가 PATH에 등록되었을 때, 로컬 공격자가 같은 디렉토리에 악의적 DLL을 배치하여 시스템 서비스 재시작 시 로드
🛡️ 대응 방법
MySQL을 기본 경로가 아닌 다른 위치에 설치하거나 MySQL 디렉토리를 PATH 환경 변수에서 제거하며, 최신 보안 패치 적용
🔧 검증 코드
mysql이 출력되지 않으면 안전한 상태이며, mysql 경로가 표시되면 PATH에 MySQL이 등록되어 취약한 상태입니다.
echo %PATH% | findstr /I mysql || echo MySQL not in PATH