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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-115453— 电商模板跨用户删除修改购物车和愿望清单漏洞

一分钟漏洞结论

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

在 MarcosCamara01 电子商务模板的购物车(cart)和心愿单(wishlist)仓库中,存在“通过用户控制键绕过授权”漏洞(CWE-639)。该漏洞允许任意已认证用户删除或修改其他用户的购物车和心愿单记录。其根本原因在于: 目录下的 、 和 方法仅依据主键匹配记录,未对所属用户进行任何谓词校验;而这三个操作的逐用户授权完全依赖 PostgreSQL 的行级安全(Row Level Security, RLS)机制。 尽管迁移脚本执行了 并创建了将 与 进行比较的策略,但从未执行 。由于 Postgre

CVSS 7.1 · High

影响版本矩阵 1

厂商产品 版本范围状态
MarcosCamara01 Ecommerce Template b139a11c7bfab82b9c54c738b9a5d6015b439972< adf7dedbb41894c0bad0b33a26999b0da7e967b7 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Cross user deletion and modification of cart and wishlist rows in Ecommerce Template through unscoped primary key queries
来源: CVE Program / CVE List V5
Vulnerability Description
Authorization Bypass Through User-Controlled Key (CWE-639) in the cart and wishlist repositories of MarcosCamara01 Ecommerce Template allows any authenticated user to delete and modify the cart and wishlist rows of any other user, because cartRepository.delete(), cartRepository.updateQuantityInternal() and wishlistRepository.delete() in src/lib/db/drizzle/repositories/ match rows by primary key alone, with no predicate on the owning user, and the per user authorization for those three operations rests on PostgreSQL row level security. The migrations run ALTER TABLE ... ENABLE ROW LEVEL SECURITY and create policies comparing app.current_user_id() with user_id, but never ALTER TABLE ... FORCE ROW LEVEL SECURITY, and PostgreSQL does not apply policies to the role that owns a table. The template uses one DATABASE_URL both to run the migrations, which create the tables, and for the application at runtime, so the application connects as the owner of the tables and the policies do not apply to it. cart_items.id and wishlist.id are sequential bigserial values, so the identifiers of rows belonging to other users can be enumerated, and the update path returns the modified row, which carries the identifier of the user it belongs to. This results in the destruction and modification of cart and wishlist contents belonging to other accounts of the installation.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
通过用户控制密钥绕过授权机制
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
MarcosCamara01 Ecommerce Template b139a11c7bfab82b9c54c738b9a5d6015b439972 ~ adf7dedbb41894c0bad0b33a26999b0da7e967b7 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-115453 补丁与修复 (1)

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-115453

暂无评论


发表评论