🇰🇷 한글 설명
New API(LLM 게이트웨이 및 AI 자산 관리 시스템)의 1.0.0-rc.16 미만 버전에서 발생하는 레이스 컨디션 취약점입니다. 특정 API 요청을 반복적으로 보낼 경우 Redis 캐시 업데이트 과정에서 할당량(Quota) 차감 정보가 덮어씌워져, 사용자가 실제 사용량보다 높은 할당량을 유지할 수 있습니다.
💡 쉬운 설명
사용자가 사용한 만큼 돈을 내거나 사용량을 차감해야 하는데, 시스템 오류를 이용해 사용량을 계속 초기화하여 공짜로 계속 쓸 수 있는 문제입니다. 짧은 시간 동안 특정 명령을 반복해서 보내 시스템의 계산 실수를 유도하는 방식입니다.
🇺🇸 원문 (English)
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 1.0.0-rc.16, repeated PUT /api/user/self requests that update language or sidebar_modules can race relay billing because controller/user.go calls User.Update and updateUserCache performs a full RedisHSetObj write to user:.Quota, overwriting concurrent HINCRBY deductions and allowing an authenticated user to keep cached quota artificially high. This issue is fixed in version 1.0.0-rc.16.
📍 영향받는 시스템
New API versions prior to 1.0.0-rc.16
⚔️ 공격 벡터
Authenticated user sending repeated PUT /api/user/self requests to trigger a race condition
🛡️ 대응 방법
Update New API to version 1.0.0-rc.16 or later
🔧 검증 코드
출력 결과에 1.0.0-rc.16 이상의 버전이 포함되어 있으면 취약점이 해결된 상태입니다.
curl -s http://<target-ip>/api/version | grep -E '1.0.0-rc.16'
💻 영향받는 소프트웨어
Cisco Integrated Management Controller