Attacks/Breaches
4/25/2013
06:02 PM
Connect Directly
RSS
E-Mail
100%
0%

Possible Exploit Avenue Discovered For DarkLeech Web Server Attacks

A researcher at Cisco has uncovered a possible link between a malicious script and an attack that has compromised thousands of Web servers around the globe

A malicious script targeting a year-old vulnerability may be tied to the DarkLeech attack campaign caught infecting websites earlier this month.

DarkLeech is believed to have compromised thousands of Web servers around the globe running Apache 2.2.2 and above. The attackers infected the servers with an SSHD backdoor that enables them to upload and configure malicious Apache modules that are, in turn, used to inject malicious iFrames onto legitimate sites.

According to Craig Williams, engineering technical leader at Cisco Systems, the malicious script in question may be playing a role in the DarkLeech campaign by providing an avenue of attack. The script was spotted targeting a Horde/IMP Plesk Webmail vulnerability that exists in unpatched versions of the Parallels Plesk control panel software commonly used by Web hosting providers. By injecting malicious PHP code in the username field, attackers can bypass authentication and upload files to the targeted server.

In a blog post, Williams called the situation a reminder to Web operators and administrators to keep their systems up-to-date.

"In order to upload the malicious DarkLeech modules, attackers must first gain root access to the server," he tells Dark Reading. "We know that both cPanel and Plesk have been vectors for compromise in the DarkLeech attacks. Given that the Horde/IMP Plesk Webmail vulnerability is being actively exploited, it is a possible avenue for gaining the needed access. However, as we noted in our blog post, this particular vector is not as common as the Plesk remote access vulnerability [CVE-2012-1557] described in the MalwareMustDie report."

In this case, the attackers were using an IRC-based botnet as a payload that included basic flooding capabilities. According to Williams, the Perl script used by the attackers has been around for a number of years, and the bot is openly discussed in PHP exploit groups.

"Upon successful compromise, the script joins the compromised server to an IRC channel for command and control," he says. "It then begins a series of port scans and Google searches to find other vulnerable servers. Information collected is then relayed to the aforementioned IRC channel, where it can be acted upon by the attacker(s).

"As for the exploit itself, since this is command injection vulnerability, there are no complicating factors to limit the number of times it can be exploited on a single server. Contrast this with a buffer overflow, for example, where the memory would likely become corrupted after repeated exploitation attempts, resulting in unpredictable behavior. That resulting instability would help inhibit future compromises -- a constraint not found with the Horde/IMP Plesk Webmail vulnerability."

A Parallels spokesperson says that the vulnerability Williams is warning about was in the third-party Horde webmail for Plesk 9.3 and earlier, and that while those Plesk versions are "end-of-lifed now," a patch for the issue was released in February 2012.

While the exact number of servers compromised by DarkLeech may not be readily known by researchers, Cisco TRAC analyzed several thousand compromised websites and tracked them back to their associated hosts, says Williams. Ultimately, the company identified infected hosts in more than 48 countries.

"The highest concentration of compromised Web servers were in the U.S., U.K., and Germany," he says. "Given that the average Web server hosts multiple websites, it's not at all speculative to state that tens of thousands of websites have been impacted by this."

* This story was updated to add a statement from Parallels.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message. Brian Prince is a freelance writer for a number of IT security-focused publications. Prior to becoming a freelance reporter, he worked at eWEEK for five years covering not only security, but also a variety of other subjects in the tech industry. Before that, he worked as a ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Flash Poll
Current Issue
Cartoon
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-6306
Published: 2014-08-22
Unspecified vulnerability on IBM Power 7 Systems 740 before 740.70 01Ax740_121, 760 before 760.40 Ax760_078, and 770 before 770.30 01Ax770_062 allows local users to gain Service Processor privileges via unknown vectors.

CVE-2014-0232
Published: 2014-08-22
Multiple cross-site scripting (XSS) vulnerabilities in framework/common/webcommon/includes/messages.ftl in Apache OFBiz 11.04.01 before 11.04.05 and 12.04.01 before 12.04.04 allow remote attackers to inject arbitrary web script or HTML via unspecified vectors, which are not properly handled in a (1)...

CVE-2014-3525
Published: 2014-08-22
Unspecified vulnerability in Apache Traffic Server 4.2.1.1 and 5.x before 5.0.1 has unknown impact and attack vectors, possibly related to health checks.

CVE-2014-3563
Published: 2014-08-22
Multiple unspecified vulnerabilities in Salt (aka SaltStack) before 2014.1.10 allow local users to have an unspecified impact via vectors related to temporary file creation in (1) seed.py, (2) salt-ssh, or (3) salt-cloud.

CVE-2014-3594
Published: 2014-08-22
Cross-site scripting (XSS) vulnerability in the Host Aggregates interface in OpenStack Dashboard (Horizon) before 2013.2.4, 2014.1 before 2014.1.2, and Juno before Juno-3 allows remote administrators to inject arbitrary web script or HTML via a new host aggregate name.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Three interviews on critical embedded systems and security, recorded at Black Hat 2014 in Las Vegas.