🇰🇷 한글 설명
Emlog 2.6.26 및 이전 버전에서 인증 없이 재설치 기능을 실행할 수 있는 취약점이 발견되었습니다. 공격자는 이를 통해 설정 파일을 덮어쓰고 관리자 계정을 임의로 생성하여 시스템 권한을 탈취할 수 있습니다.
💡 쉬운 설명
웹사이트 관리 도구의 설치 페이지가 보안 검사 없이 열려 있는 상태입니다. 해커가 이 페이지를 이용해 관리자 권한을 가로채고 사이트를 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
Emlog is an open source website building system. In 2.6.26 and earlier, install.php accepts action=reinstall without authentication and deliberately skips the already-installed check because the guard runs only when $act != 'reinstall'. A remote attacker can submit hostname, dbuser, dbpasswd, dbname, dbprefix, username, password, and email values to cause file_put_contents('config.php', $config) to overwrite the configuration with attacker-controlled database settings and create a new administrator account. No fixed version is available as of this review.
📍 영향받는 시스템
Emlog 2.6.26 및 그 이전의 모든 버전
⚔️ 공격 벡터
인증되지 않은 원격 공격자가 install.php에 재설치 파라미터를 전송하여 공격
🛡️ 대응 방법
현재 수정 버전이 없으므로 해당 파일에 대한 접근 제어를 설정하거나 웹 서버 설정을 통해 install.php 실행을 차단해야 합니다.
🔧 검증 코드
명령어 결과로 install.php 파일 경로가 출력되면 해당 취약점에 노출되었을 가능성이 높습니다.
find /var/www/html -name 'install.php' -exec grep -l 'action=reinstall' {} \;