Description (CNA)
Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. Nezha versions 1.14.13 through 1.14.14 and 2.0.0 through 2.0.9 do not bind stream identifiers created by CreateStream in service/rpc/io_stream.go to their creating user, and `GET /ws/terminal/:id` and `GET /ws/file/:id` only check whether the supplied UUID exists. An authenticated RoleMember who obtains a live stream UUID from logs, browser history, referer data, or telemetry can attach to another user's terminal or file-manager session, read and write target-server files, and execute shell commands. This issue is fixed in version 2.0.10.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| nezhahq / nezha | affected >= 1.14.13, <= 1.14.14; affected >= 2.0.0, < 2.0.10 |
CWE
CWE-639, CWE-862
References
- https://github.com/nezhahq/nezha/security/advisories/GHSA-q6xx-5vr8-p898
- https://github.com/nezhahq/nezha/commit/6661d6a7fc1c269f55c7f4e775082ad23fbe0f54
- https://github.com/nezhahq/nezha/releases/tag/v2.0.10
ADP enrichment
No English description supplied.
No references supplied.