🇰🇷 한글 설명
OpenStack Keystone용 Python 클라이언트 라이브러리(python-keystoneclient) 0.7.0 이전 버전에서 memcache의 사용자 토큰 검색 메커니즘이 제대로 작동하지 않습니다. eventlet과 python-memcached 간의 상호작용으로 인해 인증된 사용자가 많은 수의 요청을 통해 다른 사용자의 토큰에 접근하여 권한을 상승시킬 수 있습니다.
💡 쉬운 설명
OpenStack의 사용자 인증 시스템에서 사용자 권한 정보를 저장하는 캐시 시스템이 제대로 작동하지 않는 문제입니다. 많은 요청을 보내면 다른 사용자의 권한을 가져올 수 있게 됩니다.
🇺🇸 원문 (English)
The auth_token middleware in the OpenStack Python client library for Keystone (aka python-keystoneclient) before 0.7.0 does not properly retrieve user tokens from memcache, which allows remote authenticated users to gain privileges in opportunistic circumstances via a large number of requests, related to an "interaction between eventlet and python-memcached."
📍 영향받는 시스템
python-keystoneclient < 0.7.0
⚔️ 공격 벡터
인증된 공격자가 OpenStack API에 대량의 토큰 요청을 수행하여 토큰 캐시 검색 실패를 유도하고 권한 상승
🛡️ 대응 방법
python-keystoneclient를 0.7.0 이상으로 업그레이드
🔧 검증 코드
출력이 VULNERABLE이면 취약한 버전, PATCHED면 패치된 버전입니다. pip show 명령어가 실행되지 않으면 python-keystoneclient가 설치되지 않은 상태입니다.
pip show python-keystoneclient 2>/dev/null | grep Version | awk '{print $2}' | awk -F. '{if($1==0 && $2<7) print "VULNERABLE"; else print "PATCHED"}'