Untriaged
Lychee has SSRF bypass via DNS rebinding — PhotoUrlRule only validates IP addresses, not hostnames resolving to internal IPs
Lychee is a free, open-source photo-management tool. Prior to version 7.5.2, the SSRF protection in `PhotoUrlRule.php` can be bypassed using DNS rebinding. The IP validation check (line 86-89) only activates when the hostname is an IP address. When a domain name is used, `filter_var($host, FILTER_VALIDATE_IP)` returns `false`, skipping the entire check. Version 7.5.2 patches the issue.
References
Affected products
Lychee
- ==< 7.5.2
Matching in nixpkgs
pkgs.lychee
Fast, async, stream-based link checker written in Rust
pkgs.LycheeSlicer
All-in-one 3D slicer for resin and FDM printers
pkgs.lycheeslicer
All-in-one 3D slicer for resin and FDM printers
pkgs.tests.testers.lycheeLinkCheck.ok
None
pkgs.tests.testers.lycheeLinkCheck.network
None
Package maintainers
-
@Tarinaky Tarinaky
-
@totoroot Matthias Thym <git@thym.at>
-
@tuxinaut Denny Schäfer <trash4you@tuxinaut.de>
-
@ZachDavies Zach Davies <zdmalta@proton.me>