🇰🇷 한글 설명
jc21 NGINX Proxy Manager 2.9.19 이하 버전에서 OS 명령 주입 취약점이 발견되었습니다. 액세스 리스트 생성 시 검증되지 않은 사용자 이름이나 비밀번호가 htpasswd 파일 생성 과정에서 exec 명령에 직접 전달되어 임의의 명령을 실행할 수 있습니다.
💡 쉬운 설명
관리자 권한을 가진 사용자가 특수하게 조작된 아이디나 비밀번호를 입력하면 서버에 몰래 명령을 내릴 수 있는 보안 구멍입니다. 이를 통해 해커가 서버를 마음대로 조종할 위험이 있습니다.
🇺🇸 원문 (English)
jc21 NGINX Proxy Manager through 2.9.19 allows OS command injection. When creating an access list, the backend builds an htpasswd file with crafted username and/or password input that is concatenated without any validation, and is directly passed to the exec command, potentially allowing an authenticated attacker to execute arbitrary commands on the system. NOTE: this is not part of any NGINX software shipped by F5.
📍 영향받는 시스템
jc21 NGINX Proxy Manager 2.9.19 및 그 이전 버전
⚔️ 공격 벡터
인증된 사용자가 액세스 리스트 생성 시 조작된 입력값을 전달하여 OS 명령 실행
🛡️ 대응 방법
NGINX Proxy Manager를 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 이미지 태그 버전이 2.9.19 이하인지 확인하여 취약 여부를 판단합니다.
docker inspect nginx-proxy-manager --format '{{.Config.Image}}' | grep -E 'jc21/nginx-proxy-manager:[0-9]+\.[0-9]+\.[0-9]+'