| Título | NousResearch hermes-agent <= v2026.4.30 Uncontrolled Resource Consumption (CWE-400) |
|---|
| Descripción | # 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. |
|---|
| Fuente | ⚠️ https://gist.github.com/YLChen-007/0304e313d811f187ade93d3b01de0f87 |
|---|
| Usuario | Eric-j (UID 98073) |
|---|
| Sumisión | 2026-05-07 15:42 (hace 1 mes) |
|---|
| Moderación | 2026-05-31 09:51 (24 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 367503 [NousResearch hermes-agent hasta 2026.4.30 Webhook Endpoint feishu.py _handle_webhook_request denegación de servicio] |
|---|
| Puntos | 20 |
|---|