Description
Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. The `POST /ssh/tunnel/connect` endpoint in Termix prior to version 2.3.2 builds an SSH tunnel command by interpolating user-controlled host record fields (`endpointIP`, `endpointUsername`, `password`) directly into a shell command without escaping, allowing persistent OS command injection on the source SSH host. Version 2.3.2 patches the issue.
Problem types
CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
References
github.com/...Termix/security/advisories/GHSA-xmjh-8cc2-qm49
github.com/...Termix/security/advisories/GHSA-xmjh-8cc2-qm49
github.com/Termix-SSH/Termix/releases/tag/release-2.3.2-tag