Description
OpenBMB ChatDev through 2.2.0, fixed in commit 4fd4da6, contains a path traversal vulnerability that allows unauthenticated remote attackers to write or delete arbitrary files by supplying a malicious multipart filename in the file upload endpoint. Attackers can send a crafted filename containing path traversal sequences or an absolute path to the POST uploads session endpoint, which constructs the destination path without sanitization in save_upload_file, causing file write and cleanup operations to target attacker-chosen paths on the server filesystem.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenBMB | ChatDev | ≤ 2.2.0 | — |
References
- Researcher Disclosure technical-description exploit issue-tracking
- Fix PR issue-tracking patch
- Fix Commit patch
- https://www.vulncheck.com/advisories/openbmb-chatdev-unauthenticated-path-traversal-in-upload-handler-allows-arbitrary-file-write-and-delete third-party-advisory