Description
A race condition exists in Eternal Terminal prior to version 6.2.0 that allows an authenticated attacker to hijack other users' SSH authorization socket, enabling the attacker to login to other systems as the targeted users. The bug is in UserTerminalRouter::getInfoForId().
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Jason Gauci | Eternal Terminal | unspecified – < 6.2.0 | 6.2.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP4 | EternalTerminal | 6.2.1-bp154.2.3.1 | openSUSE-SU-2022:10185-1 |
| SUSE Package Hub 15 SP3 | EternalTerminal | 6.2.1-bp153.2.3.1 | openSUSE-SU-2022:10187-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | EternalTerminal | 6.2.1-2.1 | openSUSE-SU-2024:12269-1 |
| openSUSE Leap 15.4 | EternalTerminal | 6.2.1-bp154.2.3.1 | openSUSE-SU-2022:10185-1 |
| openSUSE Leap 15.3 | EternalTerminal | 6.2.1-bp153.2.3.1 | openSUSE-SU-2022:10187-1 |
Advisories 3
- openSUSE-SU-2024:12269-1 EternalTerminal-6.2.1-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:10185-1 Security update for EternalTerminal SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:10187-1 Security update for EternalTerminal SUSE / openSUSE Security Updates · May 7, 2025
References
- https://github.com/MisterTea/EternalTerminal/commit/900348bb8bc96e1c7ba4888ac8480f643c43d3c3
- https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-85gw-pchc-4rf3
- [oss-security] 20230216 EternalTerminal: Review report and findings (predictable /tmp file paths and file permission issues, 3 CVEs) mailing-list