Description
com/mossle/cdn/CdnController.java in lemon 1.9.0 allows attackers to upload arbitrary files because the copyMultipartFileToFile method in CdnUtils only checks for a ../ substring, and does not validate the file type and spaceName parameter.
Remediation
References
https://github.com/xuhuisheng/lemon/issues/175
Related Vulnerabilities
CVE-2019-10803 Vulnerability in npm package push-dir
CVE-2020-2265 Vulnerability in maven package org.jenkins-ci.plugins:covcomplplot
CVE-2021-23379 Vulnerability in npm package portkiller
CVE-2022-24377 Vulnerability in npm package cycle-import-check
CVE-2021-3794 Vulnerability in npm package @vuelidate/validators