漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID
Vulnerability Description
Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `UpsertWorkspaceApp` overwrites an existing app's `agent_id` on a primary-key conflict and `insertAgentApp` accepts the app ID from the provisioner's `CompleteJob` payload without verifying it belongs to the workspace being built. `CompleteJob` runs under `dbauthz.AsProvisionerd` so the authorization layer does not block the cross-workspace upsert. Exploitation requires elevated access as a template author or external provisioner operator. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 verifies that any existing `workspace_apps` row matching the supplied ID belongs to the workspace being built and rejects cross-workspace agent reassignment. No known workarounds are available.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Vulnerability Type
通过用户控制密钥绕过授权机制
Vulnerability Title
Coder 授权问题漏洞
Vulnerability Description
Coder是Coder组织开源的一个可以在公共或私有云基础设施中设置开发环境的应用程序。 Coder 2.29.7之前版本、2.32.7之前版本、2.33.8之前版本和2.34.2之前版本存在授权问题漏洞,该漏洞源于UpsertWorkspaceApp函数在主键冲突时覆盖现有应用的agent_id,且insertAgentApp函数未验证来自provisioner的CompleteJob有效载荷中的app ID是否属于正在构建的工作区,导致跨工作区的授权问题,可能允许模板作者或外部供给者操作员利用提升权限
CVSS Information
N/A
Vulnerability Type
N/A