Description
Hermes WebUI contains an arbitrary file deletion vulnerability in the /api/session/delete endpoint that allows authenticated attackers to delete files outside the session directory by supplying an absolute path or path traversal payload in the session_id parameter. Attackers can exploit unvalidated session identifiers to construct paths that bypass the SESSION_DIR boundary and delete writable JSON files on the host system.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
nesquena hermes-webui
Default version status: unaffected
0 to < PR #409affected
References
- https://github.com/nesquena/hermes-webui/pull/409 ↗
- https://github.com/nesquena/hermes-webui/pull/412 ↗
- https://github.com/nesquena/hermes-webui/commit/3cc5839bf303fa6758bfdac538507407a2929655 ↗
- https://github.com/nesquena/hermes-webui/releases/tag/v0.50.132 ↗
- https://github.com/nesquena/hermes-webui/releases/tag/v0.50.32 ↗
- https://www.vulncheck.com/advisories/nesquena-hermes-webui-arbitrary-file-deletion-via-unvalidated-session-id ↗