Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:3644
HistoryMar 09, 2017 - 12:39 p.m.

Remote Code Execution (RCE) Through Jakarta Multipart Parser

2017-03-0912:39:55
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
98

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

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

struts2-core is vulnerable to remote code execution (RCE). The vulnerability exists due to the improper handling on the Content-Type header when an invalid Content-Type is received, in conjunction with the use of the Jakarta based file upload Multipart parser. An exception will be thrown on invalid Content-Type, whose error message is then displayed to the user. A malicious user can send arbitrary commands by sending the payload via Content-Type, and then receiving the output using the error message. Update: A similar issue, S2-046, is found in the handling of the Content-Disposition and Content-Length pair. A similar exception will be thrown on invalid Content-Disposition and Content-Length pair.

CPENameOperatorVersion
struts 2 corele2.3.31
struts 2 corele2.5.10

References

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

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