🇰🇷 한글 설명
Adminer 5.4.3 미만 버전의 AdminerFileUpload 플러그인에서 제한되지 않은 파일 업로드 취약점이 발견되었습니다. 인증된 사용자가 허용된 확장자 목록을 악용하여 PHP 파일을 업로드할 수 있으며, 이를 통해 웹 서버 권한으로 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
로그인이 가능한 사용자가 관리 도구의 허점을 이용해 악성 파일을 몰래 올릴 수 있는 문제입니다. 이 파일을 실행하면 해커가 서버를 마음대로 조종할 수 있게 됩니다.
🇺🇸 원문 (English)
Adminer versions before 5.4.3 contain an unrestricted file upload vulnerability in the AdminerFileUpload plugin that allows authenticated users to upload PHP files by exploiting a permissive default extension allowlist. Attackers can upload PHP webshells to columns ending in _path and execute arbitrary code as the web-server user when uploadPath is web-served.
📍 영향받는 시스템
Adminer versions before 5.4.3 (AdminerFileUpload plugin 사용 시)
⚔️ 공격 벡터
인증된 사용자가 특정 컬럼을 통해 PHP 웹쉘 파일을 업로드하고 실행함
🛡️ 대응 방법
Adminer를 5.4.3 이상 버전으로 업데이트하거나 플러그인 설정을 강화함
🔧 검증 코드
출력된 버전 번호가 5.4.3보다 낮으면 취약한 상태입니다.
php -r 'echo version("adminer");' 2>/dev/null || curl -s http://localhost/adminer.php | grep -oP '(?<=version=)[0-9.]+'