Description
OpenSSH 4.3p2, and probably other versions, allows local users to hijack forwarded X connections by causing ssh to set DISPLAY to :10, even when another process is listening on the associated port, as demonstrated by opening TCP port 6010 (IPv4) and sniffing a cookie sent by Emacs.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssh | 1:4.7p1-5 | — |
| Debian 13 | openssh | 1:4.7p1-5 | — |
| Debian 12 | openssh | 1:4.7p1-5 | — |
| Debian 4.0 | openssh | 1:4.3p2-9etch2 | DSA-1576-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | openssh +4 | 3.9p1-8.RHEL4.9 | RHSA-2005:527 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | openssh | 7.2p2-74.11.1 | SUSE-SU-2017:3230-1 |
| SLES 12 SP3 | openssh-askpass-gnome | 7.2p2-74.11.3 | SUSE-SU-2017:3230-1 |
| SLES 12 SP2 | openssh | 7.2p2-74.11.1 | SUSE-SU-2017:3230-1 |
| SLES 12 SP2 | openssh-askpass-gnome | 7.2p2-74.11.3 | SUSE-SU-2017:3230-1 |
| SLES 12 SP1 | openssh | 6.6p1-54.15.2 | SUSE-SU-2018:2685-1 |
| SLES 12 SP1 | openssh-askpass-gnome | 6.6p1-54.15.1 | SUSE-SU-2018:2685-1 |
| SLES 12 | openssh | 6.6p1-54.15.2 | SUSE-SU-2018:2685-1 |
| SLES 12 | openssh-askpass-gnome | 6.6p1-54.15.1 | SUSE-SU-2018:2685-1 |
| SLES 11 SP4 | openssh +1 | 6.6p1-36.3.1 | SUSE-SU-2018:2275-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 | openssh-openssl1 | 6.6p1-19.3.1 | SUSE-SU-2018:2719-1 |
| SLES for SAP 12 SP3 | openssh | 7.2p2-74.11.1 | SUSE-SU-2017:3230-1 |
| SLES for SAP 12 SP3 | openssh-askpass-gnome | 7.2p2-74.11.3 | SUSE-SU-2017:3230-1 |
| SLES for SAP 12 SP2 | openssh | 7.2p2-74.11.1 | SUSE-SU-2017:3230-1 |
| SLES for SAP 12 SP2 | openssh-askpass-gnome | 7.2p2-74.11.3 | SUSE-SU-2017:3230-1 |
| SLES for SAP 12 SP1 | openssh | 6.6p1-54.15.2 | SUSE-SU-2018:2685-1 |
| SLES for SAP 12 SP1 | openssh-askpass-gnome | 6.6p1-54.15.1 | SUSE-SU-2018:2685-1 |
| SLES for SAP 11 SP4 | openssh +1 | 6.6p1-36.3.1 | SUSE-SU-2018:2275-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | openssh | 8.4p1-7.4 | openSUSE-SU-2024:11124-1 |
Advisories 7
- RHSA-2005:527 Red Hat Security Advisory: openssh security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1576-1 openssh openssh-blacklist - predictable randomness Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:2719-1 Security update for openssh-openssl1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:3230-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2275-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11124-1 openssh-8.4p1-7.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2685-1 Security update for openssh SUSE / openSUSE Security Updates · May 2, 2025
References
- ADV-2008-1123 vdb-entry
- http://support.attachmate.com/techdocs/2374.html
- DSA-1576 vendor-advisory
- 29554 third-party-advisory
- ADV-2008-1526 vdb-entry
- http://support.avaya.com/elmodocs2/security/ASA-2008-205.htm
- ADV-2008-1630 vdb-entry
- [security-announce] 20080403 Globus Security Advisory 2008-01: GSI-OpenSSH vulnerability mailing-list
- 29686 third-party-advisory
- APPLE-SA-2008-09-15 vendor-advisory
- 31531 third-party-advisory
- SSA:2008-095-01 vendor-advisory
- http://aix.software.ibm.com/aix/efixes/security/ssh_advisory.asc
- HPSBUX02337 vendor-advisory
- openssh-sshd-session-hijacking(41438) vdb-entry
- USN-597-1 vendor-advisory
- 1019235 vendor-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463011
- TA08-260A third-party-advisory
- https://issues.rpath.com/browse/RPL-2397
- ADV-2008-1624 vdb-entry
- ADV-2008-2584 vdb-entry
- 30249 third-party-advisory
- 20130220 OpenSSH Forwarded X Connection Session Hijack Vulnerability vendor-advisory
- 29735 third-party-advisory
- 29683 third-party-advisory
- 30361 third-party-advisory
- 31882 third-party-advisory
- SUSE-SR:2008:009 vendor-advisory
- 29721 third-party-advisory
- ADV-2008-2396 vdb-entry
- 29522 third-party-advisory
- 30086 third-party-advisory
- 29939 third-party-advisory
- 30347 third-party-advisory
- oval:org.mitre.oval:def:6085 vdb-entry signature
- ADV-2008-0994 vdb-entry
- 1019707 vdb-entry
- 237444 vendor-advisory
- MDVSA-2008:078 vendor-advisory
- http://sourceforge.net/project/shownotes.php?release_id=590180&group_id=69227
- 29676 third-party-advisory
- 29873 third-party-advisory
- 29537 third-party-advisory
- 29626 third-party-advisory
- 20080325 rPSA-2008-0120-1 gnome-ssh-askpass openssh openssh-client openssh-server mailing-list
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0120
- ADV-2008-1448 vdb-entry
- 30230 third-party-advisory
- 28444 vdb-entry
- GLSA-200804-03 vendor-advisory
- FreeBSD-SA-08:05 vendor-advisory
- ADV-2008-1124 vdb-entry