जमा करें #833856: GitHub hsweb-framework 5.0.0 Path Traversal: '../filedir'जानकारी

शीर्षकGitHub hsweb-framework 5.0.0 Path Traversal: '../filedir'
विवरणThe file upload function of hsweb-framework contains a path traversal vulnerability. Attackers could exploit this vulnerability to overwrite important files on the server (depending on the type of application running the framework). For example, overwriting a JAR file could pollute the classpath, leading to arbitrary code execution, or it could overwrite SSH or scheduled tasks. Prepare a file to be overwritten locally. Add the file type to the hsweb configuration and specify `useOriginalFileName`. Then, run the following command: `curl -X POST http://localhost:8080/file/static -F "file=@./pom.xml;filename=../../../../../../pom.xml"`. The name variable is completely user-controllable. It can navigate to the parent directory via ../. The framework expects the upload directory to be /target/upload/20260126/2015638779023392768, but in reality, the payload will be uploaded to the root directory, resulting in arbitrary file writing.
स्रोत⚠️ https://github.com/hs-web/hsweb-framework/issues/344
उपयोगकर्ता
 0Xrry (UID 86188)
सबमिशन20/05/2026 07:02 AM (21 दिन पहले)
संयम07/06/2026 11:30 AM (18 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि369090 [hs-web hsweb-framework तक 5.0.1 File Upload FileUploadProperties.java denied filename निर्देशिका ट्रैवर्सल]
अंक20

Want to know what is going to be exploited?

We predict KEV entries!