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-2020-6537 Vulnerability in maven package org.webjars.npm:electron
CVE-2020-14967 Vulnerability in npm package jsrsasign
CVE-2017-12882 Vulnerability in maven package org.springframework.batch:spring-batch-admin
CVE-2020-7662 Vulnerability in npm package websocket-extensions
CVE-2023-37963 Vulnerability in maven package io.jenkins.plugins:benchmark-evaluator