🇰🇷 한글 설명
CVE-2016-9852는 phpMyAdmin의 curl wrapper 문제로, 예상치 못한 방식으로 스크립트를 호출하면 PHP 에러 메시지를 통해 phpMyAdmin 설치 경로가 노출될 수 있습니다. 내보내기 기능 중 실행 타임아웃 발생 시 전체 디렉토리 경로 정보가 내보내기 파일에 작성되어 정보 누출의 위험이 있습니다.
💡 쉬운 설명
phpMyAdmin 웹 도구에서 잘못된 방식의 요청을 하면 프로그램이 설치된 폴더 경로가 노출됩니다. 이 경로 정보는 공격자가 시스템 구조를 파악하고 추가 공격을 준비하는데 악용될 수 있습니다.
🇺🇸 원문 (English)
An issue was discovered in phpMyAdmin. By calling some scripts that are part of phpMyAdmin in an unexpected way, it is possible to trigger phpMyAdmin to display a PHP error message which contains the full path of the directory where phpMyAdmin is installed. During an execution timeout in the export functionality, the errors containing the full path of the directory of phpMyAdmin are written to the export file. All 4.6.x versions (prior to 4.6.5), and 4.4.x versions (prior to 4.4.15.9) are affected. This CVE is for the curl wrapper issue.
📍 영향받는 시스템
phpMyAdmin 4.6.x (4.6.5 이전), 4.4.x (4.4.15.9 이전) 버전
⚔️ 공격 벡터
curl wrapper를 통해 내보내기 기능을 비정상적으로 호출하여 PHP 에러 메시지 또는 내보내기 파일에서 경로 정보 추출
🛡️ 대응 방법
phpMyAdmin을 4.6.5 이상 또는 4.4.15.9 이상으로 업그레이드
🔧 검증 코드
4.6.5 미만 또는 4.4.15.9 미만의 버전이 표시되면 취약함. 4.6.5 이상 또는 4.4.15.9 이상이면 패치됨.
grep -oE "4\.[0-9]+\.[0-9]+" /var/www/html/phpmyadmin/ChangeLog 2>/dev/null | head -1