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 تیم ارزیابی امنیتی
← بازگشت
⚡ گزارش اطلاعاتی

چگونه WAF کلودفلر به محافظت در برابر phpAfterShell و دیگر آسیب‌پذیری‌های بحرانی PHP کمک می‌کند

در تاریخ 19 نوامبر 2026، شرکت تحقیقاتی امنیتی depthfirst آسیب‌پذیری phpAfterShell (CVE-2026-126714) را که در مدیریت جلسه مبتنی بر فایل پیش‌فرض PHP وجود دارد و می‌تواند منجر به اجرای کد از راه دور شود، افشا کرد. طبق سیستم امتیازدهی آسیب‌پذیری‌های مشترک (CVSS) 4.0، این آسیب‌پذیری امتیاز 9.2 از 10 (بحرانی) را کسب کرده است. پروژه PHP همان روز آن را در نسخه‌های 8.2.36، 8.3.37، 8.4.28، 8.5.13 و 8.6.0 اصلاح کرد. این نسخه‌ها 16 آسیب‌پذیری امنیتی دیگر را نیز اصلاح می‌کنند که شش مورد از آن‌ها نیز به عنوان بحرانی ارزیابی شده‌اند.

فایروال برنامه وب (WAF) کلودفلر الگوهای حمله phpAfterShell شناخته شده را مسدود می‌کند، از جمله برای مشتریان در طرح رایگان. این حفاظت ناشی از یک قانون اجرای کد از راه دور PHP است که ما برای اولین بار در اکتبر 2026 برای آسیب‌پذیری‌های php2shell پیاده‌سازی کردیم. آن قانون قبلاً بخشی از الگوی حمله phpAfterShell را قبل از افشای آسیب‌پذیری شناسایی کرده بود و در تاریخ 19 نوامبر، منطق شناسایی آن را به‌روزرسانی کردیم تا phpAfterShell را پوشش دهد. این قانون بخشی از هر دو مجموعه قوانین مدیریت شده رایگان کلودفلر و مجموعه قوانین مدیریت شده کلودفلر است، به‌طور پیش‌فرض فعال است و عمل پیش‌فرض آن مسدود کردن است.

در همان نسخه WAF، ما سه قانون جدید به مجموعه قوانین مدیریت شده کلودفلر برای طرح‌های پولی اضافه کردیم: یکی برای یک نقص در حمل و نقل درخواست در PHP-FPM (CVE-2026-129289) و دو مورد برای نقص‌ها در افزونه SOAP PHP (CVE-2026-15353 و CVE-2026-129506) که PHP در همان نسخه‌ها اصلاح کرده است. این قوانین به‌طور پیش‌فرض با عمل ثبت (Log) فعال هستند، زیرا الگوهای درخواست که به دنبال آن‌ها هستند می‌توانند در ترافیک مشروع نیز ظاهر شوند و مسدود کردن به‌طور پیش‌فرض می‌تواند آن را مختل کند. مشتریان می‌توانند درخواست‌های مطابقت یافته را در رویدادهای امنیتی بررسی کنند و پس از تأیید اینکه قوانین بر ترافیک مشروع تأثیر نمی‌گذارند، عمل را به مسدود کردن تغییر دهند.

WAF یک لایه اضافی از دفاع است و جایگزینی برای وصله نیست. چندین آسیب‌پذیری بحرانی به پیکربندی سرور وابسته هستند یا می‌توانند از طریق مسیرهایی که WAF نمی‌بیند، قابل دسترسی باشند و تنها راه حل کامل، ارتقاء PHP و راه‌اندازی مجدد هر کارگر است. تحلیلگران ما به نظارت بر فعالیت‌های حمله ادامه می‌دهند و قوانین را به‌روزرسانی خواهند کرد زیرا تکنیک‌ها و واریانت‌های جدیدی ظاهر می‌شوند. شما می‌توانید تغییرات قوانین را در تغییرات WAF پیگیری کنید و نحوه توسعه آسیب‌پذیری‌ها را در گزارش‌های اختصاصی کلودفلر Zero Wire دنبال کنید.

