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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nesquena | hermes-webui | < PR #409 | PR #409 |
References
- Pull Request issue-tracking patch
- Pull Request issue-tracking patch
- Patch Commit patch
- hermes-webui 0.50.132 Release Notes third-party-advisory release-notes
- hermes-webui 0.50.32 Release Notes third-party-advisory release-notes
- https://www.vulncheck.com/advisories/nesquena-hermes-webui-arbitrary-file-deletion-via-unvalidated-session-id third-party-advisory