🇰🇷 한글 설명
Fides 웹서버 API에서 커스텀 통합 기능을 업로드할 때 샌드박스를 우회하여 임의의 코드를 실행할 수 있는 취약점입니다. 이 취약점을 통해 공격자는 기본적으로 root 권한을 가진 웹서버 프로세스 내에서 임의의 코드를 실행하여 인프라를 공격할 수 있습니다. 해당 취약점은 Fides 2.11.0부터 2.19.0 버전까지 영향을 미칩니다.
💡 쉬운 설명
Fides라는 개인정보 관리 프로그램의 보안 구멍을 통해 해커가 서버에 몰래 명령을 내릴 수 있는 문제입니다. 해커가 허용되지 않은 코드를 실행하면 서버 전체의 제어권을 뺏길 위험이 있습니다.
🇺🇸 원문 (English)
Fides is an open-source privacy engineering platform for managing the fulfillment of data privacy requests in a runtime environment, and the enforcement of privacy regulations in code. The Fides webserver API allows custom integrations to be uploaded as a ZIP file. This ZIP file must contain YAML files, but Fides can be configured to also accept the inclusion of custom Python code in it. The custom code is executed in a restricted, sandboxed environment, but the sandbox can be bypassed to execute any arbitrary code. The vulnerability allows the execution of arbitrary code on the target system within the context of the webserver python process owner on the webserver container, which by default is `root`, and leverage that access to attack underlying infrastructure and integrated systems. This vulnerability affects Fides versions `2.11.0` through `2.19.0`. Exploitation is limited to API clients with the `CONNECTOR_TEMPLATE_REGISTER` authorization scope. In the Fides Admin UI this scope is restricted to highly privileged users, specifically root users and users with the owner role. Exploitation is only possible if the security configuration parameter `allow_custom_connector_functions` is enabled by the user deploying the Fides webserver container, either in `fides.toml` or by setting the env var `FIDES__SECURITY__ALLOW_CUSTOM_CONNECTOR_FUNCTIONS=True`. By default this configuration parameter is disabled. The vulnerability has been patched in Fides version `2.19.0`. Users are advised to upgrade to this version or later to secure their systems against this threat. Users unable to upgrade should ensure that `allow_custom_connector_functions` in `fides.toml` and the `FIDES__SECURITY__ALLOW_CUSTOM_CONNECTOR_FUNCTIONS` are both either unset or explicit set to `False`.
📍 영향받는 시스템
Fides versions 2.11.0 through 2.19.0 (allow_custom_connector_functions가 활성화된 경우)
⚔️ 공격 벡터
CONNECTOR_TEMPLATE_REGISTER 권한을 가진 사용자가 악성 Python 코드가 포함된 ZIP 파일을 업로드하여 샌드박스를 우회함
🛡️ 대응 방법
Fides를 2.19.0 버전 이상으로 업그레이드하거나, 설정에서 allow_custom_connector_functions를 False로 변경함
🔧 검증 코드
출력된 버전이 2.11.0 이상 2.19.0 이하인지 확인하여 취약 여부를 판단합니다.
python3 -c 'import fides; print(fides.__version__)' 2>/dev/null || echo 'Fides not installed'