Description
Ech0 through 4.5.6 registers the PUT /api/echo/like/:id endpoint on the public router group without authentication or rate limiting. Unauthenticated attackers can increment the fav_count counter of any echo (including private echoes) by supplying its UUID, which can be harvested from the public GET /api/echo/page feed. Repeated requests are accepted without deduplication, each triggering a database write and a four-key cache invalidation, allowing attackers to inflate popularity metrics and amplify load on the database and cache. Fixed in 4.7.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lin-snow | Ech0 | < 4.7.3 | 4.7.3 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/lin-snow/Ech0 | < 1.4.8-0.20260503035905-cecc2c19b590 | 1.4.8-0.20260503035905-cecc2c19b590 | GHSA-pj6q-4vq4-r8cg |
| Go | github.com/lin-snow/ech0 | < 1.4.8-0.20260503035905-cecc2c19b590 | 1.4.8-0.20260503035905-cecc2c19b590 | GO-2026-5541 |
References
- GitHub Security Advisory (GHSA-pj6q-4vq4-r8cg) vendor-advisory
- VulnCheck Advisory: Ech0 before 4.7.3 Unauthenticated fav_count Modification third-party-advisory