字号·· | 护眼
漏洞档案 · 严重

tshirtecommerce Custom Product Designer SQL 注入(CVE-2023-27637)

CVE-2023-27637 别名:GHSA-C9QP-JR36-5VXW
CVSS 9.8 / 3.1 EPSS 3.5% CISA KEV 在野利用 公开 PoC Nuclei 模板
综合风险77/ 100
CVSS9.8严重
EPSS3.5%30 天利用概率
机构收录时间2023-03-21更新 2026-11-29

研判简报

概述

tshirtecommerce(Custom Product Designer)是 PrestaShop 的商品定制设计模块。其前端控制器 designer.php 未对 product_id、parent_id 等 GET 参数做安全处理,匿名用户可构造请求注入 SQL,读取数据库敏感数据。参考材料指出该漏洞自 2023 年 3 月起被僵尸网络在野利用,且模块自 2019 年后疑似未维护。运行该模块的 PrestaShop 站点运营者应重点关注。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 76.9/100;EPSS 30 天利用概率 3.5%(百分位 90.0%)。攻击面为面向公网的 PrestaShop 前端控制器,无需认证即可利用。

利用状态

截至核查日期 2026-11-27:CISA KEV 已收录(2023-03-21);存在公开 Nuclei 检测模板(http/cves/2023/CVE-2023-27637.yaml);Exploit-DB/公开 PoC 共 1 条;CISA SSVC 判定 automatable=yes、exploitation=poc、technical_impact=total。勒索软件关联情况材料未给出。

受影响产品

tshirtecommerce:custom_product_designer 2.1.4(PrestaShop 模块)。参考材料称影响范围为 <= 2.1.4(最新版本),官方记录仅列 2.1.4,两者存在出入,以官方记录为准。部署形态为 PrestaShop 站点模块,模块目录位于 modules/tshirtecommerce/。

修复版本

材料未给出官方已发布的修复版本。参考材料称该模块最新版本发布于 2019-07-24 且至今未修复,并给出针对 designer.php 与 tshirtecommerce.php 的代码补丁(对参数做 (int) 强制转换),但未说明这些补丁是否已合入正式发布版本。

缓解措施

  • 参考材料强烈建议直接移除 tshirtecommerce 模块及根目录下的 tshirtecommerce 目录。
  • 无法移除时,按参考材料补丁对 designer.php 中 parent_id 及 tshirtecommerce.php 中 updateCustomizationTable 相关参数做整型强制转换。
  • 启用 mod_security AuditEngine 或类似审计,因攻击可伪装为常规前端请求,普通日志难以发现。
  • KEV 要求动作:按厂商说明应用缓解措施,若无可用缓解则停止使用该产品(期限材料未给出)。

响应步骤

  1. 排查 PrestaShop 站点是否安装 tshirtecommerce 模块及版本是否为 2.1.4。
  2. 检查前端日志中 /module/tshirtecommerce/designer 相关请求及异常 parent_id、product_id 参数,必要时启用审计引擎。
  3. 确认数据库是否存在异常读取或敏感表外泄迹象(如管理员令牌、订单数据)。
  4. 优先移除模块;暂不能移除则应用上述参数强制转换补丁并加强 WAF 规则。
  5. 使用 Nuclei 模板对暴露实例做检测验证,并持续跟踪厂商修复进展。

参考来源

  1. https://security.friendsofpresta.org/module/2023/03/21/tshirtecommerce_cwe-89.htmlkev
  2. https://www.cve.org/CVERecord?id=CVE-2023-27637kev
  3. https://vulncheck.com/kev/cve-2023-27637advisory,vulncheck_kev
  4. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-27637.yamlexploit,nuclei
  5. https://codecanyon.net/item/prestashop-custom-product-designer/19202018x_transferred,Product,advisory,euvd
  6. https://tshirtecommerce.com/x_transferred,Product,advisory,euvd
  7. https://friends-of-presta.github.io/security-advisories/module/2023/03/21/tshirtecommerce_cwe-89.htmlx_transferred,Exploit,Patch,Third Party Advisory,advisory,euvd
  8. https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-31373advisory,euvd