🇰🇷 한글 설명
AAP MCP 서버에서 결함이 발견되었습니다. 인증되지 않은 원격 공격자가 toolsetroute 매개변수에 특수하게 조작된 입력을 보내 로그 인젝션을 수행할 수 있습니다. 이 매개변수는 로그에 기록되기 전에 적절히 정제되지 않아, 줄바꿈 및 ANSI 이스케이프 시퀀스 같은 제어 문자를 주입할 수 있습니다. 이를 통해 정상 로그 항목을 가리고 위조된 항목을 삽입하여 사회공학 공격을 용이하게 하며, 운영자가 위험한 명령을 실행하거나 악성 URL에 접속하도록 유도할 수 있습니다.
💡 쉬운 설명
공격자가 시스템 기록(로그)에 가짜 내용을 끼워 넣을 수 있는 취약점입니다. 관리자가 이 기록을 보고 잘못된 판단을 하거나 위험한 명령을 실행하도록 속일 수 있습니다.
🇺🇸 원문 (English)
A flaw was found in the AAP MCP server. An unauthenticated remote attacker can exploit a log injection vulnerability by sending specially crafted input to the `toolsetroute` parameter. This parameter is not properly sanitized before being written to logs, allowing the attacker to inject control characters such as newlines and ANSI escape sequences. This enables the attacker to obscure legitimate log entries and insert forged ones, which could facilitate social engineering attacks, potentially leading to an operator executing dangerous commands or visiting malicious URLs.
📍 영향받는 시스템
AAP(Ansible Automation Platform)의 MCP 서버 구성요소 (정확한 취약 버전은 공급사 권고문 확인 필요)
⚔️ 공격 벡터
인증 없이 toolsetroute 매개변수에 제어 문자가 포함된 조작 입력을 전송하여 로그에 위조 항목을 삽입
🛡️ 대응 방법
공급사가 제공하는 보안 패치를 적용하고, 로그 출력 전 입력값의 제어 문자를 제거 또는 이스케이프 처리하도록 설정
🔧 검증 코드
AAP 관련 패키지 목록과 버전이 출력되며, 공급사 권고문의 수정 버전 이상이면 패치가 적용된 것이고 그보다 낮으면 취약한 상태입니다. 출력이 없으면 해당 패키지가 설치되지 않은 것입니다.
rpm -qa 2>/dev/null | grep -i 'ansible-automation-platform\|aap' | head -20