OpenSSH DynamicForward Inadvertent GatewayPorts Activation Vulnerability

BID:14727

Info

OpenSSH DynamicForward Inadvertent GatewayPorts Activation Vulnerability

Bugtraq ID: 14727
Class: Design Error
CVE: CVE-2005-2797
Remote: Yes
Local: No
Published: Sep 01 2005 12:00AM
Updated: Jun 19 2006 04:10PM
Credit: The vendor disclosed this issue.
Vulnerable: Slackware Linux -current
SCO Unixware 7.1.4
SCO Unixware 7.1.3
SCO Open Server 6.0
SCO Open Server 5.0.7
SCO Open Server 5.0.6 a
SCO Open Server 5.0.6
Redhat Fedora Core4
OpenSSH OpenSSH 4.1
OpenSSH OpenSSH 4.0 p1
OpenSSH OpenSSH 4.0
Avaya Intuity Audix R5 0
Not Vulnerable: OpenSSH OpenSSH 4.2

Discussion

OpenSSH DynamicForward Inadvertent GatewayPorts Activation Vulnerability

OpenSSH is susceptible to a vulnerability that causes improper activation of the 'GatewayPorts' option, allowing unintended hosts to use the SSH SOCKS proxy.

Specifically, if the 'DynamicForward' option is activated, 'GatewayPorts' is also unconditionally enabled.

This vulnerability allows remote attackers to use the SOCKS proxy to make arbitrary TCP connections through the configured SSH session, allowing them to attack computers and services through a connection that was wrongly thought to be secure.

This issue affects OpenSSH 4.0, and 4.1.

Exploit / POC

OpenSSH DynamicForward Inadvertent GatewayPorts Activation Vulnerability

An exploit is not required.

Solution / Fix

OpenSSH DynamicForward Inadvertent GatewayPorts Activation Vulnerability

Solution:
Please see the referenced vendor advisories for more information.

The vendor has released version 4.2 of OpenSSH to address this issue.


Slackware Linux -current

OpenSSH OpenSSH 4.0 p1

OpenSSH OpenSSH 4.0

OpenSSH OpenSSH 4.1

SCO Open Server 5.0.6 a

SCO Open Server 5.0.6

SCO Open Server 5.0.7

SCO Open Server 6.0

SCO Unixware 7.1.3

SCO Unixware 7.1.4

References

OpenSSH DynamicForward Inadvertent GatewayPorts Activation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report