🇰🇷 한글 설명
Atsphp 5.0.1의 원격 파일 포함(RFI) 취약점으로, CONF[path] 파라미터를 통해 공격자가 임의의 원격 PHP 파일을 로드하고 실행할 수 있습니다. index.php, sources/usercp.php, sources/admin.php 등 여러 파일이 영향을 받으며, 완전한 서버 제어가 가능합니다. 다만 CONF[path]가 사전 정의되고 직접 요청 불가능하다는 이의가 제기되었습니다.
💡 쉬운 설명
공격자가 설정값을 변조하여 서버가 인터넷상의 악성 PHP 코드를 실행하도록 강제할 수 있습니다. 이로 인해 서버의 모든 데이터가 탈취되거나 손상될 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Atsphp 5.0.1 allow remote attackers to execute arbitrary PHP code via a URL in the CONF[path] parameter to (1) index.php, (2) sources/usercp.php, or (3) sources/admin.php. NOTE: Another researcher has disputed this vulnerability, noting that CONF[path] is defined before use in index.php, that CONF[path] inclusion cannot occur through a direct request to other affected files, and that usercp.php is a typo of user_cp.php
⚔️ 공격 벡터
GET/POST 파라미터로 CONF[path]에 악성 원격 URL을 삽입하여 PHP 포함 함수(include/require)가 공격자 코드를 실행하도록 유도
🛡️ 대응 방법
Atsphp를 최신 버전으로 업그레이드하거나, php.ini에서 allow_url_include를 Off로 설정하고 입력값 검증 강화
🔧 검증 코드
Atsphp 5.0.1이 설치되어 있으면 패키지 또는 설치 경로가 표시되며, 버전 5.0.1이면 즉시 패치 필요
dpkg -l | grep -i atsphp 2>/dev/null || find /var/www -name 'index.php' -path '*atsphp*' -type f 2>/dev/null | head -1