🇰🇷 한글 설명
phpMyFAQ 4.1.7 미만 버전의 SetupController에서 인증 우회 취약점이 발견되었습니다. 공격자는 유지보수 모드가 활성화된 상태에서 인증 없이 데이터베이스 마이그레이션을 실행하거나 구성 백업을 생성할 수 있습니다. 이를 통해 데이터베이스 업데이트를 수행하고, 유지보수 모드를 비활성화하며, 생성된 ZIP 압축 파일에서 데이터베이스 자격 증명을 탈취할 수 있습니다.
💡 쉬운 설명
로그인하지 않은 외부인이 관리자 권한을 몰래 사용하여 데이터베이스 설정을 바꾸거나 중요한 정보를 빼낼 수 있는 문제입니다. 특히 백업 파일을 만들어 데이터베이스 비밀번호를 가져가는 공격이 가능합니다.
🇺🇸 원문 (English)
phpMyFAQ before 4.1.7 contains an authentication bypass vulnerability in SetupController that allows unauthenticated attackers to run database migrations and create configuration backups when maintenance mode is enabled. Attackers can call POST /api/setup/update-database and POST /api/setup/backup endpoints to execute database updates, disable maintenance mode, and extract database credentials from generated ZIP archives.
📍 영향받는 시스템
phpMyFAQ 4.1.7 미만 모든 버전
⚔️ 공격 벡터
인증되지 않은 공격자가 특정 API 엔드포인트(/api/setup/update-database, /api/setup/backup)에 POST 요청을 전송하여 공격
🛡️ 대응 방법
phpMyFAQ를 최신 보안 패치가 적용된 4.1.7 이상 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 4.1.7 미만(예: 4.1.6 이하)인 경우 해당 취약점에 노출된 상태입니다.
php -r 'echo "VERSION_CHECK";' | grep -q "phpMyFAQ" && curl -s http://localhost/version.php | grep -E '4\[\.(0|1)\.[0-6]'