目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-49400— October CMS 后端部件会话存储PHP对象注入

一分钟漏洞结论

影响对象
octobercms october
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

October System 为 October 内容管理系统(CMS)提供系统模块。在 3.7.17 和 4.2.21 版本之前,后端 特性将 Widget 会话状态存储为 ,并在读取时使用 ,但未设置 限制。任何能够向 会话键写入攻击者可控字节的代码路径,都可能在下一次 Widget 读取其会话状态时触发 PHP 对象注入,从而实例化任意类并触发可达的 PHP 利用链(gadget chains)。此问题仅影响启用了 的安装环境。 Safe Mode(安全模式)是一个小众的可选功能,主要用于演示安装、多租户或共

CVSS 3.3 · Low

影响版本矩阵 2

厂商产品 版本范围状态
octobercms october < 3.7.17 affected
>= 4.0.0, < 4.2.23 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-49400 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
October CMS: PHP Object Injection via Backend Widget Session Storage
来源: CVE Program / CVE List V5
Vulnerability Description
October System provides the system module for October Content Management System. Prior to versions 3.7.17 and 4.2.21, the backend `SessionMaker` trait stored widget session state as `base64(serialize(...))` and consumed it with `unserialize()` without an `allowed_classes` restriction. Any code path that could write to a `widget.*` session key with attacker-controlled bytes could trigger PHP object injection the next time the widget read its session state, allowing instantiation of arbitrary classes and reachable PHP gadget chains. This issue only affects installations running with `cms.safe_mode` enabled. Safe Mode is a niche opt-in feature, primarily used for demo installations and multi-tenant or shared-editor scenarios where untrusted users are deliberately granted access to the CMS markup editor. In standard production deployments Safe Mode is off, backend access is restricted to trusted administrators, and a markup editor can already execute arbitrary PHP directly. The session-write path that reaches this sink is gated by the Safe Mode sandbox, so installations without Safe Mode enabled are not exposed. Scope of impact is narrow even with Safe Mode enabled. The standard backend code paths that populate widget session state (search terms, sort options, selected IDs, filter values) wrap the input inside a known array shape before serializing, so user-supplied values never reach `unserialize()` as a controllable serialized payload. Exploitation requires the Safe Mode session-write path together with a suitable PHP gadget chain reachable from the installed dependency set. The hardening below removes the underlying object-injection sink so the class of issue is closed off regardless. The vulnerability has been patched in v3.7.17 and v4.2.21. Two changes were applied. `Backend\Traits\SessionMaker` now stores widget session state as plain JSON instead of `base64(serialize(...))`, eliminating the object-injection sink entirely for new writes. Reads transparently fall back to the legacy format for one upgrade cycle so existing sessions retain their saved widget state. The legacy `unserialize()` fallback path now sets `allowed_classes => false`, so even values written before the upgrade cannot instantiate objects. As a workaround, restrict CMS markup editing access to fully trusted administrators only, the standard October CMS recommendation for any deployment.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
可信数据的反序列化
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
octobercms october < 3.7.17 -

二、漏洞 CVE-2026-49400 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-49400 的情报信息

登录查看更多情报信息。

CVE-2026-49400 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-49400

暂无评论


发表评论