Apache.org Bugtracker Breach
Last Updated: 2010-04-13 15:01:51 UTC
by Johannes Ullrich (Version: 1)
A few readers pointed us to an announcement by the Apache Foundation about a breach of their bugtracking software.
First of all: Kudos to Apache for publishing a nice and detailed incident report . The attack included a number of elements that in itself are frequently ignored, but if combined in an attack like this one, turn out to be deadly.
Reading the blog post, a cross site scripting attack or simple password brute forcing was used to compromise the attack. While either attack appears to have the potential to succeed, it is not clear which one was finally used to gain access.
The cross site scripting attack used an additional twist in hiding the malicious URL via tinyurl.com. This made it more likely that an administrator would actually click on the URL.
Once the bug tracking system was compromised, the attacker modified it to log passwords. An administrator happened to use the same password to log in to the bug tracker as they use on the system itself.
Lets skip to the lessons learned:
- It is important to mitigate against brute forcing attacks. This mitigation should include two parts: (1) detection of brute force attacks and an automatic lock out mechanism. (2) a strong password policy backed up by password audits (to avoid "strong" passwords like password1! that may satisfy the policy but are still easily guessed.
- Don't forget the ability to quickly un-lock accounts to avoid a brute force attack turning into a DoS attack.
- Shared passwords are bad. Really bad. I actually recommend that people use some form of "password safe" software or write them down (yes... flame me for it. But I currently list 540 strong passwords). In the past I recommended different types of passwords for different purposes. But I found that sometimes a password starts out as "unimportant" and later becomes "important".
See the full blog post for more details and more lessons learned.
Johannes B. Ullrich, Ph.D.
SANS Technology Institute