Chevereto before 4.5.8 SSRF via Image::uploadToWebsite
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| cheveretochevereto |
≥ 4.3.0, < 4.5.8→ 4.5.8 |
4.5.8 |
Original description The description as published by the source.
Chevereto before 4.5.8 contains a server-side request forgery vulnerability that allows authenticated administrators to cause the server to issue arbitrary requests by supplying a malicious URL to the uploadToWebsite function, which fetches the raw source via fetch_url before the Upload::checkValidUrl SSRF guard can be invoked. Attackers can target loopback addresses, RFC1918 internal services, cloud instance metadata endpoints, and file/gopher/dict schemes through the /json upload action to disclose internal responses or credentials when the fetched content is stored and served back as a public image URL.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- report github.com