Lucene search

K
saintSAINT CorporationSAINT:36D004106F719D49737AC3A3A36076CD
HistoryDec 20, 2023 - 12:00 a.m.

Apache Struts file upload directory traversal

2023-12-2000:00:00
SAINT Corporation
download.saintcorporation.com
140
apache struts
directory traversal
vulnerability
file upload
command execution
upgrade
resolution
sntxp web application

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.8 High

AI Score

Confidence

Low

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.093 Low

EPSS

Percentile

94.7%

Added: 12/20/2023

Background

Apache Struts is an open-source web application framework for developing Java EE web applications. It uses and extends the Java Servlet API to encourage developers to adopt a model-view-controller (MVC) architecture.

Problem

A directory traversal vulnerability in Apache Struts allows remote attackers to upload files to arbitrary locations, leading to command execution.

Resolution

Upgrade to Struts 2.5.33 or 6.3.0.2 or higher.

References

<https://cwiki.apache.org/confluence/display/WW/S2-066&gt;
<https://www.vicarius.io/vsociety/posts/apache-struts-rce-cve-2023-50164&gt;

Limitations

The vulnerability can only be exploited if a Struts application allows file uploads. This exploit only works if Struts is running on Tomcat.

On success, this exploit creates a sntxp web application which must be manually removed from the target.

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.8 High

AI Score

Confidence

Low

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.093 Low

EPSS

Percentile

94.7%