🇰🇷 한글 설명
PraisonAI의 execute_code() 함수에서 str 서브클래스로 startswith() 메서드를 오버라이드하여 3계층 샌드박스를 완전히 우회하고 임의의 OS 명령을 실행할 수 있는 취약점입니다. 버전 1.5.90에서 패치되었습니다.
💡 쉬운 설명
PraisonAI 소프트웨어에서 특수하게 조작된 문자열을 사용하면 보안장치를 무시하고 컴퓨터에서 원하는 어떤 명령이든 실행할 수 있습니다. 버전 1.5.90 이상으로 업그레이드하면 해결됩니다.
🇺🇸 원문 (English)
PraisonAI is a multi-agent teams system. Prior to version 1.5.90, execute_code() in praisonai-agents runs attacker-controlled Python inside a three-layer sandbox that can be fully bypassed by passing a str subclass with an overridden startswith() method to the _safe_getattr wrapper, achieving arbitrary OS command execution on the host. This issue has been patched in version 1.5.90.
📍 영향받는 시스템
PraisonAI-Agents < 1.5.90
⚔️ 공격 벡터
attacker creates str subclass with overridden startswith() method and passes to _safe_getattr wrapper to bypass sandbox restrictions
🛡️ 대응 방법
upgrade praisonai-agents to version 1.5.90 or later
🔧 검증 코드
출력 값이 1.5.90 이상이면 안전, 미만이면 취약 상태입니다.
pip show praisonai-agents | grep Version | awk '{print $2}'