|
30 | 30 |
|
31 | 31 | ## Version 6 |
32 | 32 |
|
| 33 | +### v6.6.14 |
| 34 | + |
| 35 | +Released on Jun 27, 2025 |
| 36 | + |
| 37 | +#### Minor cosmetic hotfix |
| 38 | + |
| 39 | +This is a small patch which fixes a cosmetic issue on the gallery page. |
| 40 | + |
| 41 | +* `fix` #3499 : fix header always showing up by @ildyria. |
| 42 | + |
| 43 | +### v6.6.13 |
| 44 | + |
| 45 | +Released on Jun 27, 2025 |
| 46 | + |
| 47 | +#### Security release: Server-Side Request Forgery (SSRF) vulnerability fix (3.5) |
| 48 | + |
| 49 | +All versions of Lychee below 6.6.12 are vulnerable to a Server-Side Request Forgery (SSRF) vulnerability. |
| 50 | +This leads the attacker to be able to execute any GET request on your local network. |
| 51 | + |
| 52 | +#### The vulnerability |
| 53 | + |
| 54 | +The attack makes use of an unsanitized input on an `fopen` call during a photo import. |
| 55 | +This vulnerability would allow an attacker to effectively read any file on your internal network, including localhost. |
| 56 | + |
| 57 | +In itself Lychee is not impacted. As in the attack will not compromise your photos, albums, etc. |
| 58 | +Furthermore, the attacker needs to have access to an account with upload rights. |
| 59 | + |
| 60 | +However, this still allows the attacker to use Lychee as a *proxy* and interact within your internal network/localhost. |
| 61 | +For example, if you have a notification forwarding service with a GET webhook, that could be exploited to send a notification and start a phishing attack. |
| 62 | + |
| 63 | +#### The Fix |
| 64 | + |
| 65 | +We added multiple optional checks on the urls provided: |
| 66 | + |
| 67 | +- validate that the url formatting |
| 68 | +- validate that the scheme is http/https |
| 69 | +- validate that the port if given is 80 or 443 |
| 70 | +- validate that if an ip is used it is not a local ip |
| 71 | +- validate that localhost is not used. |
| 72 | + |
| 73 | +All of them are enabled by default and can be disabled in the expert admin settings. |
| 74 | + |
| 75 | +#### Other changes |
| 76 | + |
| 77 | +* `fix` #3498 : Fix SSRF + bump version by @ildyria. |
| 78 | + |
| 79 | +* `new` #3491 : Add optional gallery header image by @ildyria. |
| 80 | + > We added the option to have a header image on top of the gallery page. You will find the configuration in the *Landing page* settings. |
| 81 | +* `fix` #3497 : add some missing RTL support on timeline photo display by @ildyria. |
| 82 | + > Improvement of the RTL support on timeline photo display. |
| 83 | +
|
| 84 | +#### Credits |
| 85 | + |
| 86 | +We would really like to thank [@BaranTeyin1](https://github.com/BaranTeyin1) for reporting this vulnerability. |
| 87 | + |
| 88 | + |
33 | 89 | ### v6.6.12 |
34 | 90 |
|
35 | 91 | Released on Jun 26, 2025 |
|
0 commit comments