Description
Dockhand before 1.0.46 contains an arbitrary file read vulnerability that allows non-admin users with stacks:edit permission to read files through the path parameter of /api/system/files/content. Attackers can supply absolute paths to read /etc/shadow, /etc/passwd, git .git/config credentials, and SSH keys from the Dockhand container.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Finsys dockhand
Default version status: unaffected
0 to < 1.0.46affected
pkg:github/Finsys/dockhandReferences
- https://github.com/Finsys/dockhand/security/advisories/GHSA-433w-5hff-22h6 ↗
- https://github.com/Finsys/dockhand/commit/5af4e69eb20bde4b84756eb600bd521c8d300fb5 ↗
- https://github.com/Finsys/dockhand/releases/tag/v1.0.46 ↗
- https://github.com/Finsys/dockhand/blob/5adb374c0d79c8df0f8524f6c7fe27bbc493a1dc/src/routes/api/system/files/content/%2Bserver.ts ↗
- https://www.vulncheck.com/advisories/dockhand-before-1.0.46-arbitrary-file-read-via-api-system-files-content ↗