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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| towfiqi | serpbear | < 3.1.1 | 3.1.1 |
References
- GitHub Issue #359 issue-tracking
- https://github.com/towfiqi/serpbear product
- https://github.com/towfiqi/serpbear/commit/12dc0a4bd91f06de2dab96f797c495942f7ef8c9 patch
- https://github.com/towfiqi/serpbear/blob/v3.1.0/pages/api/notify.ts#L16-L21 technical-description
- serpbear v3.1.1 Release Notes release-notes
- VulnCheck Advisory: SerpBear before 3.1.1 Missing Authentication via POST /api/notify third-party-advisory