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-2022-24847 Vulnerability in maven package org.geoserver.community:gs-taskmanager-core
CVE-2020-7639 Vulnerability in npm package eivindfjeldstad-dot
CVE-2019-10337 Vulnerability in maven package org.jenkins-ci.plugins:token-macro
CVE-2021-26117 Vulnerability in maven package org.apache.activemq:activemq-jaas