The FileUpload component provides a simple yet flexible means of adding support for multipart
file upload functionality to servlets and web applications.
Path to dependency file: /Struts2Spring3Hibernate/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/Struts2RestConvention/target/Struts2Rest/WEB-INF/lib/commons-fileupload-1.2.2.jar,/Struts2Convention/target/Struts2Convention/WEB-INF/lib/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/Struts2Junit4/target/Struts2Junit4-1.0/WEB-INF/lib/commons-fileupload-1.2.2.jar,/Struts2MessageStoreExample/target/Struts2MessageStoreExample/WEB-INF/lib/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/Struts2JsonValidation/target/Struts2JsonValidation-1.0/WEB-INF/lib/commons-fileupload-1.2.2.jar,/Struts2Spring3Hibernate/target/Struts2Spring3Hibernate3/WEB-INF/lib/commons-fileupload-1.2.2.jar
The FileUpload component provides a simple yet flexible means of adding support for multipart
file upload functionality to servlets and web applications.
Path to dependency file: /Struts2RemeberMeMaven/pom.xml
Path to vulnerable library: /Struts2RemeberMeMaven/target/Struts2RemeberMeMaven/WEB-INF/lib/commons-fileupload-1.2.1.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar
The FileUpload component provides a simple yet flexible means of adding support for multipart
file upload functionality to servlets and web applications.
Path to dependency file: /Struts2MavenSample/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.3/commons-fileupload-1.3.jar,/Struts2MavenSample/target/Struts2MavenSample-1.0/WEB-INF/lib/commons-fileupload-1.3.jar
Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads.
Note that, like all of the file upload limits, the
new configuration option (FileUploadBase#setFileCountMax) is not
enabled by default and must be explicitly configured.
CVE-2023-24998 - High Severity Vulnerability
Vulnerable Libraries - commons-fileupload-1.2.2.jar, commons-fileupload-1.2.1-URBA2209RC1.jar, commons-fileupload-1.3.jar
commons-fileupload-1.2.2.jar
The FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.
Path to dependency file: /Struts2Spring3Hibernate/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/Struts2RestConvention/target/Struts2Rest/WEB-INF/lib/commons-fileupload-1.2.2.jar,/Struts2Convention/target/Struts2Convention/WEB-INF/lib/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/Struts2Junit4/target/Struts2Junit4-1.0/WEB-INF/lib/commons-fileupload-1.2.2.jar,/Struts2MessageStoreExample/target/Struts2MessageStoreExample/WEB-INF/lib/commons-fileupload-1.2.2.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar,/Struts2JsonValidation/target/Struts2JsonValidation-1.0/WEB-INF/lib/commons-fileupload-1.2.2.jar,/Struts2Spring3Hibernate/target/Struts2Spring3Hibernate3/WEB-INF/lib/commons-fileupload-1.2.2.jar
Dependency Hierarchy: - :x: **commons-fileupload-1.2.2.jar** (Vulnerable Library)
commons-fileupload-1.2.1-URBA2209RC1.jar
The FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.
Library home page: http://commons.apache.org/fileupload/
Path to dependency file: /Struts2RemeberMeMaven/pom.xml
Path to vulnerable library: /Struts2RemeberMeMaven/target/Struts2RemeberMeMaven/WEB-INF/lib/commons-fileupload-1.2.1.jar,/home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar
Dependency Hierarchy: - :x: **commons-fileupload-1.2.1-URBA2209RC1.jar** (Vulnerable Library)
commons-fileupload-1.3.jar
The FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.
Path to dependency file: /Struts2MavenSample/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.3/commons-fileupload-1.3.jar,/Struts2MavenSample/target/Struts2MavenSample-1.0/WEB-INF/lib/commons-fileupload-1.3.jar
Dependency Hierarchy: - :x: **commons-fileupload-1.3.jar** (Vulnerable Library)
Found in HEAD commit: 4a2d705eb04097186f260a255e43e17302189741
Found in base branch: master
Vulnerability Details
Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads. Note that, like all of the file upload limits, the new configuration option (FileUploadBase#setFileCountMax) is not enabled by default and must be explicitly configured.
Publish Date: 2023-02-20
URL: CVE-2023-24998
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://tomcat.apache.org/security-10.html
Release Date: 2023-02-20
Fix Resolution: 1.5
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.