🇰🇷 한글 설명
PraisonAI의 멀티 에이전트 시스템에서 발생하는 취약점으로, LLM이 제어하는 이메일 관련 값이 IMAP 검색 조건에 직접 삽입되어 발생합니다. 공격자가 특수 문자를 삽입하여 IMAP 명령을 조작할 경우 이메일 데이터에 접근, 수정, 삭제하거나 연결을 방해할 수 있습니다.
💡 쉬운 설명
인공지능 에이전트가 이메일을 처리할 때, 나쁜 의도를 가진 명령어를 이메일 내용에 섞어 넣으면 시스템이 이를 잘못 실행하는 문제입니다. 이를 통해 해커가 사용자의 이메일을 몰래 읽거나 삭제할 수 있습니다.
🇺🇸 원문 (English)
PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.59, src/praisonai-agents/praisonaiagents/tools/email_tools.py interpolates LLM-controlled from_addr, subject, and query values directly into quoted IMAP SEARCH criteria. Embedded quote, backslash, newline, or null characters can escape the intended criterion and alter IMAP operations when search_emails, reply_email, or archive_email is exposed to an agent with configured email credentials, allowing mailbox data access, modification, deletion, or connection disruption. This issue is fixed in praisonaiagents 1.6.59.
📍 영향받는 시스템
praisonaiagents 버전 1.6.59 미만
⚔️ 공격 벡터
LLM이 제어하는 이메일 필드(보낸 사람, 제목 등)에 특수 문자를 삽입하여 IMAP 검색 명령어를 조작하는 방식
🛡️ 대응 방법
praisonaiagents를 최신 버전인 1.6.59 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 1.6.59보다 낮으면 취약한 상태입니다.
pip show praisonaiagents 2>/dev/null | grep Version