🇰🇷 한글 설명
pgAdmin 4 버전 9.9 이하의 Windows 시스템에서 명령 주입(Command Injection) 취약점이 발견되었습니다. 백업 및 복구 작업 시 shell=True 옵션을 사용하여 발생하는 문제로, 공격자가 조작된 파일 경로를 입력하여 임의의 시스템 명령을 실행할 수 있습니다.
💡 쉬운 설명
pgAdmin 4 프로그램에서 백업이나 복구 기능을 사용할 때, 파일 이름에 악성 명령어를 섞어 넣으면 컴퓨터가 이를 명령으로 착각해 실행할 수 있는 문제입니다. 윈도우 운영체제에서 특히 위험하며 해커가 컴퓨터를 마음대로 조종할 수 있습니다.
🇺🇸 원문 (English)
pgAdmin 4 versions up to 9.9 are affected by a command injection vulnerability on Windows systems. This issue is caused by the use of shell=True during backup and restore operations, enabling attackers to execute arbitrary system commands by providing specially crafted file path input.
📍 영향받는 시스템
pgAdmin 4 version 9.9 and below (Windows systems)
⚔️ 공격 벡터
백업 또는 복구 작업 시 특수하게 조작된 파일 경로를 입력하여 시스템 명령 실행
🛡️ 대응 방법
pgAdmin 4를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 9.9 이하인지 확인하여 취약 여부를 판단합니다.
pgadmin4 --version 2>/dev/null || python -c "import pgadmin4; print(pgadmin4.__version__)" 2>/dev/null || echo 'Version check failed'