🇰🇷 한글 설명
PhpMyAdmin 2.9.1.1 이전 버전에서 직접 요청이나 다양한 파라미터(lang[], target[], db[] 등)를 통해 서버의 전체 경로를 노출할 수 있는 정보 공개 취약점입니다. check_lang.php, layout.inc.php, index.php 등 여러 파일이 영향을 받습니다.
💡 쉬운 설명
PhpMyAdmin 관리 도구에서 서버 내부 파일 경로를 누구나 알아낼 수 있는 문제입니다. 이 정보는 더 심각한 공격을 준비하는 데 사용될 수 있습니다.
🇺🇸 원문 (English)
PhpMyAdmin before 2.9.1.1 allows remote attackers to obtain the full server path via direct requests to (a) scripts/check_lang.php and (b) themes/darkblue_orange/layout.inc.php; and via the (1) lang[], (2) target[], (3) db[], (4) goto[], (5) table[], and (6) tbl_group[] array arguments to (c) index.php, and the (7) back[] argument to (d) sql.php; and an invalid (8) sort_by parameter to (e) server_databases.php and (9) db parameter to (f) db_printview.php.
📍 영향받는 시스템
PhpMyAdmin < 2.9.1.1
⚔️ 공격 벡터
scripts/check_lang.php, themes/darkblue_orange/layout.inc.php로 직접 접근 또는 index.php, sql.php, server_databases.php, db_printview.php의 배열 파라미터 조작
🛡️ 대응 방법
PhpMyAdmin을 2.9.1.1 이상으로 업그레이드하거나 다음 파일들에 직접 접근 제한을 적용
🔧 검증 코드
설치된 phpmyadmin의 버전을 확인합니다. 2.9.1.1 미만이면 취약함. 패키지가 없으면 설치되지 않은 상태입니다.
dpkg -l 2>/dev/null | grep phpmyadmin | awk '{print $2, $3}' || echo 'Not installed'