Description
kkFileView is a universal file online preview project based on Spring Boot. Prior to 5.0.1, the unauthenticated GET /addTask endpoint in kkFileView is omitted from TrustHostFilter and TrustDirFilter in server/src/main/java/cn/keking/config/WebConfig.java, allowing FileConvertQueueTask to fetch an attacker-selected URL after FileHandlerService#getFileAttribute uses the fullfilename parameter to force an OFFICE, COMPRESS, or CAD type. This issue is fixed in version 5.0.1.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
kekingcn kkFileView
< 5.0.1affected
References
- https://github.com/kekingcn/kkFileView/security/advisories/GHSA-gwwj-52hv-6g2m ↗
- https://github.com/kekingcn/kkFileView/issues/765 ↗
- https://github.com/kekingcn/kkFileView/pull/767 ↗
- https://github.com/kekingcn/kkFileView/commit/32a887aa2cd70228998c617c4e7df6cfcf3fe709 ↗
- https://github.com/kekingcn/kkFileView/releases/tag/v5.0.1 ↗