NFS2ROOT: A Decade Old Linux Vulnerability CVE-2026-99362 · 13h CISA KEV Weekly Briefing – Week 48 · 1d Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 2d Vulnerability in GNU m4 software · 2d Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 2d Fragnesia: When a Firewall Becomes the Target · 3d Vulnerability in Chainlit software · 3d Vulnerabilities in GNU Screen software · 3d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 3d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 3d NFS2ROOT: A Decade Old Linux Vulnerability CVE-2026-99362 · 13h CISA KEV Weekly Briefing – Week 48 · 1d Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 2d Vulnerability in GNU m4 software · 2d Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 2d Fragnesia: When a Firewall Becomes the Target · 3d Vulnerability in Chainlit software · 3d Vulnerabilities in GNU Screen software · 3d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 3d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 3d
🛡️
ACyber Sentinel 安全评估团队
← 返回
⚡ 情报报告

一切都是Web应用程序,包括您的防火墙

PHP2Shell利用的早期目标之一是防火墙。10月28日,Palo Alto Networks确认攻击者正在利用两个PHP漏洞,CVE-2026-109618和CVE-2026-109619,针对暴露在互联网的PAN-OS管理接口。这两个缺陷允许任何人在没有身份验证的情况下在Web服务器上执行代码。披露本身出现了一些问题。细节在10月20日泄露,早于协调发布,PHP项目在第二天发布了紧急补丁。

这些漏洞不需要身份验证,但并不容易可靠地利用。它需要技能和对目标系统的额外知识。重要的是,设备运行相同的、通常过时的软件,攻击者可以提前研究。这是更大的图景。大量Web应用程序控制着您网络中的关键设备。几乎任何东西在某种程度上都是Web应用程序。这往往被忽视,因此这些应用程序没有得到充分保护。

一切都是Web应用程序。这是我教授的SANS课程SEC522:应用安全:保护Web应用程序、API和微服务的座右铭。Web应用程序安全传统上被视为开发者的问题,但任何保护网络的人都必须了解Web应用程序的工作原理,以便正确防御它们。

为什么设备是更软的目标

在普通Web服务器上,地址空间布局随机化(ASLR)是使利用更困难的特性之一。它打乱了代码和数据在内存中的位置,因此利用不能依赖固定地址。VulnCheck的早期分析发现这些漏洞在ARM64系统和没有ASLR的x86系统上是可以利用的。很少有公共利用绕过x86-64上的ASLR,而VulnCheck确认的一个利用仅对单个PHP版本有效。VulnCheck自己的利用将内存泄漏与启用ASLR的代码执行连接在一起。

设备改变了这个计算,不是因为保护缺失,而是因为给定软件版本上的每个设备都运行相同的二进制文件,因此攻击者可以提前计算内存偏移量。PAN-OS利用仍然必须击败ASLR,通过Set-Cookie头泄漏libphp.so基地址,而SELinux限制了结果shell。PAN-OS还发布了生命周期结束的PHP版本(8.0.30和7.4.33)。以色列安全公司Dream与Palo Alto Networks合作进行调查,发现攻击者获得了PAN-OS固件,解密了它,提取了PHP库,并为九个软件版本构建了精确的内存配置文件。然后,攻击者将PHP2Shell与Linux内核缺陷(Fragnesia,CVE-2026-46300)链式连接,以在美国、日本、台湾和韩国的25个系统(24个防火墙和一个管理服务器)上获得root权限。

Web应用程序安全往往侧重于大型云应用程序。通常是小事情,互联网上的蚊子,会让您陷入困境。设备运行可预测的、通常过时的软件,并且无处不在。

HTTP比您的防御假设的更复杂

HTTP是一个非常复杂的协议,有很多选项。要上传文件,客户端不必将其一次性发送。它可以分块发送主体,而不声明其总长度,并且如果服务器解压请求主体,则压缩它,这使得Web服务器很难计算需要多少内存来存储它。因此,内存安全漏洞在Web应用程序及其运行的Web服务器中仍然很常见。在PHP2Shell中,经过精心制作的多部分上传在PHP仍在解析请求时将其推过内存限制,在任何应用程序代码运行之前。漏洞在于PHP在中止请求时留下的内容:未初始化的请求内存(CVE-2026-109618)和指向已释放内存的指针(CVE-2026-109619)。请求也不需要很大。深度嵌套的空文件字段使PHP分配的内存远远超过主体所包含的内容,因此一个远低于默认8 MB post_max_size的请求仍然可以耗尽默认的128 MB内存限制。

防御者必须了解协议,以了解这些漏洞的样子,例如编写检测利用的签名。同样的复杂性限制了我们依赖的中间设备。它们甚至可能以无人计划的方式干扰。Intruder发现,位于PAN-OS前面的nginx缓冲了分块请求主体,这破坏了公共利用链。Web应用防火墙通常不够充分,而文件上传是许多Web应用程序的关键功能,因此完全阻止它们不是一个选项。

这消除了许多传统防御措施。剩下的就是知道您的关键Web应用程序在哪里。识别它们,从您的防火墙和其他网络设备上的管理接口开始,并限制对它们的访问。Palo Alto针对PHP2Shell的指导建议是移除管理接口的互联网访问,并将其限制为可信的内部IP地址。如果您依赖Web应用防火墙,请正确配置它,并了解它提供和不提供多少保护。

风险是最难的判断

从PHP2Shell中得到的最清晰的教训是,准确确定这种漏洞的风险是多么困难。优先级始终是防御者面临的一个重大问题,特别是在今天漏洞泛滥的情况下,而这个漏洞从各个角度来看都很难解读。

评分讲述了不同的故事。PHP项目在CVSS 4.0下将这两个缺陷评为9.2,而Fortinet的PSIRT在CVSS v3下列出了9.8。Palo Alto最初为其自身产品将此问题评分为8.7,并列为中等紧急性,在10月27日将其提高到9.2的严重级别,并确认在其建议发布一周后进行了利用。许多公共概念证明无效,因此您日志中的大量尝试并不能说明特定服务器是否处于风险中。PHP核心开发者Gina Peter Banyard警告说,一个早期的解决方法是关闭session。

相关漏洞

CVE-2026-118383 CVSS 10 CRITICAL Analyzed
CVE-2026-118383 - Pre-authentication use-after-free in MongoDB Server replica set primary catch-up
A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not.
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-2026-46300 CVSS 7.8 HIGH Analyzed
CVE-2026-46300 - Linux Kernel Missing Initialization of a Variable Vulnerability - [Actively Exploited]
In the Linux kernel, the following vulnerability has been resolved: net: skbuff: preserve shared-frag marker during coalescing skb_try_coalesce() can attach paged frags from @from to @to. If @from has SKBFL_SHARED_FRAG set, the resulting @to skb can contain the same externally-owned or page-cache-backed frags, but the shared-frag marker is currently lost. That breaks the invariant relied on by later in-place writers. In particular, ESP input checks skb_has_shared_frag() before deciding whether an uncloned nonlinear skb can skip skb_cow_data(). If TCP receive coalescing has moved shared frags into an unmarked skb, ESP can see skb_has_shared_frag() as false and decrypt in place over page-cache backed frags. Propagate SKBFL_SHARED_FRAG when skb_try_coalesce() transfers paged frags. The tailroom copy path does not need the marker because it copies bytes into @to's linear data rather than transferring frag descriptors.