Description (CNA)
Mealie 3.26.0 through 3.28.0 contains a server-side request forgery vulnerability in the OpenID Connect avatar fetch that ignores ports when allowlisting the identity provider hostname. Authenticated OIDC users who control their picture URL can make the server send GET requests to arbitrary ports on the provider's internal address on each login.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| mealie-recipes / mealie | affected 3.26.0 through 3.28.0 |
CWE
CWE-918
References
- https://hackmd.io/@haind/mealie-oidc-avatar-ssrf
- https://github.com/mealie-recipes/mealie/blob/v3.28.0/mealie/core/security/providers/openid_provider.py#L170-L200
- https://github.com/mealie-recipes/mealie/blob/v3.28.0/mealie/pkgs/safehttp/transport.py#L60-L160
- https://github.com/mealie-recipes/mealie
- https://www.vulncheck.com/advisories/mealie-3.26.0-through-3.28.0-ssrf-via-oidc-picture-claim-avatar-fetch
ADP enrichment
No English description supplied.
No references supplied.