تا کنون هیچ نشانه‌ای مبنی بر اینکه این آسیب‌پذیری‌ها مورد سوءاستفاده قرار گرفته‌اند وجود ندارد. تا تاریخ 19 نوامبر 2026، هیچ یک از 17 آسیب‌پذیری در فهرست آسیب‌پذیری‌های شناخته شده مورد سوءاستفاده CISA ذکر نشده است و هیچ منبعی که ما بررسی کردیم گزارشی از سوءاستفاده در دنیای واقعی ارائه نمی‌دهد.

آنچه ما درباره phpAfterShell می‌دانیم

PHP به‌طور پیش‌فرض داده‌های جلسه را در فایل‌ها ذخیره می‌کند. زمانی که یک برنامه session_start() را فراخوانی می‌کند، PHP فایل جلسه را می‌خواند و محتوای آن را به آرایه $_SESSION تبدیل می‌کند. وقتی درخواست به پایان می‌رسد، PHP جلسه به‌روزرسانی شده را به همان فایل می‌نویسد.

phpAfterShell زمانی فعال می‌شود که آن نوشتن متوقف شود. فایل جلسه می‌تواند آغاز داده‌های جلسه جدید را در کنار پایان داده‌های قدیمی نگه دارد. در درخواست بعدی، session_start() این محتوای ترکیبی را غیرسریالیزه می‌کند. اگر یک مهاجم کنترل داده‌های قدیمی را داشته باشد، PHP می‌تواند به‌طور غیرمنتظره‌ای اشیاء انتخابی مهاجم را غیرسریالیزه کند.

مهاجمی که سعی در سوءاستفاده از این نقص دارد احتمالاً ابتدا به دنبال راهی برای قرار دادن داده‌های کنترل شده در جلسه خواهد بود. مشاوره PHP دو مورد را نام می‌برد:

پیشرفت بارگذاری جلسه، یک ویژگی PHP که اطلاعات مربوط به بارگذاری فایل در حال اجرا را در جلسه می‌نویسد. یک مشتری از راه دور می‌تواند از آن برای شکل‌دهی به داده‌های ذخیره شده استفاده کند.

برنامه‌هایی که رشته‌های بزرگ کنترل شده توسط کاربر را در جلسه ذخیره می‌کنند.

طبق گفته PHP، اجرای کد همچنین به یک وقفه در نقطه مفید در نوشتن و یک زنجیره گجت غیرسریالیزه مناسب در برنامه نیاز دارد. depthfirst گزارش می‌دهد که بدون استفاده از گجت برنامه، به اجرای کد دست یافته است و این کار را با زنجیره‌سازی یک باگ ناشناخته در کلاس بومی PHP انجام داده است. منابعی که ما بررسی کردیم مشخص نمی‌کنند که آیا آن باگ دوم در نسخه‌های 19 نوامبر اصلاح شده است یا خیر.

depthfirst می‌گوید که phpAfterShell را کشف و گزارش کرده است. رکورد CVE به لئو لین و آساھی به عنوان گزارش‌دهندگان اعتبار می‌دهد.

دیگر نقص‌های بحرانی

همان نسخه‌ها شش آسیب‌پذیری بحرانی دیگر را نیز اصلاح می‌کنند. هر یک از آن‌ها به یک پیکربندی خاص نیاز دارد تا قابل سوءاستفاده باشد:

CVEComponentImpactConditions

CVE-2026-129289PHP-FPM

یک مهاجم غیرمعتبر می‌تواند یک درخواست FastCGI دوم را به PHP-FPM منتقل کند و کد PHP را به عنوان کارگر اجرا کند. یک رابط کاربری که اتصالات FastCGI پشتیبان را دوباره استفاده می‌کند (nginx با fastcgi_keep_conn روشن، Apache mod_proxy_fcgi با enablereuse=on، یا HAProxy)، یک مسیر برنامه که php://input را بدون خواندن به انتها باز می‌کند و مسیر یک اسکریپت PHP موجود.

CVE-2026-115560

سریال‌ساز جلسه

تزریق شی از طریق عدم تطابق بین سریال‌سازهای جلسه. اولین بار در گزارش php2shell ما پوشش داده شده است، اکنون اصلاح شده است.

