🇰🇷 한글 설명
Ansible Platform UI의 리다이렉트 경로 내 입력값 검증 미흡으로 인해 DOM 기반 XSS 취약점이 존재합니다. 'next' 쿼리 파라미터에서 추출한 목적지를 검증 없이 location.href에 할당하여, 공격자가 악성 스크립트를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트의 주소창을 이용해 사용자를 가짜 페이지로 보내거나 몰래 나쁜 코드를 실행시키는 보안 약점입니다. 인증된 사용자가 악성 링크를 클릭하면 사용자의 권한을 탈취당할 수 있습니다.
🇺🇸 원문 (English)
A DOM-based Cross-Site Scripting (XSS) vulnerability exists in the Ansible Platform UI due to unvalidated input handling within the application's redirect route. Specifically, the application extracts a target destination from the next query parameter and directly assigns it to the browser's location.href without verifying its format or scheme. The platform includes built-in URL validation functions designed to block malicious URI schemes (such as javascript: and data:) as well as off-site or protocol-relative redirects, this specific route bypasses those controls. Consequently, an attacker can craft a malicious link that, when accessed by an authenticated user, causes arbitrary JavaScript to execute within the context of the user's session.
📍 영향받는 시스템
Ansible Platform UI (버전 미상)
⚔️ 공격 벡터
조작된 'next' 파라미터가 포함된 URL을 인증된 사용자에게 클릭하도록 유도
🛡️ 대응 방법
리다이렉트 경로에 대한 URL 스킴 및 도메인 검증 로직을 강화하고, 입력값을 안전하게 처리하도록 패치 적용