Lychee has Broken Access Control in SharingController::listAll() leaks private album sharing metadata to unauthorized users
Lychee is a free, open-source photo-management tool. Prior to 7.5.4, a SQL operator-precedence bug in SharingController::listAll() causes the orWhereNotNull('user_group_id') clause to escape the ownership filter applied by the when() block. Any authenticated non-admin user with upload permission who owns at least one album can retrieve all user-group-based sharing permissions across the entire instance, including private albums owned by other users. This vulnerability is fixed in 7.5.4.
References
-
https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25 x_refsource_CONFIRM
-
https://github.com/LycheeOrg/Lychee/pull/4264 x_refsource_MISC
Affected products
- ==< 7.5.4
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>