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 دیده شده است.

نسخه‌های 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؛ استفاده پس از آزادسازی از طریق بازپروری global آخرین خطای کشته‌شده پس از نقص خاموشی 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 زمانی که راهی برای اجرای کد وجود دارد، نشان داده‌اند."

در میان نقص‌های بحرانی، برخی از کارشناسان توصیه می‌کنند که ابتدا بر روی آن‌ها تمرکز شود. به گفته 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 به طور از راه دور قابل دسترسی شد."

در نهایت، در میان سایر توصیه‌هایی که تحلیل ارائه می‌دهد، یک نکته کلی ممکن است برای طیف وسیعی از سازمان‌های استفاده‌کننده از 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).