Termix: Cross-User Information Disclosure via Missing Ownership Check in deploy-to-host Endpoint
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. From 1.7.0 until 2.5.1, the POST /credentials/:id/deploy-to-host endpoint resolves credential and target-host records from attacker-controlled credentialId and targetHostId integer values without checking that either record belongs to the requesting user. In src/backend/database/routes/credentials.ts, differential errors reveal whether credential and host records exist and disclose each record's authType value. Properly encrypted passwords and keys are not disclosed, but a key-authenticated victim host can receive an outbound SSH connection attempt using the attacker's public key. This issue is fixed in version 2.5.1.
Text from CVE List
Affected versions 2
- Termixaffected: >= 1.7.0, < 2.5.1CVE List
- Termix-SSH/Termix, other>= 1.7.0, < 2.5.1GitHub
References 6
- github.com/Termix-SSH/Termix/commit/b0598294a6aeed866f51ce58067f43c1d751c7a6Fixvia CVE List
- github.com/Termix-SSH/Termix/commit/ddbdd5c437c2296607dfaa4265d6f63fbc1ca92eFixvia CVE List
- github.com/Termix-SSH/Termix/releases/tag/release-2.5.1-tagFixvia CVE List
- github.com/Termix-SSH/Termix/security/advisories/GHSA-w4cf-69fj-g96fAdvisoryvia CVE List
- github.com/alam00000/bentopdf/security/advisories/GHSA-cx8x-7rrr-r9x8Exploitvia CVE List
- github.com/Termix-SSH/Termix/pull/1067Referencevia CVE List