Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 12h Vulnerability in GNU m4 software · 16h Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 17h Fragnesia: When a Firewall Becomes the Target · 1d Vulnerability in Chainlit software · 1d Vulnerabilities in GNU Screen software · 1d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 1d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 1d VMware VMSA-0011: When the Hypervisor Becomes the Attack Surface · 2d Vulnerabilities in PrestaHelp phsuperpack module for PrestaShop · 2d Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 12h Vulnerability in GNU m4 software · 16h Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 17h Fragnesia: When a Firewall Becomes the Target · 1d Vulnerability in Chainlit software · 1d Vulnerabilities in GNU Screen software · 1d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 1d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 1d VMware VMSA-0011: When the Hypervisor Becomes the Attack Surface · 2d Vulnerabilities in PrestaHelp phsuperpack module for PrestaShop · 2d
🛡️
ACyber Sentinel Команда оценки безопасности
← Назад
⚡ Разведотчёт

Критические уязвимости PHP позволяют выполнять код, но не паникуйте в стиле 'PHP2Shell'

5 минут чтенияИсточник: scanrail через Getty ImagesКоманда PHP выпустила новое обновление безопасности, исправляющее широкий спектр уязвимостей и проблем, но по сравнению с хаосом PHP2Shell в прошлом месяце, насколько эти ошибки будут интересовать злоумышленников, сложнее определить. Это связано с тем, что, по словам разработчиков PHP, семь проблем, оцененных как "критические" в последнем ежемесячном обновлении безопасности, "требуют либо нестандартной конфигурации, либо редких настроек." Обновление, опубликованное 19 ноября, затрагивает все поддерживаемые версии PHP, и разработчики настоятельно призывают пользователей обновиться как можно скорее.Это последнее обновление появилось на фоне атак злоумышленников на PHP2Shell — пару уязвимостей (CVE-2026-109618 и CVE-2026-109619), способных к удаленному выполнению кода (RCE) в PHP — массово. PHP является языком сценариев с открытым исходным кодом, широко используемым в веб-разработке и присутствующим во многом серверном инфраструктуре, поддерживающей работу Интернета. Учитывая повсеместное использование PHP, стремление к патчам вызвало ажиотаж в индустрии безопасности, который едва ли наблюдался с момента Log4Shell в 2021 году.

Связано: Следы курсора вредоносного кода Claude ведут к утечке данных третьих сторон

Версии PHP с 8.2 по 8.5 теперь имеют доступные патчи через страницу загрузок проекта, в виде 8.2.36, 8.3.37, 8.4.28 и 8.5.13. 8.6.0; последнее основное обновление PHP также было выпущено сегодня с включенными исправлениями.

Среди десятков проблем, учтенных в журнале изменений, семь, отмеченные как критические (CVSS 9.2) на GitHub, были: ошибка RCE несоответствия сериализатора сессий CVE-2026-115560; использование после освобождения памяти через повторное заполнение глобальной переменной last_fatal_error_backtrace после сбоя CVE-2026-129182; уязвимость RCE использования после освобождения памяти в кэше часовых поясов CVE-2026-129496; использование после освобождения памяти после прерванного завершения сессии CVE-2026-129481; использование после освобождения памяти в обратных трассировках магических методов RCE CVE-2026-129474; ошибка мошенничества запросов PHP-FPM через нечитанное тело HTTP-запроса CVE-2026-129289; и уязвимость RCE обработчика сессий на основе файлов PHP CVE-2026-126714.

Хотя разработчики включили обходные пути в большинство критических уведомлений (за исключением CVE-2026-115560), они считаются временными мерами, и пользователи должны обновляться как можно скорее.

Джастин Мур, директор операций по противодействию в Arctic Wolf, говорит Dark Reading, что две проблемы, с которыми организации столкнутся при патче этих проблем, — это непрерывность бизнеса для серверов, выполняющих критические функции, и видимость. "Многие организации не имеют полного инвентаря того, где работает PHP, особенно с устаревшими приложениями, внутренне разработанными веб-сервисами, управляемыми хостингами или сторонним программным обеспечением. Он встроен в платформы CMS, панели управления хостингом, устройства поставщиков и старые внутренние приложения," говорит он. "Когда уязвимость раскрывается, основной проблемой является идентификация каждого аспекта бизнеса, который затрагивается. Реальность такова, что системы PHP, доступные в Интернете, должны переместиться вперед в очереди на патч, потому что злоумышленники неоднократно демонстрировали интерес к быстрому использованию уязвимостей PHP, когда существует путь к выполнению кода."

