Joomla Remote Code Execution - CVE-2015-8562

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Joomla Remote Code Execution - CVE-2015-8562

L2 Linker

Hello,

 

I created a custom vulnerability signature that helps to detect and block the recently discovered Joomla RCE zero day which has since been patched by the vendor. I've opened a case with an engineer and he suggesed some additional protections until an official signature is released. The engineer suggested I post it here so that other people may benefit. 

 

It checks for the following http headers in a GET request:

JDatabaseDriverMysqli

JSimplepieFactory

disconnectHandlers

eval(base64_decode($_POST[111]))

 

I don't see an option to upload the .xml so here is the full xml code, sorry for the length:

 

<vulnerability-threat version="6.1.0">
  <entry name="41001">
    <signature>
      <standard>
        <entry name="Suspicious HTTP Header">
          <and-condition>
            <entry name="And Condition 1">
              <or-condition>
                <entry name="Or Condition 1">
                  <operator>
                    <pattern-match>
                      <qualifier>
                        <entry name="http-method">
                          <value>GET</value>
                        </entry>
                      </qualifier>
                      <pattern>((JDatabaseDriverMysqli)|(JSimplepieFactory)|(disconnectHandlers))</pattern>
                      <context>http-req-headers</context>
                    </pattern-match>
                  </operator>
                </entry>
                <entry name="Or Condition 2">
                  <operator>
                    <pattern-match>
                      <qualifier>
                        <entry name="http-method">
                          <value>GET</value>
                        </entry>
                      </qualifier>
                      <pattern>eval(base64_decode($_POST[111]))</pattern>
                      <context>http-req-headers</context>
                    </pattern-match>
                  </operator>
                </entry>
              </or-condition>
            </entry>
          </and-condition>
          <order-free>no</order-free>
          <scope>protocol-data-unit</scope>
          <comment>User agent strings identified in the reference link</comment>
        </entry>
      </standard>
    </signature>
    <default-action>
      <drop-packets/>
    </default-action>
    <cve>
      <member>CVE-2015-8562</member>
    </cve>
    <reference>
      <member>https://wp.me/p3AjUX-u58</member>
    </reference>
    <vendor>
      <member>Joomla</member>
    </vendor>
    <threatname>Joomla CVE-2015-8562</threatname>
    <severity>critical</severity>
    <direction>client2server</direction>
    <comment>Remote Code Execution Vulnerability. This signature is only a band-aid per the link in the reference below.</comment>
    <affected-host>
      <server>yes</server>
    </affected-host>
  </entry>
</vulnerability-threat>

 

1 accepted solution

Accepted Solutions

L2 Linker

FYI, content release 547 which was released today (12/23/2015) contains dections for this vulnerability. ID 38640 & 38638.

View solution in original post

1 REPLY 1

L2 Linker

FYI, content release 547 which was released today (12/23/2015) contains dections for this vulnerability. ID 38640 & 38638.

  • 1 accepted solution
  • 4711 Views
  • 1 replies
  • 3 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!