🇰🇷 한글 설명
PraisonAI의 searxng_search 및 search_web SearxNG 프로바이더에서 발생하는 취약점으로, LLM이 제어하는 searxng_url 매개변수를 검증 없이 requests.get에 직접 전달합니다. 공격자는 프롬프트 인젝션을 통해 내부 JSON 서비스에 접근하거나, 내부 포트 스캔 및 클라우드 메타데이터 요청을 시도할 수 있습니다.
💡 쉬운 설명
AI 에이전트가 검색을 수행할 때, 공격자가 조작한 주소로 접속하게 만들어 내부 네트워크 정보를 빼낼 수 있는 보안 결함입니다. 이를 통해 회사의 내부 시스템이나 클라우드 설정 정보가 노출될 위험이 있습니다.
🇺🇸 원문 (English)
PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.62, searxng_search and the search_web SearxNG provider pass the LLM-controlled searxng_url parameter directly to requests.get without validating its scheme, host, port, or resolved address. Prompt-injected content can direct the default search tool to internal JSON services, distinguish open and closed internal ports, and attempt cloud-metadata requests, with returned JSON results entering agent context. This issue is fixed in praisonaiagents 1.6.62.
📍 영향받는 시스템
praisonaiagents 1.6.62 미만 버전
⚔️ 공격 벡터
프롬프트 인젝션을 통해 LLM이 조작된 searxng_url 매개변수를 사용하도록 유도
🛡️ 대응 방법
praisonaiagents를 1.6.62 버전 이상으로 업데이트
🔧 검증 코드
출력된 버전이 1.6.62보다 낮으면 취약한 상태이며, 1.6.62 이상이면 안전합니다.
pip show praisonaiagents | grep Version