🇰🇷 한글 설명
Nginx UI 2.4.1 미만 버전에서 Casdoor 인증 과정 중 OAuth state 값이 고정되어 있거나 검증되지 않는 취약점이 존재합니다. 인증되지 않은 공격자가 피해자의 브라우저를 통해 조작된 인증 흐름을 완료함으로써, 공격자가 의도한 신원 정보로 Nginx UI 세션을 생성할 수 있습니다.
💡 쉬운 설명
로그인 과정에서 본인 확인을 위한 암호 같은 값을 제대로 검사하지 않아 발생하는 문제입니다. 이를 통해 해커가 사용자의 계정으로 몰래 로그인하거나 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, GetCasdoorUri uses the configured Casdoor application name as a constant OAuth state value and CasdoorCallback does not compare the submitted state with a value bound to the initiating browser session. An unauthenticated attacker can cause a victim's browser to complete an attacker-controlled Casdoor authorization flow, and the callback can mint a Nginx UI session for the identity returned by that authorization code. This issue is fixed in version 2.4.1.
📍 영향받는 시스템
Nginx UI versions prior to 2.4.1
⚔️ 공격 벡터
조작된 Casdoor 인증 흐름을 통한 OAuth state 검증 우회 및 세션 탈취
🛡️ 대응 방법
Nginx UI를 버전 2.4.1 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 2.4.1 미만인지 확인하여 취약 여부를 판단합니다.
nginx-ui --version 2>/dev/null || curl -s http://localhost/version 2>/dev/null | grep -E '2\.[4-9]\.'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server