| 标题 | 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 15時42分 (1 月前) |
|---|
| 管理 | 2026-05-31 09時51分 (24 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 367503 [NousResearch hermes-agent 直到 2026.4.30 Webhook Endpoint feishu.py _handle_webhook_request 拒绝服务] |
|---|
| 积分 | 20 |
|---|