Poisoned Pipeline / Incidents / AS487

AS487 · 2012-09

A SourceForge mirror served a phpMyAdmin archive with a remote-execution backdoor

PHP applications

The phpMyAdmin security team reported that the SourceForge.net mirror
cdnetworks-kr-1 was distributing phpMyAdmin-3.5.2.2-all-languages.zip with an
added server_sync.php that executed arbitrary PHP, plus a modified
js/cross_framing_protection.js. Tencent Security Response Center found the
modified archive and told the project. The advisory told users to check for
server_sync.php and re-download from a trusted mirror, and said only that one
archive was known to be affected. It was reported as a mirror compromise, not as
a supply-chain incident. The later lens sees a distribution mirror as part of the
release chain, with no signature check between the mirror and the user.

Mapped techniques

supply-chain SourceForge mirror cdnetworks-kr-1

T0209 · Initial Access · Compromise package registry or CDN origin

One mirror in the SourceForge download network served a modified
project archive.

T0121 · Resource Development · Compromised legitimate artifact

The archive kept the project name and version while adding the backdoor
file.

T0138 · Persistence · Backdoor in code

server_sync.php gave the attacker remote PHP execution on any installed
copy.

T0197 · Initial Access · Use code from untrusted source

Users who downloaded from the mirror installed the backdoored build
instead of the project's release.

Framework gaps noted

Sources