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
108

0.975 High

EPSS

Percentile

100.0%

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