🇰🇷 한글 설명
Turnkey Web Tools SunShop Shopping Cart의 index.php, admin/index.php, admin/adminindex.php 파일에서 phpinfo 액션을 통해 민감한 정보가 노출되는 취약점입니다. 공격자는 이를 통해 서버의 PHP 설정 및 시스템 구성 정보를 획득할 수 있습니다.
💡 쉬운 설명
웹사이트의 특정 주소에 접속하면 서버의 내부 설정 정보가 모두 공개되는 문제입니다. 이 정보는 해커가 서버를 더 쉽게 공격하기 위한 기초 자료로 사용될 수 있습니다.
🇺🇸 원문 (English)
Turnkey Web Tools SunShop Shopping Cart allows remote attackers to obtain sensitive information via a phpinfo action to (1) index.php, (2) admin/index.php, and (3) admin/adminindex.php, which executes the PHP phpinfo function. NOTE: The vendor has disputed this issue, saying that "Having this in the code makes it easier for us to troubleshoot when issues arise on individual carts. For someone to have a script to do this type of search would require that they know where your shop is actually located. I dont think it really can be construde [sic] as a security issue.
📍 영향받는 시스템
Turnkey Web Tools SunShop Shopping Cart
⚔️ 공격 벡터
HTTP 요청을 통해 phpinfo 기능을 실행하는 특정 URL에 원격으로 접근
🛡️ 대응 방법
소스 코드에서 phpinfo() 함수 호출 부분을 제거하거나, 해당 페이지에 대한 외부 접근을 차단하십시오.
🔧 검증 코드
명령어 실행 결과로 PHP 버전 정보가 출력된다면 해당 시스템은 취약한 상태입니다.
curl -s "http://<target>/index.php?action=phpinfo" | grep -i "PHP Version"