Description
HotGo 2.18.6 through 2.19.0 contains an information disclosure vulnerability that allows authenticated backend users to read other administrators' private letters because the messageIds helper omits the receiver filter. Low-privilege users can call GET /admin/notice/pullMessages, which is exempt from role permission checks via exceptAuth, to retrieve titles, contents and senders of private letters.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
bufanyun HotGo
Default version status: unaffected
2.18.6 to ≤ 2.19.0affected
pkg:github/bufanyun/hotgoReferences
- https://github.com/bufanyun/hotgo/issues/238 ↗
- https://github.com/bufanyun/hotgo/pull/244 ↗
- https://github.com/bufanyun/hotgo/commit/071799a868d362ff205c7e37609f6f27bad757a8 ↗
- https://hackmd.io/@hieund/hotgo-notice-pullmessages-cross-admin-private-letter-disclosure ↗
- https://github.com/bufanyun/hotgo/blob/90883a337c3b2886e1f567fb01ffc9d121a0e6ad/server/internal/logic/admin/notice.go#L371-L387 ↗
- https://github.com/bufanyun/hotgo ↗
- https://www.vulncheck.com/advisories/hotgo-2.18.6-through-2.19.0-missing-authorization-via-pullmessages-endpoint ↗