Termix-SSH Termix
Termix: IDOR — Authenticated user can fetch SSH passwords for hosts owned by other users
Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. Prior to 2.6.1, the GET /host/db/host/:id/password endpoint in src/backend/database/routes/host.ts accepts an authenticated user's numeric host ID and the field=password or field=sudoPassword query without enforcing host ownership during credential resolution. A failed requester-scoped lookup can resolve the host with the owner's context and return the owner's plaintext credential, allowing any authenticated user with a valid JWT to enumerate sequential hosts.id values and retrieve SSH or sudo passwords belonging to other users. The disclosed credentials can then be used to access and control managed systems outside the Termix instance. This issue is fixed in version 2.6.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.3.2
Fixed in 2.3.2
Mitigation
Upgrade Termix to 2.3.2 or later.
References
- Vendor advisory github.com/Termix-SSH/Termix/security/advisori…
- Patch github.com/Termix-SSH/Termix/pull/874
- Patch github.com/Termix-SSH/Termix/commit/52f4e51ae0…
1 more
- Release notes github.com/Termix-SSH/Termix/releases/tag/rele…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.