AI Security AI安全 2h ago Updated 48m ago 更新于 48分钟前 41

Unpatched Kaltura mwEmbed Flaws Could Let Remote Attackers Read Files and Run Code 未修补的Kaltura mwEmbed漏洞可能让远程攻击者读取文件并执行代码

CERT/CC disclosed two unpatched vulnerabilities (CVE-2026-19913 and CVE-2026-19912) in Kaltura's mwEmbed HTML5 video player library involving unsafe PHP deserialization CVE-2026-19913 (CVSS 9.1) enables unauthenticated arbitrary file read via the ServiceUrl parameter feeding file:// paths into unserialize(), reflecting raw file contents in error messages CVE-2026-19912 (CVSS 10.0) chains the same deserialization flaw with path traversal via uiconf_id to achieve unauthenticated remote code execut Kaltura的HTML5视频播放器库mwEmbed存在两个未修补的高危漏洞(CVE-2026-19913和CVE-2026-19912),可导致远程未认证攻击者读取任意文件和执行代码 漏洞根源在于mwEmbedLoader.php端点的不安全反序列化,攻击者通过ServiceUrl参数控制反序列化源,利用file://协议读取本地文件 CERT/CC无法联系到Kaltura协调修复,目前无补丁可用,建议管理员通过WAF/反向代理限制端点访问并实施多层缓解措施 漏洞代码自2014年3月提交以来已存在超过12年,跨越21个发布版本,且影响Kaltura的多租户CDN基础设施

62
Hot 热度
58
Quality 质量
55
Impact 影响力

Analysis 深度分析

TL;DR

  • CERT/CC disclosed two unpatched vulnerabilities (CVE-2026-19913 and CVE-2026-19912) in Kaltura's mwEmbed HTML5 video player library involving unsafe PHP deserialization
  • CVE-2026-19913 (CVSS 9.1) enables unauthenticated arbitrary file read via the ServiceUrl parameter feeding file:// paths into unserialize(), reflecting raw file contents in error messages
  • CVE-2026-19912 (CVSS 10.0) chains the same deserialization flaw with path traversal via uiconf_id to achieve unauthenticated remote code execution by dropping web shells
  • No patch exists; CERT/CC was unable to reach Kaltura for coordination, and neither CVE appears in CISA's KEV catalog as of August 25, 2026
  • The vulnerable code in KalturaClientBase.php has been byte-identical across 21 release refs spanning from 2014 to 2026, indicating a long-standing unaddressed flaw

Why It Matters

This vulnerability highlights the persistent danger of unsafe deserialization in widely deployed video infrastructure, affecting not only individual Kaltura installations but every tenant on Kaltura's shared multi-tenant CDN. The fact that the vulnerable code has remained unchanged for over a decade underscores the risks of legacy code persistence in production environments. For AI practitioners and security professionals, this serves as a stark reminder that third-party dependencies—even in non-AI-facing components like video players—can become critical attack vectors with unauthenticated RCE implications.

Technical Details

  • Both flaws originate in mwEmbedLoader.php, which accepts a ServiceUrl parameter and passes its response through PHP's unserialize() without validating the source, scheme, or content via KalturaClientBase
  • CVE-2026-19913: Supplying a file:// path to ServiceUrl causes the server to fetch local files; when deserialization fails, the raw bytes are reflected back in the error message, enabling reading of sensitive files like /opt/kaltura/app/configurations/local.ini (containing plaintext DB credentials and passwords)
  • CVE-2026-19912: An attacker points ServiceUrl at a malicious serialized PHP object, then uses uiconf_id with path traversal sequences (e.g., ../) to redirect the deserialized write outside the cache directory into a web-accessible location, achieving RCE as the web-server user
  • The RCE path depends on the file-based cache backend (Kaltura default); memcache-only configurations may suppress the write but do not eliminate the file-read vulnerability
  • Affected releases include html5lib v2.45, v2.103 and earlier, and other v2.x releases exposing the endpoint; the vulnerable unserialize() call has been byte-identical since at least March 2014

Industry Insight

  • Organizations running Kaltura deployments should immediately restrict or block external access to the mwEmbedLoader.php endpoint at the WAF, reverse proxy, or CDN layer, and enforce strict allow-listing of ServiceUrl to only legitimate backend API hosts while rejecting non-HTTP(S) schemes
  • Given the absence of a vendor patch and the multi-tenant exposure, shared CDN tenants should treat this as a critical risk requiring compensating controls such as denying PHP execution in cache directories and restricting outbound network access from application servers
  • The decade-long persistence of this flaw in byte-identical form suggests systemic code review gaps; security teams should audit other legacy endpoints and third-party libraries for similar unsafe deserialization patterns, especially in components that may be overlooked in favor of core application logic

TL;DR

  • Kaltura的HTML5视频播放器库mwEmbed存在两个未修补的高危漏洞(CVE-2026-19913和CVE-2026-19912),可导致远程未认证攻击者读取任意文件和执行代码
  • 漏洞根源在于mwEmbedLoader.php端点的不安全反序列化,攻击者通过ServiceUrl参数控制反序列化源,利用file://协议读取本地文件
  • CERT/CC无法联系到Kaltura协调修复,目前无补丁可用,建议管理员通过WAF/反向代理限制端点访问并实施多层缓解措施
  • 漏洞代码自2014年3月提交以来已存在超过12年,跨越21个发布版本,且影响Kaltura的多租户CDN基础设施

为什么值得看

本文揭示了长期存在于主流视频平台中的严重安全缺陷,展示了不安全反序列化漏洞的完整利用链,对使用Kaltura或类似PHP反序列化组件的组织具有直接的安全指导价值。

技术解析

  • 漏洞机制:两个CVE均源于KalturaClientBase.php中的PHP unserialize()调用,该函数直接处理来自ServiceUrl参数的未验证数据。攻击者可通过file://协议使服务器读取本地文件,原始字节通过错误消息回显泄露。
  • 代码执行链:CVE-2026-19912利用uiconf_id参数进行路径遍历(如../),将恶意序列化对象写入Web可访问目录,请求该文件即可作为Web服务器用户执行代码。该路径依赖文件缓存后端(Kaltura默认配置)。
  • 影响范围:受影响版本包括html5lib v2.45、v2.103及更早版本,以及所有暴露该端点的v2.x版本。漏洞同时存在于Kaltura共享的多租户CDN基础设施,影响所有租户。
  • 凭证泄露:攻击者可读取/opt/kaltura/app/configurations/local.ini配置文件,获取明文数据库连接字符串、管理员和控制台密码、内部主机引用等敏感信息。
  • 代码历史:Hacker News验证显示,包含unserialize()调用的KalturaClientBase.php文件在2015年4月至2026年8月的21个发布版本中保持字节级一致,漏洞代码最早可追溯至2014年3月。

行业启示

  • 供应链安全治理:Kaltura作为视频平台提供商,其多租户架构意味着单一漏洞影响范围呈指数级放大。组织应建立第三方组件安全评估机制,定期审计依赖库的安全状态。
  • 漏洞响应时效性:CERT/CC无法联系到Kaltura协调修复,暴露了漏洞披露流程中的沟通断层。安全团队应建立多渠道供应商联系机制,并在无官方补丁时快速实施缓解措施。
  • 纵深防御策略:鉴于漏洞代码已存在12年且无补丁,组织需采用WAF规则、网络分段、缓存目录PHP执行禁用、出站访问限制等多层防御,而非依赖单一修复方案。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Security 安全 Open Source 开源