🇰🇷 한글 설명
phpMyAdmin의 쿠키 암호화 메커니즘이 패딩 오라클 공격에 취약하여, 브라우저 쿠키 파일에 접근한 공격자가 사용자명과 비밀번호를 복호화할 수 있습니다. 동일한 초기화 벡터(IV)가 사용자명과 비밀번호 해싱에 재사용되어 보안이 추가로 약해집니다.
💡 쉬운 설명
phpMyAdmin이 사용자 정보를 저장하는 브라우저 쿠키의 암호화가 약해서, 컴퓨터에 접근한 사람이 특별한 기술로 저장된 아이디와 비밀번호를 알아낼 수 있습니다. 패딩 오라클이라는 암호화 약점을 이용하는 공격입니다.
🇺🇸 원문 (English)
An issue was discovered in cookie encryption in phpMyAdmin. The decryption of the username/password is vulnerable to a padding oracle attack. This can allow an attacker who has access to a user's browser cookie file to decrypt the username and password. Furthermore, the same initialization vector (IV) is used to hash the username and password stored in the phpMyAdmin cookie. If a user has the same password as their username, an attacker who examines the browser cookie can see that they are the same - but the attacker can not directly decode these values from the cookie as it is still hashed. All 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17) are affected.
📍 영향받는 시스템
phpMyAdmin 4.0.x (4.0.10.17 이전), 4.4.x (4.4.15.8 이전), 4.6.x (4.6.4 이전)
⚔️ 공격 벡터
공격자가 사용자 브라우저의 쿠키 파일에 접근한 후 패딩 오라클 공격으로 암호화된 자격증명을 복호화
🛡️ 대응 방법
phpMyAdmin을 패치된 버전으로 업그레이드 (4.0.10.17 이상, 4.4.15.8 이상, 4.6.4 이상)
🔧 검증 코드
설치된 phpMyAdmin 버전이 4.0.10.17, 4.4.15.8, 4.6.4 이상이면 안전하며, 그 이하이면 즉시 업그레이드 필요
dpkg -l 2>/dev/null | grep phpmyadmin || find /usr/share -name 'VERSION' -path '*/phpmyadmin/*' 2>/dev/null | xargs cat 2>/dev/null