Is PHP 7.4 nog veilig?
Nee, niet meer veilig
PHP 7.4 krijgt sinds 28 november 2022 geen beveiligingsupdates meer. Nieuwe lekken worden niet meer opgelost. Upgrade naar PHP 8.6.
7.4.33laatste versie in deze reeks (3 november 2022)
28 november 2019uitgebracht
28 november 2021einde actieve ondersteuning
28 november 2022einde beveiligingsupdates
Wat moet je doen?
- Upgrade naar PHP 8.6 (8.6.0), of minimaal naar 8.2.
- Maak eerst een back-up en test de upgrade op een kopie van je website: bij een grote upgrade kunnen oude plug-ins, thema's of maatwerk stoppen met werken.
- Heb je gedeelde hosting? Vraag je hostingpartij om PHP te upgraden, of kies zelf een nieuwere versie in het controlepaneel.
Bekende kwetsbaarheden in PHP 7.4.33
5 bekende kwetsbaarheden zitten nog in de laatste versie van deze reeks, en die worden niet meer opgelost. Waarvan 3 kritiek.
- A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific...
- PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and...
- PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset....
- A vulnerability was found in PHP where setting the environment variable PHP_CLI_SERVER_WORKERS to a large value leads to a heap buffer overflow.
- In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating...
Opgeloste lekken in de 7.4-reeks
Deze 36 kwetsbaarheden zaten in eerdere 7.4.x-versies en zijn opgelost in een update. Draai je een oudere versie dan 7.4.33, dan ben je hier mogelijk wel kwetsbaar voor.
Toon de 36 opgeloste lekken
- The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate...
- PHP 7.x through 7.1.5 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a long string...
- The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects that result in a negative length, which allows remote...
- In PHP versions 7.4.x below 7.4.28, 8.0.x below 8.0.16, and 8.1.x below 8.1.3, when using filter functions with FILTER_VALIDATE_FLOAT filter and min/max limits, if the filter...
- In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres database extension, supplying invalid parameters to the parametrized query...
- In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child...
- In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to...
- In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access...
- In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload functionality, if upload progress tracking is enabled, but...
- PHP 7.1.5 has an Out of bounds access in php_pcre_replace_impl via a crafted preg_replace call.
- In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite...
- In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the...
- In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is...
- In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while parsing EXIF data with exif_read_data() function, it is possible for malicious data to cause...
- In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte...
- When using fgetss() function to read data with stripping tags, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that...
- When using certain mbstring functions to convert multibyte encodings, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data...
- In PHP versions 7.3.x below 7.3.13 and 7.4.0 on Windows, when supplying custom headers to mail() function, due to mistake introduced in commit...
- In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with...
- In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of...
- In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to...
- In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writing a file...
- In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, when validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with...
- In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return...
- In PHP versions 7.2.x below 7.2.31, 7.3.x below 7.3.18 and 7.4.x below 7.4.6, when HTTP file uploads are allowed, supplying overly long filenames or field names could lead PHP...
- In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL...
- In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause crashes in...
- In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into...
- When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 it is...
- When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 it is...
- In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using URL validation functionality via filter_var() function with FILTER_VALIDATE_URL...
- In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may...
- In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 on Windows, PHP link() function accepts filenames with embedded \0 byte and treats them as terminating at that...
- In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP DirectoryIterator class accepts filenames with embedded \0 byte and treats them as terminating at that...
- In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP bcmath extension functions on some systems, including Windows, can be tricked into reading beyond the...
- In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.
Alle PHP 7.4-versies
32 versies in deze reeks, de nieuwste bovenaan. Hoe ouder je versie, hoe meer updates (en vaak beveiligingsfixes) je mist.
| Versie | Uitgebracht | Leeftijd |
|---|---|---|
| 7.4.33 nieuwste | 3 november 2022 | 4 jaar |
| 7.4.32 | 29 september 2022 | 4 jaar en 2 maanden |
| 7.4.30 | 9 juni 2022 | 4 jaar en 5 maanden |
| 7.4.29 | 14 april 2022 | 4 jaar en 7 maanden |
| 7.4.28 | 17 februari 2022 | 4 jaar en 9 maanden |
| 7.4.27 | 16 december 2021 | 4 jaar en 11 maanden |
| 7.4.26 | 18 november 2021 | 5 jaar |
| 7.4.25 | 21 oktober 2021 | 5 jaar en 1 maand |
| 7.4.24 | 23 september 2021 | 5 jaar en 2 maanden |
| 7.4.23 | 26 augustus 2021 | 5 jaar en 3 maanden |
| 7.4.22 | 29 juli 2021 | 5 jaar en 4 maanden |
| 7.4.21 | 1 juli 2021 | 5 jaar en 5 maanden |
Toon alle 32 versies
| Versie | Uitgebracht | Leeftijd |
|---|---|---|
| 7.4.20 | 3 juni 2021 | 5 jaar en 5 maanden |
| 7.4.19 | 6 mei 2021 | 5 jaar en 6 maanden |
| 7.4.18 | 29 april 2021 | 5 jaar en 7 maanden |
| 7.4.16 | 4 maart 2021 | 5 jaar en 8 maanden |
| 7.4.15 | 4 februari 2021 | 5 jaar en 9 maanden |
| 7.4.14 | 7 januari 2021 | 5 jaar en 10 maanden |
| 7.4.13 | 26 november 2020 | 6 jaar |
| 7.4.12 | 29 oktober 2020 | 6 jaar en 1 maand |
| 7.4.11 | 1 oktober 2020 | 6 jaar en 2 maanden |
| 7.4.10 | 3 september 2020 | 6 jaar en 2 maanden |
| 7.4.9 | 6 augustus 2020 | 6 jaar en 3 maanden |
| 7.4.8 | 9 juli 2020 | 6 jaar en 4 maanden |
| 7.4.7 | 11 juni 2020 | 6 jaar en 5 maanden |
| 7.4.6 | 14 mei 2020 | 6 jaar en 6 maanden |
| 7.4.5 | 16 april 2020 | 6 jaar en 7 maanden |
| 7.4.4 | 19 maart 2020 | 6 jaar en 8 maanden |
| 7.4.3 | 20 februari 2020 | 6 jaar en 9 maanden |
| 7.4.2 | 23 januari 2020 | 6 jaar en 10 maanden |
| 7.4.1 | 18 december 2019 | 6 jaar en 11 maanden |
| 7.4.0 | 28 november 2019 | 7 jaar |
Welke versie heb ik?
- Kijk in het controlepaneel van je hostingpartij (bijv. DirectAdmin, Plesk of cPanel) bij de PHP-instellingen.
- WordPress: ga naar Gereedschap → Site Health → Info → Server.
- Via de opdrachtregel:
php -v.
Draait jouw website op PHP 7.4?
Passief en gratis: we vragen alleen je homepage op.
Veelgestelde vragen
- Is PHP 7.4 nog veilig?
- Nee, niet meer veilig. PHP 7.4 krijgt sinds 28 november 2022 geen beveiligingsupdates meer. Nieuwe lekken worden niet meer opgelost. Upgrade naar PHP 8.6.
- Tot wanneer krijgt PHP 7.4 beveiligingsupdates?
- Die zijn gestopt op 28 november 2022.
- Wat is de nieuwste versie van PHP 7.4?
- 7.4.33, uitgebracht op 3 november 2022.
- Welke PHP-versie moet ik gebruiken?
- Bij voorkeur de nieuwste: PHP 8.6 (8.6.0).