Description
Gophish through 0.12.1 contains an insecure direct object reference vulnerability that allows authenticated users to take over other users' groups, templates, landing pages and sending profiles. Attackers can supply another user's sequential id in POST requests to /api/groups/, /api/templates/, /api/pages/ or /api/smtp/ to overwrite and reassign objects, locking out owners and exposing victims' recipient lists.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gophish | gophish | ≤ 0.12.1 | — |
References
- Researcher Disclosure technical-description exploit
- https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/controllers/api/group.go#L28-L43 technical-description
- https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/models/group.go#L194-L200 technical-description
- https://github.com/gophish/gophish product
- VulnCheck Advisory: Gophish through 0.12.1 Object Takeover via Client-Supplied ID on API Create Endpoints third-party-advisory