Связано: Боты Grok пытаются получить доступ к корпоративным данным без одобрения пользователя

Уязвимости PHP, которые следует приоритизировать для патча

Среди критических уязвимостей есть некоторые, на которых эксперты рекомендуют сосредоточиться в первую очередь. Согласно Upwind, который опубликовал анализ обновления безопасности, ошибка PHP-FPM CVE-2026-129289 — это то, что нужно закрыть в первую очередь, потому что она "дает неаутентифицированному злоумышленнику выполнение кода PHP с одного запроса," без необходимости в повреждении памяти, цепочке гаджетов или гонке для эксплуатации. Хотя Upwind считает, что это самый прямой путь к выполнению кода, "это требует фронтенда, который повторно использует соединения FastCGI, и пути приложения, который открывает php://input без его чтения до конца."

Upwind также отметил, что три из уязвимостей устраняют пробелы, введенные исправлениями PHP2Shell в прошлом месяце. "PHP связывает CVE-2026-129481 и CVE-2026-129182 с случаями, которые исправление октября для CVE-2026-109619 не охватывало," согласно анализу. "Третья, CVE-2026-129474, стала удаленно доступной через изменение, введенное в 8.5.12."

Связано: F-Secure выявляет 26 способов, как ИИ может навредить потребителям, и где их остановить

Все три зависят от конкретных конфигураций и версий. CVE-2026-129474 и CVE-2026-129182 применимы только к PHP 8.5, в то время как CVE-2026-129481 исключает PHP 8.2. CVE-2026-129474 и CVE-2026-129182 оба зависят от функции механизма обратной трассировки фатальных ошибок PHP 8.5, которая была введена с этой версией; для CVE-2026-129481 поведение очистки сессии, которое оно использует, было введено в PHP 8.3.

Наконец, среди других рекомендаций, которые делает анализ, один более широкий совет может оказаться актуальным для широкого круга организаций, использующих PHP: "Не забывайте о контейнерных образах и устройствах, которые объединяют свою собственную сборку PHP. Им необходимо переоснащение или обновление от поставщика."

Тем временем, Джейк Нотт из WatchTowr говорит Dark Reading, что CVE-2026-115560, CVE-2026-126714 и CVE-2026-129289 — это те, которые фирма ожидает, что злоумышленники будут атаковать в первую очередь.

В любом случае, хотя это не тот же уровень экстренной ситуации, что наблюдался в прошлом месяце, пользователи должны обязательно применить это последнее обновление как можно скорее.

Приоритеты PHP у всех будут разные

Тот факт, что уязвимость оценена как критическая, не означает, что она одинаково применима ко всем организациям или что злоумышленники обязательно будут нацеливаться на каждую проблему, как на ошибки PHP2Shell в прошлом месяце.

Нотт, который является главой разведки угроз в WatchTowr, говорит, что организациям необходимо учитывать такие факторы, как то, как уязвимость эксплуатируется, и насколько вероятна реальная эксплуатация. И более конкретно, использует ли эта организация затронутые конфигурации или соответствует ли требованиям для эксплуатации. Только тогда можно определить, где у злоумышленников есть жизнеспособный путь и как защитники могут приоритизировать защиту своих сред.

Он говорит, что лучше всего начать с трех вопросов. Во-первых, как запускается PHP (будь то PHP-FPM, Apache mod_php, php-cgi или что-то еще)? Во-вторых, как настроены сессии, и включен ли прогресс загрузки сессии?

Упомянутые уязвимости

