🇰🇷 한글 설명
Eclipse Ditto의 특정 버전에서 environmentsURL 파라미터를 통해 임의의 교차 출처 URL을 로드할 수 있는 취약점이 발견되었습니다. 공격자가 조작된 링크를 통해 사용자의 OIDC 설정이나 API URI를 변경하면, 사용자의 인증 토큰이나 자격 증명을 탈취할 수 있습니다. 이 설정은 브라우저의 localStorage에 저장되어 이후 방문 시에도 지속적으로 공격이 가능합니다.
💡 쉬운 설명
나쁜 의도를 가진 링크를 클릭하면 웹사이트의 설정이 공격자의 서버로 바뀌어 사용자의 로그인 정보가 유출될 수 있습니다. 한 번 설정이 바뀌면 다음에 사이트에 접속할 때도 자동으로 정보가 공격자에게 전송됩니다.
🇺🇸 원문 (English)
In Eclipse Ditto versions 3.6.0 to 3.8.13 and 3.9.0 to 3.9.7, the Ditto Explorer UI loads its complete environment configuration, including the Ditto API URI and the OpenID Connect (OIDC) provider settings, from an arbitrary
cross-origin URL supplied in the environmentsURL query parameter. It adopts this configuration without user confirmation and persists it in the browser's localStorage. A crafted link can therefore set an attacker-controlled OIDC
authority with autoSso enabled. The UI then automatically starts a login at the genuine identity provider but exchanges the returned authorization code together with its PKCE code_verifier at an attacker-controlled token
endpoint. This lets the attacker redeem the code for the victim's access and refresh tokens. Alternatively, an attacker-controlled api_uri causes the UI to send the victim's bearer token or Basic credentials to the attacker. Because
the configuration is persisted, later visits to the UI without the crafted link repeat the token theft. In versions 3.9.0 to 3.9.7, the Swagger UI OIDC integration of the Helm chart and the Docker Compose deployment is affected in
the same way, but requires the user to start the login. The issue is fixed in 3.8.14 and 3.9.8.
📍 영향받는 시스템
Eclipse Ditto versions 3.6.0 to 3.8.13 and 3.9.0 to 3.9.7
⚔️ 공격 벡터
조작된 environmentsURL 쿼리 파라미터가 포함된 링크를 통한 교차 출처 설정 주입 (Cross-Origin Configuration Injection)
🛡️ 대응 방법
Eclipse Ditto를 3.8.14 또는 3.9.8 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 취약한 범위(3.6.0-3.8.13 또는 3.9.0-3.9.7)에 해당하는지 확인하십시오.
curl -s http://<ditto-host>/actuator/info | grep -E 'version'
💻 영향받는 소프트웨어
IBM Verify Identity Access