🇰🇷 한글 설명
phpMyAdmin의 Synchronize 기능에서 정규식을 부적절하게 처리하여 PCRE e 수정자 주입이 가능합니다. 인증된 사용자가 SESSION 배열을 조작하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
phpMyAdmin의 동기화 기능에 버그가 있어서 로그인한 사용자가 악의적인 코드를 실행할 수 있습니다. 공격자는 프로그램의 메모리 영역을 조작하여 원하는 명령을 실행합니다.
🇺🇸 원문 (English)
libraries/server_synchronize.lib.php in the Synchronize implementation in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 does not properly quote regular expressions, which allows remote authenticated users to inject a PCRE e (aka PREG_REPLACE_EVAL) modifier, and consequently execute arbitrary PHP code, by leveraging the ability to modify the SESSION superglobal array.
📍 영향받는 시스템
phpMyAdmin 3.x (3.3.10.2 이전), 3.4.x (3.4.3.1 이전)
⚔️ 공격 벡터
인증된 사용자가 SESSION 슈퍼글로벌을 수정하여 PREG_REPLACE_EVAL 수정자를 주입하는 방식
🛡️ 대응 방법
phpMyAdmin을 3.3.10.2 또는 3.4.3.1 이상으로 업그레이드
🔧 검증 코드
표시된 버전이 3.3.10.2 미만 또는 3.4.0~3.4.3.0 범위이면 취약함
dpkg -l phpmyadmin 2>/dev/null | grep -oP '\d+\.\d+\.\d+' | head -1