CVE-2026-129496 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129496 - Timezone cache use-after-free can lead to remote code execution
Timezone cache use-after-free can lead to remote code execution. In non-thread-safe builds, a diagnostic written to a file-based error_log during module startup, for example for an invalid date.timezone value or a session configuration warning, causes the timezone cache to be allocated in startup memory that is freed while a reference to it is kept. A diagnostic raised early in the first request of a worker, such as the max_input_vars warning, then accesses the freed cache. On such a deployment an unauthenticated remote attacker can crash PHP-FPM, Apache mod_php or CGI workers with a crafted request. Arbitrary code execution may be possible and has been demonstrated with known memory addresses. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-129481 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129481 - Use-after-free after interrupted session shutdown
Use-after-free after interrupted session shutdown. The session extension records the filename of the executing script when a session starts. If a fatal error occurs in an application callback while the session variables are destroyed at shutdown, such as stream_close() of a user-defined stream wrapper, the pointer is retained after the request memory is freed, and a later request handled by the same worker can free the stale string. An attacker who can trigger such a failing cleanup may crash the worker or corrupt memory; code execution has not been demonstrated. This requires the filename to be allocated in request memory, for example when the script is not cached by OPcache. This issue affects PHP versions 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-129474 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129474 - Use-after-free in magic method backtraces can lead to remote code execution
Use-after-free in magic method backtraces can lead to remote code execution. When collecting the arguments of a method call handled by __call() or __callStatic() for a backtrace, PHP can read stale values that may refer to freed memory. If a fatal error such as exceeding memory_limit occurs while an application enters such a call, with fatal_error_backtraces enabled (the default) and zend.exception_ignore_args disabled, a remote attacker who controls enough request data to influence memory allocation may cause memory corruption, crash the PHP worker or, with knowledge of memory addresses, execute arbitrary code. php.ini-production enables zend.exception_ignore_args, which prevents this. This issue affects PHP versions 8.5.* before 8.5.13.
CVE-2026-129289 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129289 - PHP-FPM request smuggling through an unread HTTP request body
PHP-FPM request smuggling through an unread HTTP request body. PHP does not discard the unread part of an HTTP request body at request shutdown when the application has opened php://input without reading it to the end. When the front end reuses backend connections, which is not the default in nginx or Apache (for example nginx with fastcgi_keep_conn on, or Apache mod_proxy_fcgi with enablereuse=on), PHP-FPM can parse the leftover bytes as a new FastCGI request. An unauthenticated remote attacker can use a single crafted multipart/form-data request to forge a backend request with chosen parameters such as SCRIPT_FILENAME, REMOTE_ADDR and PHP_ADMIN_VALUE, which can lead to execution of attacker-controlled PHP code. With LSAPI, subsequent requests on the connection can be disrupted. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-129182 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129182 - Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown
Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown. A fatal error raised while modified INI settings are restored during request shutdown can repopulate the stored fatal error backtrace after the executor has been cleaned up. The request memory is then freed, and a diagnostic emitted before executor initialization in a later request handled by the same PHP-FPM or mod_php worker can access the stale backtrace. The shutdown error requires per-path configuration of max_memory_limit, or of zlib.output_compression together with output_handler (which .user.ini can also set). The early diagnostic requires Apache per-directory configuration or, for PHP-FPM, a PHP_VALUE or PHP_ADMIN_VALUE parameter sent by the front end. This can cause memory corruption and worker crashes, and may allow remote code execution. This issue affects PHP versions 8.5.* before 8.5.13.
CVE-2026-126714 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-126714 - Partially overwritten session files can lead to remote code execution
Partially overwritten session files can lead to remote code execution. The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session data can also be corrupted. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-115560 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-115560 - Session serializer mismatch can lead to remote code execution
Session serializer mismatch can lead to remote code execution. Session upload progress, when enabled, can store attacker-controlled data in a session key using the php_binary or php_serialize session serializer. If the same session is later read with the php serializer, because session.serialize_handler is changed at runtime or differs between applications sharing a session store, bytes inside the key can be passed to the unserializer. A remote attacker able to submit a multipart upload can inject objects, which may lead to code execution when the reading application contains a suitable gadget chain, or to session corruption or denial of service. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-109619 CVSS 9.8 CRITICAL Analyzed
CVE-2026-109619 - PHP Stale Internal Request-State Vulnerability - [Actively Exploited]
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. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).
CVE-2026-109618 CVSS 9.8 CRITICAL Analyzed
CVE-2026-109618 - PHP Memory Corruption Vulnerability - [Actively Exploited]
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 leave request memory in an uninitialized state before performing an allocation. The subsequent request cleanup procedure may read or branch on this memory. Multiple OOM strategies can consistently trigger this condition and lead to remote code execution (RCE).