medium6.5
CVE-2026-109166
lamp-cloud through 5.10.1 contains an insecure direct object reference vulnerability that allows authenticated users to obtain storage URLs for other users' fi…
Impact
lamp-cloud through 5.10.1 contains an insecure direct object reference vulnerability that allows authenticated users to obtain storage URLs for other users' files by supplying arbitrary file ids. Attackers can send another user's file ids to the findUrlById handler of FileAnyoneController, which never checks ownership, to retrieve access URLs and read uploaded attachments.
Affected products
| Product | Affected versions |
|---|---|
| Lamp-Cloud | through 5.10.1 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/AnkesKasty/cve-request-poc/blob/a7b6d1423555812d8efa26c91c5d0683164b31e5/lamp-cloud/poc_findUrlById_url.py
- https://github.com/dromara/lamp-cloud/blob/d61184d7d402023fc3ea63b6bdbd7a1bfdb8ce92/lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/file/strategy/FileContext.java#L147-L170
- https://github.com/dromara/lamp-cloud/blob/d61184d7d402023fc3ea63b6bdbd7a1bfdb8ce92/lamp-base/lamp-base-controller/src/main/java/top/tangyh/lamp/file/controller/FileAnyoneController.java#L75-L80
- https://www.vulncheck.com/advisories/lamp-cloud-through-5.10.1-idor-via-anyone-file-findurlbyid