Apache.org Hacked Using Remote SSH Key


Apache.org has been hacked quite a number of this times, last week it happened again and the whole infrastructure was down for a few hours while they sorted out what had happened and how to remedy it.

Apparently one the remote SSH keys was compromised allowed attacked to upload code, the scary part is they could upload a trojaned version of Apache, which over a few days could be downloaded by thousands of people.

Very little seems to be known about what damage was done and no-one is claiming responsibility for it.

The website of Apache was taken offline for several hours on Friday after the SSH remote administration key on one of its servers was compromised.

SSH is a widely used technology for remote administration, so in the worst scenario the compromise created a means for hackers to upload Trojanised code onto the download section of Apache’s website. Around 50 per cent of webservers run Apache, according to the latest stats from Netcraft, so any problem would be extremely widely felt.

It’s unclear at present whether any code on the Apache website was actually modified. Nor do we know how the attack was carried out or who was behind it.

According to the Apache Infrastructure Team, in their own words:

“To the best of our knowledge at this time, no end users were affected by this incident, and the attackers were not able to escalate their privileges on any machines.”

You can read their initial report here.

Apache’s web site was restored after DNS records were changed so that servers based in Europe rather than at the main US site were carrying the load.

Rik Ferguson, a security researcher at Trend Micro, notes that the same type of compromised SSH key problem led to attacks that attempted to install rootkits on Linux based systems in August 2008.

Screenshots of Apache’s statement on the incident, since removed, have been preserved for posterity in a blog posting by Trend Micro here and F-Secure here. ®

They have restored all the servers from back-up images and I hope they’ve changed all the SSH keys, we can keep an eye on the progress and see if any more details crop up.

It’d be interesting to know the motives behind the attack, was it political or for money?

Apache currently scores about 47% of all global web-servers, so we better hope there isn’t a backdoor slipped in.

Source: The Register (Thanks Droope)

Posted in: Exploits/Vulnerabilities, Linux Hacking

, ,


Latest Posts:


Axiom - Pen-Testing Server For Collecting Bug Bounties Axiom – Pen-Testing Server For Collecting Bug Bounties
Project Axiom is a set of utilities for managing a small dynamic infrastructure setup for bug bounty, basically a pen-testing server out of the box with 1-line.
Quasar RAT - Windows Remote Administration Tool Quasar RAT – Windows Remote Administration Tool
Quasar is a fast and light-weight Windows remote administration tool coded in C#. Used for user support through day-to-day administrative work to monitoring.
Pingcastle - Active Directory Security Assessment Tool Pingcastle – Active Directory Security Assessment Tool
PingCastle is a Active Directory Security Assessment Tool designed to quickly assess the Active Directory security level based on a risk and maturity framework.
Second Order - Subdomain Takeover Scanner Tool Second Order – Subdomain Takeover Scanner Tool
Second Order Subdomain Takeover Scanner Tool scans web apps for second-order subdomain takeover by crawling the application and collecting URLs (and other data)
Binwalk - Firmware Security Analysis & Extraction Tool Binwalk – Firmware Security Analysis & Extraction Tool
Binwalk is a fast and easy to use Python-based firmware security analysis tool that allows for firmware analysis, reverse engineering & extracting of firmware.
zBang - Privileged Account Threat Detection Tool zBang – Privileged Account Threat Detection Tool
zBang is a risk assessment tool for Privileged Account Threat Detection on a scanned network, organizations & red teams can use it to identify attack vectors


4 Responses to Apache.org Hacked Using Remote SSH Key

  1. d3m4s1@d0v1v0 September 2, 2009 at 11:50 am #

    I wonder how the SSH key was compromised… social engineering?, hack into one of the administrators computer? a lost pen drive?

    If apache gets compromised, we all get compromised!

  2. Rishabh Dangwal September 2, 2009 at 4:41 pm #

    Backdoor ? there is a gr8 potential for slipping that one in,one that can lead to global owning of servers before anyone can act. The security industry needs a security industry…

  3. cbrp1r8 September 2, 2009 at 7:50 pm #

    not hard to believe when stuff like this is out there all the time now…
    http://www.theregister.co.uk/2009/07/08/openssh_exploit_rumour/

  4. Dany October 18, 2009 at 9:54 pm #

    got anybody the sourcecode for sharing ? :)