Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to Hack Apache Struts Vulnerable sites & how to find apache struts vulnerable sites By (Zero Cool)
- Full Guide in Youtube Video Link:
- :::::::: https://www.youtube.com/watch?v=ZSaJNRx6EA4 ::::::::::
- Filetypes which maybe Vulnerable to apache struts are commonly:
- .action
- .do
- .lib
- .jspa
- .lab
- .seam
- .cvsp
- .jhtml
- .xhtml
- .java
- .json
- .pm
- .vm
- .jsp
- .bat
- .sh
- .out
- .el
- .bson
- .com
- .psml
- .cfm
- .axd
- Google Dorks:
- Usage: intext:stacktraces
- stacktraces
- struts.devMode=false
- in your WEB-INF/classes/struts.properties file.
- There is no Action mapped for namespace
- org.apache.catalina.core
- No result defined for action com
- Exception Name: java.io.FileNotFoundException
- org.apache.jasper.runtime
- java.lang.reflect.Method.invoke
- org.apache.struts2.interceptor.DeprecationInterceptor.intercept
- coldfusion.runtime.UndefinedElementException
- java.util.TreeMap.get
- java.lang.NullPointerException
- java.util.Locale
- com.opensymphony.xwork2
- at org.apache.tomcat.util.net
- at com.bea.netuix.nf
- ognl.Ognl.getValue
- at freemarker.core.Environment
- org.apache.tomcat.util.threads
- org.glassfish.grizzly.filterchain
- org.springframework.security.web
- com.opensymphony.xwork2
- org.smarteda.wsc.common.struts
- org.apache.struts2.impl
- sun.reflect.NativeMethodAccessorImpl.invoke
- sun.reflect.NativeMethodAccessorImpl.invoke
- sun.reflect.DelegatingMethodAccessorImpl.invoke
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.samilpower.interceptor.StationWithInverterChooseFlowInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.samilpower.interceptor.RequestAuthorizationManagerInterceptor.doIntercept
- com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept
- com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept
- com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
- com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
- com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- org.apache.struts2.interceptor.MultiselectInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- org.apache.struts2.interceptor.CheckboxInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- org.apache.struts2.interceptor.FileUploadInterceptor.intercept
- com.opensymphony.xwork2.DefaultActionInvocation.invoke
- sun.reflect.GeneratedMethodAccessor489.invoke
- sun.reflect.DelegatingMethodAccessorImpl.invoke
- org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs
- org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod
- org.springframework.aop.aspectj.AspectJAroundAdvice.invoke
- org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
- org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke
- org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
- org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
- com.samilpower.action.LoginAction$$EnhancerByCGLIB$$cb7d22c3.changeLangeuage
- org.apache.struts2.impl.StrutsActionProxy.execute
- org.apache.struts2.dispatcher.Dispatcher.serviceAction
- org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction
- org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter.doFilter
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
- org.apache.catalina.core.ApplicationFilterChain.doFilter
- com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent
- com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
- org.apache.catalina.core.ApplicationFilterChain.doFilter
- org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
- org.apache.catalina.core.ApplicationFilterChain.doFilter
- org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal
- org.springframework.web.filter.OncePerRequestFilter.doFilter
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
- org.apache.catalina.core.ApplicationFilterChain.doFilter
- org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal
- org.springframework.web.filter.OncePerRequestFilter.doFilter
- org.apache.catalina.core.ApplicationFilterChain.doFilter
- com.samilpower.assist.SamilpoerI18nAssist.doFilter
- org.apache.catalina.core.ApplicationFilterChain
- org.apache.catalina.core.StandardContextValve.invoke
- org.apache.catalina.authenticator.AuthenticatorBase.invoke
- org.apache.catalina.core.StandardHostValve.invoke
- org.apache.catalina.valves.ErrorReportValve.invoke
- org.apache.catalina.connector.CoyoteAdapter.service
- org.apache.coyote.http11.AbstractHttp11Processor.process
- org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process
- org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run
- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run
- ________________________________________________________________________________________________________________________________________
- Useful Files: (espacially for jboss,tomcat...etc) just deploy =D
- 1.File/shell uploader in .war:
- http://s000.tinyupload.com/index.php?file_id=29724587056705449390
- Usage:
- i.How to find the path of your Uploader (in my case see the highlighted link) :::::::: http://i.imgur.com/b3pjU6t.jpg ::::::::
- ii.Your uploaded file will be available at ::::::: PathToUploader/upload/YourFilename
- for example At my case (http://vulnerablesite.com/war/WebApp_ID/upload/zerocool.html)
- 2.Deface Page in .war:
- http://s000.tinyupload.com/index.php?file_id=60934504532305661865
- Usage:
- i.Just change the index.html file with your deface page script :)
- ________________________________________________________________________________________________________________________________________
- Special Thanks to leets:
- Kashmiri Cheetah,Mr.X3ro,An0n 3xPloiteR,Umair Ahmed,Devil Killer,Ahmed Raza Memon,John Kazak.....
- Team PCG,PCA,PCT,PCS,BlackLeets.... and all Pakistani Hackers
- Enjoy! all Dorks Created by Zero Cool
- Make your own Way to find sites :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement