Termix: Command injection in SSH key deployment verification
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 Termix SSH key deployment flow derives a grep pattern from a user-controlled public-key token and interpolates it into double-quoted shell commands executed on the selected target host. In src/backend/database/routes/credential-deploy-routes.ts, both grep -F verification paths accept command substitution or quote-breaking shell syntax in keyPattern. An authenticated user who can deploy a crafted SSH credential can therefore execute commands with the selected remote account's privileges. The separate ACME command-injection report is outside this CVE's scope. This issue is fixed in version 2.5.1.
Text from CVE List
Affected versions 1
- Termixaffected: >= 1.7.0, < 2.5.1CVE List
References 5
- github.com/Termix-SSH/Termix/commit/ddbdd5c437c2296607dfaa4265d6f63fbc1ca92eFixvia CVE List
- github.com/Termix-SSH/Termix/commit/fafff94e5e31c3843df06aa08773bbaa879bbedeFixvia CVE List
- github.com/Termix-SSH/Termix/releases/tag/release-2.5.1-tagFixvia CVE List
- github.com/Termix-SSH/Termix/security/advisories/GHSA-p2g3-2xq3-23gxAdvisoryvia CVE List
- github.com/Termix-SSH/Termix/pull/1067Referencevia CVE List