Description
thClaws through 0.141.0 contains a link-following vulnerability in the post_inputs handler of the v1 API POST /v1/inputs endpoint that allows writes outside the workspace by following symlinks. Attackers who plant a symlink under the allowed inputs/ prefix can cause later authenticated uploads to write or truncate files outside the workspace with daemon privileges.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
thClaws thClaws
Default version status: unaffected
0 to ≤ 0.141.0affected
pkg:github/thClaws/thClawsReferences
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/thclaws-api-inputs-symlink-escape ↗
- https://github.com/thClaws/thClaws/blob/v0.141.0/crates/core/src/api_v1/artifacts.rs#L335-L420 ↗
- https://github.com/thClaws/thClaws ↗
- https://www.vulncheck.com/advisories/thclaws-through-0.141.0-symlink-following-file-write-via-post-v1-inputs ↗