Bij WordPress vereist het verhelpen van PHP2Shell een patch van de PHP-runtime. De applicatieversie helpt compatibiliteitsproblemen vinden, maar bewijst geen misbruikbaarheid of herstel van beide CVE’s.
WordPress - PHP-compatibiliteit voor de PHP2Shell-fix
| Voorbeeldrelease | Opgegeven PHP-eis | Kandidaten volgens de declaratie | Oorspronkelijke bron |
|---|---|---|---|
| 6.9 | >=7.2.24 | raw.githubusercontent.com ↗ | |
| 6.8 | >=7.2.24 | raw.githubusercontent.com ↗ | |
| 6.7 | >=7.2.24 | raw.githubusercontent.com ↗ | |
| 6.6 | >=7.2.24 | raw.githubusercontent.com ↗ | |
| 6.5 | >=7.0.0 | raw.githubusercontent.com ↗ | |
| 6.4 | >=7.0.0 | raw.githubusercontent.com ↗ | |
| 6.3 | >=7.0.0 | raw.githubusercontent.com ↗ | |
| 6.2 | >=5.6.20 | raw.githubusercontent.com ↗ | |
| 5.9 | >=5.6.20 | raw.githubusercontent.com ↗ | |
| 5.8 | >=5.6.20 | raw.githubusercontent.com ↗ | |
| 4.9 | >=5.2.4 | raw.githubusercontent.com ↗ |
Kandidaten vergelijken alleen deze declaratie met de eerste PHP2Shell-fixes in ondersteunde takken. Ze bewijzen geen geteste compatibiliteit, leverancierondersteuning of passende afhankelijkheden. PHP-compatibiliteit voor de PHP2Shell-fix ↗
Omvang van de PHP2Shell-reparatie bepalen
Bestanden en pakketidentiteit
wp-includes/version.phpwp-content/plugins/wp-content/themes/
WordPress - Blokkades voor de PHP2Shell-fix oplossen
Inventariseer WordPress-kern, thema’s en plugins, inclusief child-thema’s, mu-plugins en drop-ins. Bepaal de versie via Sitediagnose of version.php. Test een volledige kopie vóór Web-PHP verandert. Oude minima adviseren geen niet-ondersteunde PHP.
Afhankelijkheden en eigen code
Officiële documentatie ↗WordPress - PHP-compatibiliteit voor de PHP2Shell-fix ↗Sitefuncties testen na de PHP2Shell-fix
Inventarisatie vóór de PHP2Shell-fix
Gebruik een geautoriseerde werkkopie.
php -v
php --ini
php -mWordPress - PHP2Shell-patches controleren
Verifieer beide fixes in de PHP die deze site bedient. Vervang of herstart oude Web-processen, wachtrijwerkers en replica’s. Een werkende homepage of nieuw CLI-programma is onvoldoende bewijs.
3. Herstart en verifieer alles ↗