🇰🇷 한글 설명
agent-zero 0.9.7 버전의 handle_pdf_document 함수에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 공격자가 원격으로 악의적인 요청을 유발할 수 있으며, 공개된 PoC가 존재하여 즉각적인 위협이 있습니다.
💡 쉬운 설명
PDF 파일 처리 기능에서 외부 입력을 제대로 검증하지 않아, 공격자가 서버를 통해 내부 또는 외부 리소스에 접근할 수 있는 취약점입니다. 이를 이용해 민감한 정보 유출이나 내부 시스템 공격이 가능합니다.
🇺🇸 원문 (English)
A weakness has been identified in frdel/agent0ai agent-zero 0.9.7. This affects the function handle_pdf_document of the file python/helpers/document_query.py. This manipulation causes server-side request forgery. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
📍 영향받는 시스템
frdel/agent0ai agent-zero 0.9.7 이하 버전
⚔️ 공격 벡터
악의적인 PDF 파일을 handle_pdf_document 함수로 전송하여 SSRF 페이로드 실행
🛡️ 대응 방법
agent-zero를 최신 버전으로 업그레이드하거나 document_query.py의 URL 검증 로직 강화 및 내부 리소스 접근 제제
🔧 검증 코드
agent-zero 버전이 0.9.7 이하인 경우 취약함. document_query.py 파일 존재 확인으로 해당 코드베이스 포함 여부 검증
pip show agent-zero | grep Version && find . -path '*/python/helpers/document_query.py' 2>/dev/null