Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

2012-01 Security Bulletin: Junos: SSH allows forwarding of tunneled TCP traffic over an existing CLI connection



Article ID: JSA10499 SECURITY_ADVISORIES Last Updated: 21 Feb 2014Version: 3.0
Legacy Advisory Id:
Product Affected:
This issue affects all Junos routers configured to allow access via SSH.

After establishing a CLI session to a Junos router via SSH, it is possible to create an SSH tunnel over this session to forward TCP traffic. This effectively bypasses any firewall filters or ACLs, allowing access to the resources beyond the router. Note that SSH access lists still apply, and successful CLI authentication to the router is required.

This issue was discovered by an external security researcher. Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

No other products or platforms are affected by this issue.

This issue has been assigned CVE-2004-1653.

Starting with Junos 11.4R1, a new configuration option has been added to selectively disallow TCP port forwarding through an existing SSH CLI session:
user@junos# set system services ssh no-tcp-forwarding
Once enabled, new SSH sessions will not allow the forwarding of tunneled TCP traffic.

All Junos OS software releases 11.4R1 and above include this new security enhancement.

This issue is being tracked as PR 684130 and is visible on the Customer Support website.

KB16765 - "In which releases are vulnerabilities fixed?" describes which release vulnerabilities are fixed as per our End of Engineering and End of Life support policies.


Since this vulnerability simply allows an extension of access already granted by the user, allowing SSH access only from trusted networks will completely mitigate this issue.

Juniper SIRT would like to acknowledge and thank Ajay Kumar Upadhyay for responsibly reporting this vulnerability.

How to obtain fixed software:

Security vulnerabilities in Junos are fixed in the next available Maintenance Release of each supported Junos version. In some cases, a Maintenance Release is not planned to be available in an appropriate time-frame. For these cases, Service Releases are made available in order to be more timely. Security Advisory and Security Notices will indicate which Maintenance and Service Releases contain fixes for the issues described. Upon request to JTAC, customers will be provided download instructions for a Service Release. Although Juniper does not provide formal Release Note documentation for a Service Release, a list of "PRs fixed" can be provided on request.
CVSS Score:
5.5 (AV:N/AC:L/Au:S/C:P/I:P/A:N)
Severity Level:
Severity Assessment:
Information for how Juniper Networks uses CVSS can be found at KB 16446 "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search