On Thursday, Google’s Safe Browsing service began warning visitors to php.net that the website was discovered serving malware. Initially, most people and PHP maintainers thought that it was a false positive, but subsequent investigation confirmed that some of the project’s servers did get compromised.
Barracuda Networks researchers managed to get their hands on a packet capture file, and provided it to other researchers for analysis. Kaspersky Lab’s Fabio Assolini noted that the malicious iFrame pointed to the Magnitude Exploit Kit and dropped a variant of the Tepfer information-stealing Trojan with a low AV detection rate.
In a recent update on the situation, they confirmed that the server which hosted the php.net, static.php.net and git.php.net domain, and the server hosting bugs.php.net have been compromised, but that they still don’t know have it happened.
“We have verified that our Git repository was not compromised, and it remains in read only mode as services are brought back up in full,” they shared. “As it’s possible that the attackers may have accessed the private key of the php.net SSL certificate, we have revoked it immediately. We are in the process of getting a new certificate, and expect to restore access to php.net sites that require SSL (including bugs.php.net and wiki.php.net) in the next few hours.”
They have also migrated all services to new servers.