Description
Silverpeas 5.15 through 6.0.2 is affected by an authenticated Directory Traversal vulnerability that can be triggered during file uploads because core/webapi/upload/FileUploadData.java mishandles a StringUtil.java call. This vulnerability enables regular users to write arbitrary files on the underlying system with privileges of the user running the application. Especially, an attacker may leverage the vulnerability to write an executable JSP file in an exposed web directory to execute commands on the underlying system.
Remediation
References
https://github.com/Silverpeas/Silverpeas-Core/blob/d8c3bbb0695a4907db013401bd16c6527e2b4f41/core-web/src/main/java/org/silverpeas/core/webapi/upload/FileUploadData.java#L89
https://www.bishopfox.com/news/2019/01/silverpeas-5-15-to-6-0-2-path-traversal/
Related Vulnerabilities
CVE-2022-31069 Vulnerability in npm package @finastra/nestjs-proxy
CVE-2018-20677 Vulnerability in maven package org.webjars.bowergithub.twbs:bootstrap
CVE-2022-25894 Vulnerability in maven package com.bstek.uflo:uflo-core
CVE-2020-11007 Vulnerability in maven package com.shopizer:sm-core-model
CVE-2022-37616 Vulnerability in maven package org.webjars.npm:xmldom__xmldom