Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Local Blobstore may allow arbitrary reads/deletes
Vulnerability Description
When the director sends a long-running request (e.g. compile_package), the agent's reply JSON is consumed by AgentClient. inject_compile_log (line 332-339) reads response['value']['result']['compile_log_id'] and format_exception (line 318-325) reads exception['blobstore_id']; both pass the agent-supplied string unmodified to download_and_delete_blob(blob_id) (line 344-349), which calls @resource_manager.get_resource(blob_id) and, in an ensure block, @resource_manager.delete_resource(blob_id). Api::ResourceManager forwards the id straight to blobstore.get(id) / blobstore.delete(id). When the director is configured with the local blobstore provider, Blobstore::LocalClient#object_file_path(oid) is File.join(@blobstore_path, oid) (local_client.rb:54-56) with no normalisation, so oid = "../../jobs/director/config/director.yml" resolves outside the blobstore root. Affected versions: BOSH Director: All versions prior to v282.1.12
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:L
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Cloud Foundry BOSH Director 安全漏洞
Vulnerability Description
Cloud Foundry BOSH Director是美国Cloud Foundry公司的一个云基础设施部署与生命周期管理平台。 Cloud Foundry BOSH Director存在安全漏洞,该漏洞源于AgentClient在处理长请求时未对agent提供的字符串进行规范化处理,直接传递给blobstore操作,可能导致路径遍历攻击。
CVSS Information
N/A
Vulnerability Type
N/A