🇰🇷 한글 설명
AutoGPT 플랫폼에서 인증된 사용자가 백엔드 서버에서 원격 코드 실행(RCE)을 수행할 수 있는 취약점
💡 쉬운 설명
인증된 사용자가 비활성화된 블록을 그래프 내에 포함시킴으로써 서버에서 임의의 코드를 실행할 수 있는 취약점이 발견되었습니다. 이 취약점은 AutoGPT 0.6.48 버전에서 해결되었습니다.
🇺🇸 원문 (English)
AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to 0.6.48, an authenticated user could achieve Remote Code Execution (RCE) on the backend server by embedding a disabled block inside a graph. The BlockInstallationBlock — a development tool capable of writing and importing arbitrary Python code — was marked disabled=True, but graph validation did not enforce this flag. This allowed any authenticated user to bypass the restriction by including the block as a node in a graph, rather than calling the block's execution endpoint directly (which did enforce the flag). This vulnerability is fixed in 0.6.48.
📍 영향받는 시스템
AutoGPT 0.6.48 이전 버전
⚔️ 공격 벡터
인증된 사용자가 비활성화된 블록을 그래프 내에 포함시킴
🛡️ 대응 방법
AutoGPT를 0.6.48 버전 이상으로 업데이트하세요
🔧 검증 코드
로컬 시스템에서 Python을 실행하고, pip로 autogpt 패키지를 설치한 후에 코드를 실행하세요. 코드는 현재 시스템의 AutoGPT 버전을 확인하여 취약점 여부를 판단합니다.
import pkg_resources
version = pkg_resources.get_distribution('autogpt').version
if version < '0.6.48':
print({"result": "취약", "reason": "AutoGPT 버전이 0.6.48 미만"})
else:
print({"result": "양호", "reason": "AutoGPT 버전이 0.6.48 이상"})