Bolt: Prevent SSRF due to unchecked followed redirects
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| boltcore | — | Not listed |
| Packagistbolt/core |
< 6.1.5→ 6.1.5 |
6.1.5 |
| composerbolt/core |
< 6.1.5→ 6.1.5 |
6.1.5 |
Original description The description as published by the source.
Impact
The /bolt/async/upload-url and /bolt/async/embed endpoints validated only the submitted URL before fetching it server-side, but the fetch then followed redirects to destinations that were never re-validated. This allowed an authenticated user to bypass the SSRF guard (UrlSafetyChecker) and make the server issue requests to internal/cloud-metadata addresses.
Patches
This issue has been patched with Bolt 6.1.5.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com