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:


Karkinos - Beginner Friendly Penetration Testing Tool Karkinos – Beginner Friendly Penetration Testing Tool
Karkinos is a light-weight Beginner Friendly Penetration Testing Tool, which is basically a 'Swiss Army Knife' for pen-testing and/or hacking CTF's.
Aclpwn.Py - Exploit ACL Based Privilege Escalation Paths in Active Directory Aclpwn.Py – Exploit ACL Based Privilege Escalation Paths in Active Directory
Aclpwn.py is a tool that interacts with BloodHound< to identify and exploit ACL based privilege escalation paths.
Vulhub - Pre-Built Vulnerable Docker Environments For Learning To Hack Vulhub – Pre-Built Vulnerable Docker Environments For Learning To Hack
Vulhub is an open-source collection of pre-built vulnerable docker environments for learning to hack. No pre-existing knowledge of docker is required, just execute two simple commands.
LibInjection - Detect SQL Injection (SQLi) and Cross-Site Scripting (XSS) LibInjection – Detect SQL Injection (SQLi) and Cross-Site Scripting (XSS)
LibInjection is a C library to Detect SQL Injection (SQLi) and Cross-Site Scripting (XSS) through lexical analysis of real-world Attacks.
Grype - Vulnerability Scanner For Container Images & Filesystems Grype – Vulnerability Scanner For Container Images & Filesystems
Grype is a vulnerability scanner for container images and filesystems with an easy to install binary that supports the packages for most major *nix based OS.
APT-Hunter - Threat Hunting Tool via Windows Event Log APT-Hunter – Threat Hunting Tool via Windows Event Log
APT-Hunter is a threat hunting tool for windows event logs made from the perspective of the purple team mindset to provide detection for APT movements hidden in the sea of windows event logs.


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 ? :)