🇰🇷 한글 설명
Mesop UI 프레임워크 1.2.2 이하 버전에서 ai/testing 모듈 내의 웹 엔드포인트가 인증 없이 신뢰할 수 없는 파이썬 코드를 직접 수용하는 취약점이 발견되었습니다. 공격자가 base64로 인코딩된 코드 페이로드를 /exec-py 경로로 전송하면 서버에서 이를 즉시 실행하여 호스트 머신의 제어권을 획득할 수 있습니다.
💡 쉬운 설명
웹 애플리케이션을 만드는 도구인 Mesop의 특정 기능에 보안 구멍이 있어, 해커가 원격에서 명령어를 입력하면 컴퓨터를 마음대로 조종할 수 있습니다. 누구나 인증 없이 코드를 실행할 수 있는 매우 위험한 상태입니다.
🇺🇸 원문 (English)
Mesop is a Python-based UI framework that allows users to build web applications. In versions 1.2.2 and below, an explicit web endpoint inside the ai/ testing module infrastructure directly ingests untrusted Python code strings unconditionally without authentication measures, yielding standard Unrestricted Remote Code Execution. Any individual capable of routing HTTP logic to this server block will gain explicit host-machine command rights. The AI codebase package includes a lightweight debugging Flask server inside ai/sandbox/wsgi_app.py. The /exec-py route accepts base_64 encoded raw string payloads inside the code parameter natively evaluated by a basic POST web request. It saves it rapidly to the operating system logic path and injects it recursively using execute_module(module_path...). This issue has been fixed in version 1.2.3.
📍 영향받는 시스템
Mesop version 1.2.2 and below
⚔️ 공격 벡터
인증되지 않은 사용자가 /exec-py 엔드포인트로 base64 인코딩된 파이썬 코드를 POST 요청으로 전송
🛡️ 대응 방법
Mesop 프레임워크를 최신 버전인 1.2.3 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 1.2.3보다 낮으면 취약한 상태입니다.
pip show mesop 2>/dev/null | grep Version
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server