| 제목 | NousResearch hermes-agent <= v2026.4.30 Uncontrolled Resource Consumption (CWE-400) |
|---|
| 설명 | # Technical Details
An External Denial of Service exists in the `_handle_webhook_request` method in `gateway/platforms/feishu.py` of hermes-agent.
The application fails to authenticate requests before consuming the shared rate-limit bucket for the webhook endpoint.
# Vulnerable Code
File: gateway/platforms/feishu.py
Method: _handle_webhook_request
Why: The rate limiting check `_check_webhook_rate_limit(rate_key)` occurs before verification token and signature checks, allowing malformed/unauthenticated requests to increment and exhaust the bucket.
# Reproduction
1. Identify the target Feishu webhook endpoint (e.g., `/feishu/webhook`).
2. Send repeated invalid-signature webhook requests to the endpoint to exhaust the rate-limit bucket.
3. Send a legitimate, valid signed request to the endpoint, which will be rejected with an HTTP 429 status.
# Impact
- Dropped or blocked legitimate webhook events from Feishu.
- Delayed bot workflows and degraded reliability for message-driven automations. |
|---|
| 원천 | ⚠️ https://gist.github.com/YLChen-007/0304e313d811f187ade93d3b01de0f87 |
|---|
| 사용자 | Eric-j (UID 98073) |
|---|
| 제출 | 2026. 05. 07. PM 03:42 (30 날 ago) |
|---|
| 모더레이션 | 2026. 05. 31. AM 09:51 (24 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 367503 [NousResearch hermes-agent 까지 2026.4.30 Webhook Endpoint feishu.py _handle_webhook_request 서비스 거부] |
|---|
| 포인트들 | 20 |
|---|