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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2023-22731— Shopware 代码注入漏洞

一分钟漏洞结论

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

Shopware是德国Shopware公司的一套开源电子商务软件。 Shopware 存在代码注入漏洞,该漏洞源于在 Twig 环境中添加 without the Sandbox extension 环境变量后,可以在 Twig 过滤器中引用 PHP 函数,如“map”、“filter”、“sort”。 这将允许模板调用任何全局 PHP 函数,从而执行任意代码。

CVSS 10.0 · Critical EPSS 1.33% · P70
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2023-22731 基础信息

漏洞信息

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

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

Vulnerability Title
Improper Control of Generation of Code in Twig rendered views in shopware
来源: CVE Program / CVE List V5
Vulnerability Description
Shopware is an open source commerce platform based on Symfony Framework and Vue js. In a Twig environment **without the Sandbox extension**, it is possible to refer to PHP functions in twig filters like `map`, `filter`, `sort`. This allows a template to call any global PHP function and thus execute arbitrary code. The attacker must have access to a Twig environment in order to exploit this vulnerability. This problem has been fixed with 6.4.18.1 with an override of the specified filters until the integration of the Sandbox extension has been finished. Users are advised to upgrade. Users of major versions 6.1, 6.2, and 6.3 may also receive this fix via a plugin.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
来源: CVE Program / CVE List V5
Vulnerability Title
Shopware 代码注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Shopware是德国Shopware公司的一套开源电子商务软件。 Shopware 存在代码注入漏洞,该漏洞源于在 Twig 环境中添加 **without the Sandbox extension** 环境变量后,可以在 Twig 过滤器中引用 PHP 函数,如“map”、“filter”、“sort”。 这将允许模板调用任何全局 PHP 函数,从而执行任意代码。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
shopware platform < 6.4.18.1 -

二、漏洞 CVE-2023-22731 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2023-22731 的情报信息

请登录查看更多情报信息。

CVE-2023-22731 补丁与修复 (1)

CVE-2023-22731 厂商安全公告 (1)

CVE-2023-22731 其他参考 (1)

同批安全公告 · shopware · 2023-01-17 · 共 5 条

CVE-2023-22730 5.3 MEDIUM Shopware 输入验证错误漏洞
CVE-2023-22734 4.3 MEDIUM Shopware 输入验证错误漏洞
CVE-2023-22732 3.7 LOW Shopware 代码问题漏洞
CVE-2023-22733 2.7 LOW Shopware 日志信息泄露漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2023-22731

暂无评论


发表评论