Description
SerpBear before 3.1.1 contains a missing authentication vulnerability in pages/api/notify.ts that allows remote unauthenticated attackers to trigger notification emails because verifyUser() is never called. Attackers can repeatedly POST to /api/notify, optionally with a domain parameter, to exhaust SMTP rate limits, trigger provider abuse flags and flood recipients.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
towfiqi serpbear
Default version status: unaffected
0 to < 3.1.1affected
References
- https://github.com/towfiqi/serpbear/issues/359 ↗
- https://github.com/towfiqi/serpbear ↗
- https://github.com/towfiqi/serpbear/commit/12dc0a4bd91f06de2dab96f797c495942f7ef8c9 ↗
- https://github.com/towfiqi/serpbear/blob/v3.1.0/pages/api/notify.ts#L16-L21 ↗
- https://github.com/towfiqi/serpbear/releases/tag/v3.1.1 ↗
- https://www.vulncheck.com/advisories/serpbear-before-3.1.1-missing-authentication-via-post-api-notify ↗