پیشرفت بارگذاری جلسه فعال شده است. PHP دامنه را گسترش داد: برنامه‌ها، استخرها یا کارهای خط فرمان که از سریال‌سازهای مختلف استفاده می‌کنند و یک ذخیره‌سازی جلسه را به اشتراک می‌گذارند تحت تأثیر قرار می‌گیرند.

CVE-2026-129496

کش منطقه زمانی

استفاده پس از آزادسازی که می‌تواند یک کارگر تازه را خراب کند و احتمالاً کد را اجرا کند. PHP اجرای کد را به‌طور محلی با آدرس‌های حافظه شناخته شده نشان داد.

ساخت‌های غیر ایمن از نظر رشته که یک تشخیص راه‌اندازی به یک فایل لاگ خطای PHP نوشته شده است.

CVE-2026-129481

خاموش کردن جلسه

استفاده پس از آزادسازی، که PHP آن را به عنوان یک اصلاح ناقص برای CVE-2026-109619 توصیف کرده است. هیچ اجرای کدی نشان داده نشده است.

PHP 8.3 و بالاتر.

CVE-2026-129474

ردیابی خطاهای بحرانی

استفاده پس از آزادسازی در ردیابی‌های متد جادویی.

PHP 8.5 و بالاتر، جایی که ردیابی خطاهای بحرانی به‌طور پیش‌فرض فعال است. تنظیم zend.exception_ignore_args=1، پیش‌فرض php.ini-production، حمله نشان داده شده را مسدود می‌کند.

CVE-2026-129182

ردیابی خطاهای بحرانی

استفاده پس از آزادسازی. هیچ اجرای کدی نشان داده نشده است.

PHP 8.5، تنظیمات خاص سطح مسیر، و یک پیکربندی Apache per-directory یا رابط کاربری که یک تشخیص زودهنگام تولید می‌کند.

چه کسی تحت تأثیر قرار می‌گیرد

نسخه‌های آسیب‌پذیر PHP 8.2 قبل از 8.2.36، 8.3 قبل از 8.3.37، 8.4 قبل از 8.4.28، 8.5 قبل از 8.5.13 و نامزدهای انتشار 8.6.0 هستند. اینکه آیا یک استقرار در معرض خطر است به شرایط هر نقص بستگی دارد.

PHP 8.1 و نسخه‌های قبلی به پایان عمر خود رسیده‌اند. depthfirst

آسیب‌پذیری‌های مرتبط

CVE-2026-15353 CVSS 6.3 MEDIUM Awaiting Analysis
CVE-2026-15353 - SOAP information disclosure through malformed array dimensions
SOAP information disclosure through malformed array dimensions. The SOAP extension reads an uninitialized array position when decoding an encoded array whose arraySize attribute is empty, whitespace-only or non-numeric, or when such dimensions come from a WSDL definition. Four bytes of unrelated heap data can then be used as an integer key in the decoded array. An unauthenticated remote client can trigger this with a crafted request to a SoapServer endpoint, and a malicious SOAP server with a response to SoapClient. Heap memory is disclosed only if the application returns or otherwise exposes the decoded array. 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-129506 CVSS 6.3 MEDIUM Awaiting Analysis
CVE-2026-129506 - SOAP use-after-free when processing DTD entity references
SOAP use-after-free when processing DTD entity references. The SOAP extension frees the document type definition (DTD) of a parsed XML document while attribute values can still refer to entities it owns, and can then read freed memory. Removing the DTD also bypasses the SOAP server's rejection of documents that contain one. An unauthenticated remote attacker who can send a crafted request to a SOAP endpoint, or who controls a WSDL or schema document loaded by the application, can crash the PHP process and cause denial of service. Memory disclosure and code execution have not been confirmed. 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-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).
CVE-2023-50387 CVSS 7.5 HIGH Modified
CVE-2023-50387 - BIND DNSSEC CPU Denial of Service Vulnerability
Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to cause a denial of service (CPU consumption) via one or more DNSSEC responses, aka the "KeyTrap" issue. One of the concerns is that, when there is a zone with many DNSKEY and RRSIG records, the protocol specification implies that an algorithm must evaluate all combinations of DNSKEY and RRSIG records.