🇰🇷 한글 설명
PHPauction GPL 2.51의 include_path 매개변수를 통한 원격 파일 포함(RFI) 취약점으로, 공격자가 converter.inc.php, messages.inc.php, settings.inc.php 파일에 악의적인 PHP 코드를 삽입하여 원격 코드 실행이 가능합니다.
💡 쉬운 설명
PHPauction이라는 경매 소프트웨어가 외부에서 파일을 포함할 때 충분히 검증하지 않아, 악의적인 파일을 실행하게 할 수 있습니다. 공격자는 이를 이용해 웹 서버에서 자신의 명령을 실행할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in PHPauction GPL 2.51 allow remote attackers to execute arbitrary PHP code via a URL in the include_path parameter to (1) converter.inc.php, (2) messages.inc.php, and (3) settings.inc.php in includes/.
📍 영향받는 시스템
PHPauction GPL 버전 2.51 이하
⚔️ 공격 벡터
HTTP GET/POST 요청의 include_path 파라미터에 악의적인 원격 파일 URL을 전달하여 원격 코드 실행
🛡️ 대응 방법
PHPauction을 최신 버전으로 업그레이드하거나 allow_url_include를 비활성화하고 include_path 매개변수 검증 추가
🔧 검증 코드
PHPauction 설치 디렉토리의 includes 폴더에서 include_path 사용 시 입력값 검증이 없으면 취약 상태입니다.
find /var/www -name '*phpauction*' -type d 2>/dev/null | head -1 | xargs -I {} grep -r 'include_path' {}/includes/*.php 2>/dev/null | grep -v 'validate\|filter\|check'