🇰🇷 한글 설명
osCommerce Online Merchant 2.3.4.1에서 설치 후에도 /install/ 디렉토리가 남아있어, 인증 없는 공격자가 install_4.php를 통해 임의의 PHP 코드를 configure.php 파일에 주입할 수 있습니다. 이 코드는 애플리케이션이 configure.php를 로드할 때 실행되어 서버 전체가 손상될 수 있습니다.
💡 쉬운 설명
osCommerce 설치 폴더가 설치 완료 후에도 남아있어서, 누구든지 접근할 수 있습니다. 공격자는 이를 악용해 악의적인 코드를 서버에 주입해 실행시킬 수 있습니다.
🇺🇸 원문 (English)
A remote code execution vulnerability exists within osCommerce Online Merchant version 2.3.4.1 due to insecure default configuration and missing authentication in the installer workflow. By default, the /install/ directory remains accessible after installation. An unauthenticated attacker can invoke install_4.php, submit crafted POST data, and inject arbitrary PHP code into the configure.php file. When the application later includes this file, the injected payload is executed, resulting in full server-side compromise.
📍 영향받는 시스템
osCommerce Online Merchant 2.3.4.1
⚔️ 공격 벡터
POST 요청으로 /install/install_4.php에 악의적인 PHP 코드를 전송하여 configure.php 파일에 주입
🛡️ 대응 방법
설치 완료 후 /install/ 디렉토리를 삭제하거나 .htaccess로 접근을 차단하고, 최신 버전으로 업그레이드
🔧 검증 코드
install_4.php 파일이 존재하면 취약하고, 존재하지 않으면 안전합니다.
test -f /install/install_4.php && echo 'VULNERABLE' || echo 'SAFE'