Description
Shaarli through 0.16.9 contains a server-side request forgery vulnerability that allows authenticated users to make the server request internal addresses by fetching bookmark thumbnails without private-address checks. Attackers can create bookmarks pointing to loopback, private, or cloud metadata addresses and trigger ThumbnailsController::ajaxUpdate or saving to send blind GET requests, with open_shaarli exposing this to any visitor.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| shaarli | Shaarli | ≤ 0.16.9 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | shaarli | No fix yet | — |
| Debian 12 | shaarli | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | shaarli | No fix yet | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/shaarli-open-mode-thumbnail-fetch-ssrf third-party-advisory
- https://github.com/shaarli/Shaarli/blob/bfeadb4e5856702c05279bb2a5c405f2ed802015/application/front/controller/admin/ThumbnailsController.php#L46-L64 technical-description
- https://github.com/shaarli/Shaarli/blob/bfeadb4e5856702c05279bb2a5c405f2ed802015/application/Thumbnailer.php#L82-L98 technical-description
- https://github.com/shaarli/Shaarli product
- VulnCheck Advisory: Shaarli through 0.16.9 SSRF via Thumbnail Retrieval update-thumbnail Route third-party-advisory