Path Traversal in github.com/openclaw/crabbox
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Crabbox 0.9.0より前のバージョンには、Islo プロバイダーのワークスペースパス解決におけるパス・トラバーサルの脆弱性があります。細工された .crabbox.yaml または crabbox.yaml を使われると、sync.delete が有効な場合に任意のファイルを削除・上書きされるおそれがあります。修正版の 0.9.0 以降へ更新してください。
CrabboxのIsloプロバイダでのワークスペースパス解決におけるパストラバーサルの脆弱性。
Crabboxのバージョン0.9.0未満のIsloプロバイダ。
攻撃者が意図されたディレクトリ外へのパスを供給可能で、重要なファイルの削除や改ざんにつながる可能性があるため。
Crabboxをバージョン0.9.0以降にアップデートする。
sync.deleteを無効化し、信頼できる設定ファイルのみを使用する。
信頼できない設定ファイルが存在していないか確認し、設定でパスが意図しないディレクトリにアクセス可能かどうかを点検する。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogithub.com/openclaw/crabbox |
< 0.9.0→ 0.9.0 |
0.9.0 |
| openclawcrabbox |
< 0.9.0→ 0.9.0 |
0.9.0 |
Original description The description as published by the source.
Crabbox before 0.9.0 contains a path traversal vulnerability in the Islo provider's workspace path resolution that allows attackers to supply absolute or relative paths that resolve outside the intended /workspace directory. Attackers can craft a malicious .crabbox.yaml or crabbox.yaml file with traversal sequences to cause arbitrary file deletion and overwrite when sync.delete is enabled, as the workspace preparation logic executes rm -rf and mkdir -p operations on the resolved path without proper validation.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- advisory github.com
- package github.com
- patch github.com
- patch github.com