Security News > 2021 > March > PHP web language narrowly avoids “backdoor” supply chain attack

PHP web language narrowly avoids “backdoor” supply chain attack
2021-03-30 18:30

Open source web programming language PHP narrowly avoided a potentially dangerous supply chain attack over the weekend.

In theory, anyone who downloaded the very latest "Still in development" version of PHP on Sunday 2021-03-28, compiled it, and installed it on a real-life, internet facing web server could have been at risk.

PHP development is managed using the well-known Git source code control system, on a server operated by the PHP team itself.

The good news, as we mentioned above, is that this backdoor didn't make it into any official PHP releases, so it's highly unlikely that this Trojan Horse code made it into any real-world servers.

If the above backdoor code has somehow made it into your PHP tree, you would see something like this instead. /home/user/php-source$ grep -R zend eval ext/zlib/* ext/zlib/zlib.

In the unlikely event that your code includes the backdoor, you need to refresh your PHP source from the new repository as well as looking for any other unexplained modifications in your code, or unexpected commands in your logs.


News URL

https://nakedsecurity.sophos.com/2021/03/30/php-web-language-narrowly-avoids-dangerous-supply-chain-attack/

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
PHP 9 1 43 113 123 280