<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Dora on Insinuator.net - Bold Statements</title>
    <link>https://insinuator.net/tags/dora/</link>
    <description>Recent content in Dora on Insinuator.net - Bold Statements</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 04 Mar 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://insinuator.net/tags/dora/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>DNS exfiltration case study</title>
      <link>https://insinuator.net/2020/03/dns-exfiltration-case-study/</link>
      <pubDate>Wed, 04 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://insinuator.net/2020/03/dns-exfiltration-case-study/</guid>
      <description>&lt;p&gt;Lately, we came across a remote code execution in a Tomcat web service by utilizing &lt;a href=&#34;https://docs.oracle.com/javaee/6/tutorial/doc/gjddd.html&#34;&gt;Expression Language&lt;/a&gt;. The vulnerable POST body field expected a number. When sending &lt;code&gt;${1+2}&lt;/code&gt; instead, the web site included a Java error message about a failed conversion to &lt;code&gt;java.lang.Long&lt;/code&gt; from &lt;code&gt;java.lang.String&lt;/code&gt; with value &lt;code&gt;&amp;quot;3&amp;quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;From that error message we learned a couple of things:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The application uses Java&lt;/li&gt;&#xA;&lt;li&gt;We are able to execute EL expressions&lt;/li&gt;&#xA;&lt;li&gt;Output from the EL engine is always returned as &lt;code&gt;String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Whenever you are able to execute code within a Java Context, the most interesting part is to check whether we can get a &lt;code&gt;Runtime&lt;/code&gt; object and execute arbitrary OS commands.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
