LevelBlue Completes Acquisition of Cybereason. Learn more

LevelBlue Completes Acquisition of Cybereason. Learn more

Services
Cyber Advisory
Managed Cloud Security
Data Security
Manage Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft Security
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings

Joomla 0-Day Exploited In the Wild (CVE-2015-8562)

A recent new 0-day in Joomla discovered by Sucuri (Sucuri Blog) has drawn a lot of attention from the Joomla community, as well as attackers. Using knowledge gained from our recent research on Joomla (CVE-2015-7857, SpiderLabs Blog Post) and information detected by our honeypots, we would like to share some information on this new discovery.

The vulnerability

The initial payload released by Sucuri (Sucuri Blog) demonstrates insecure processing of the "User-Agent" header that leads to remote code execution. The payload includes a JSON object. In order to understand what is happening behind the scenes, we explore what Joomla does incorrectly that leads to such a critical situation like code execution.

The vulnerability can be exploited through malicious manipulation of the User-Agent header. Joomla stores every User-Agent header that it receives in the website database. The attacker first sends an HTTP request with the malicious User-Agent provided. He then sends another request that causes Joomla to fetch the malicious User-Agent string from database and pass it through the unserialize function in the PHP programming language. This, in turn, causes the code execution to happen.

Detecting suspicious behavior, our area of protection

Trustwave SpiderLabs researchers detected the following exploitation of this vulnerability in one of our Honeypots. You can see the payload in the User-Agent field that was sent by an attacker in an attempt to trigger remote code execution.

9046_480f1547-2110-41eb-92ad-86622f3f2e9d

We also detected use of the same vulnerability to perform an SQL injection. Here is a response from a vulnerable web server that shows the extracted data returned to the attacker.

11586_c081929f-081f-4f45-ba07-61a1c0f6c359

 

Mitigation guidance for our WAF (Web Application Firewall) customers

Trustwave WAF

  • Trustwave WAF customers will be protected once CorSigs 4.40 is released. It is currently in release cycle. Please make sure you have automatic update feature ON.
  • Customers may also write the following UDR (User Defined Rule) to detect this vulnerability.

8109_183e3836-0be6-4f65-b315-5cabad938f39

ModSecurity

  • A commercial rule is available. Log in to your dashboard to update.
  • A more generic rule for the community will also be available shortly.

ABOUT LEVELBLUE

LevelBlue is a globally recognized cybersecurity leader that reduces cyber risk and fortifies organizations against disruptive and damaging cyber threats. Our comprehensive offensive and defensive cybersecurity portfolio detects what others cannot, responds with greater speed and effectiveness, optimizes client investment, and improves security resilience. Learn more about us.

Latest Intelligence

Discover how our specialists can tailor a security program to fit the needs of
your organization.

Request a Demo