Ech0 before 4.7.3 Unauthenticated fav_count Modification
lin-snow Ech0
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/lin-snow/Ech0 Go |
|
|
| github.com/lin-snow/ech0 Go |
|
|
lin-snow Ech0
| Product | Affected | Fixed in |
|---|---|---|
| github.com/lin-snow/Ech0 Go |
|
|
| github.com/lin-snow/ech0 Go |
|
|
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.
From the CVE record · VulnCheck
Ech0 through 4.5.6 exposes its like endpoint without authentication or rate limiting. An unauthenticated network attacker who has an echo’s UUID can repeatedly increment its popularity count, including for private echoes, while causing database writes and cache invalidations. UUIDs can be obtained from the public echo feed.
Operators of Ech0 through 4.5.6 and users of either Go package, github.com/lin-snow/Ech0 or github.com/lin-snow/ech0, below 1.4.8-0.20260503035905-cecc2c19b590 should check their deployments.