Description (CNA)
Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the saveAsset GraphQL mutation validates the initial URL hostname and resolved IP against a blocklist, but Guzzle follows HTTP redirects by default. An attacker can bypass all SSRF protections by hosting a redirect that points to cloud metadata endpoints or any internal IP addresses. This issue is patched in versions 4.16.18 and 5.8.22.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| craftcms / cms | affected >= 5.0.0-RC1, < 5.8.22; affected >= 4.0.0-RC1, < 4.16.18 |
CWE
CWE-918
References
- https://github.com/craftcms/cms/security/advisories/GHSA-8jr8-7hr4-vhfx
- https://github.com/craftcms/cms/commit/0974055634af68998f67850ab2045d8aaa19fa98
- https://github.com/craftcms/cms/releases/tag/5.8.22
ADP enrichment
No English description supplied.
No references supplied.