🇰🇷 한글 설명
Vitec Flamingo 4.12.2 버전의 admin/ajax/ping.php 엔드포인트에서 인증되지 않은 사용자가 OS 명령을 주입할 수 있는 취약점이 발견되었습니다. 쉘 인자 처리 과정에서의 이중 평가 결함으로 인해, 공격자는 원격에서 임의의 명령을 실행하여 루트 권한을 탈취할 수 있습니다.
💡 쉬운 설명
해커가 로그인 없이도 웹사이트의 관리자 기능을 악용해 컴퓨터에 직접 명령을 내릴 수 있는 심각한 보안 구멍입니다. 이 공격이 성공하면 해커가 시스템의 모든 권한을 장악하여 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
Vitec Flamingo 4.12.2 contains an unauthenticated OS command injection vulnerability in the admin/ajax/ping.php endpoint that allows remote attackers to execute arbitrary commands by exploiting a double-evaluation flaw in shell argument handling. The endpoint applies escapeshellarg() to the user-supplied host POST parameter before passing it to a system wrapper, but the wrapper retrieves the decoded value from argv and incorporates it into a second shell_exec() call without escaping, allowing injected commands to execute with root privileges via passwordless sudo.
📍 영향받는 시스템
Vitec Flamingo 4.12.2
⚔️ 공격 벡터
admin/ajax/ping.php 엔드포인트의 host POST 파라미터를 통한 원격 OS 명령 주입
🛡️ 대응 방법
해당 취약점이 해결된 최신 버전으로 업데이트하거나, admin/ajax/ping.php 엔드포인트에 대한 접근 제어를 설정하십시오.
🔧 검증 코드
명령어 실행 결과에 시스템의 사용자 정보(uid 등)가 포함되어 출력되면 취약한 상태입니다.
curl -s -X POST http://<target_ip>/admin/ajax/ping.php -d "host=127.0.0.1;id" | grep -E 'uid='