| Titre | NousResearch hermes-agent <= v2026.4.30 Uncontrolled Resource Consumption (CWE-400) |
|---|
| Description | # 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. |
|---|
| La source | ⚠️ https://gist.github.com/YLChen-007/0304e313d811f187ade93d3b01de0f87 |
|---|
| Utilisateur | Eric-j (UID 98073) |
|---|
| Soumission | 07/05/2026 15:42 (il y a 28 jours) |
|---|
| Modérer | 31/05/2026 09:51 (24 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 367503 [NousResearch hermes-agent jusqu’à 2026.4.30 Webhook Endpoint feishu.py _handle_webhook_request déni de service] |
|---|
| Points | 20 |
|---|