Description
Hermes WebUI prior to 0.51.44 contains a path traversal vulnerability in the session import endpoint that allows authenticated attackers to read arbitrary files by importing a crafted session with an unrestricted workspace value. Attackers can supply a blocked filesystem root in the workspace field and subsequently use relative paths in the session file API to access any file readable by the WebUI process.
CVSS breakdown
CVSS 4.0
Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Confidentiality (Vulnerable System)
High
Integrity (Vulnerable System)
None
Availability (Vulnerable System)
None
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected products
- nesquena / hermes-webui0 – 0.51.44
- nesquena / hermes-webuif00cb74f776f22f02f5eb6b39dfb389f87cc7fd3 – f00cb74f776f22f02f5eb6b39dfb389f87cc7fd3
References
- PATCHhttps://github.com/nesquena/hermes-webui/releases/tag/v0.51.44
- PATCHhttps://github.com/nesquena/hermes-webui/pull/2048
- PATCHhttps://github.com/nesquena/hermes-webui/commit/f00cb74f776f22f02f5eb6b39dfb389f87cc7fd3
- VENDOR_ADVISORYhttps://www.vulncheck.com/advisories/hermes-webui-path-traversal-via-session-import-endpoint