Cloudanix VulnDB

CVE-2015-5352

None

CVSS

—

EPSS

4.5%

Published

Aug 3, 2015

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Older versions of a common remote-access tool could let attackers reach graphical sessions outside the allowed time limits, giving them unintended access to user interfaces.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Privilege Gain
Component
Network Service
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Missing refusal deadline validation in x11_open_helper allows X11 connection establishment outside the permitted time window when ForwardX11Trusted is disabled, bypassing intended access controls on forwarded X sessions.

Why it matters to the business

Attackers can obtain unauthorized graphical session access on systems using X11 forwarding, increasing risk of credential theft or lateral movement; the issue affects a widely deployed component with thousands of downstream dependents and has remained unpatched in many environments for years.

How an attack unfolds

An attacker initiates an SSH session requesting X11 forwarding without trusted mode, then issues an X connection request after the normal refusal deadline; because the deadline check is absent, the server accepts the late connection and grants access to the X11 channel.

How to fix it

Upgrade OpenSSH to version 6.9 or later on all affected systems; if immediate upgrade is impossible, disable X11 forwarding entirely via sshd_config until patched.

How to confirm the fix worked

Confirm OpenSSH version is 6.9 or newer via ssh -V; test X11 forwarding behavior with ForwardX11Trusted disabled to verify late connections are refused; review sshd_config for X11 forwarding settings.

Typical attack path

  1. Establish SSH connection with X11 forwarding requested and ForwardX11Trusted disabled
  2. Wait for or force the normal X11 refusal time window to expire
  3. Send crafted X connection request that would normally be rejected
  4. Obtain unauthorized X11 channel due to absent deadline enforcement

How to detect it

Examine sshd logs for X11 channel open requests that occur after normal refusal windows; correlate with authentication timestamps to identify connections accepted outside expected time bounds; review any historical X11 forwarding events on unpatched systems.

What your security team should do

  • Prioritize upgrade to OpenSSH 6.9+ across all servers within 30 days given long exposure window
  • Audit and disable X11 forwarding where not strictly required
  • Add version checks to vulnerability scanning and asset inventory processes
  • Monitor for any remaining pre-6.9 instances and isolate them until updated

The record

The x11_open_helper function in channels.c in ssh in OpenSSH before 6.9, when ForwardX11Trusted mode is not used, lacks a check of the refusal deadline for X connections, which makes it easier for remote attackers to bypass intended access restrictions via a connection outside of the permitted time window.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 openssh 0 1:6.9p1-1
Debian:12 openssh 0 1:6.9p1-1
Debian:13 openssh 0 1:6.9p1-1
Debian:6.0 openssh 0 1:5.5p1-6+squeeze6
Debian:8 openssh 0 1:6.7p1-5+deb8u6
Mageia:4 openssh 0 6.2p2-3.3.mga4
Mageia:5 openssh 0 6.6p1-5.1.mga5
Red Hat:enterprise_linux:6::client openssh 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::client openssh-askpass 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::client openssh-clients 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::client openssh-debuginfo 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::client openssh-ldap 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::client openssh-server 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::client pam_ssh_agent_auth 0 0:0.9.3-117.el6
Red Hat:enterprise_linux:6::computenode openssh 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::computenode openssh-askpass 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::computenode openssh-clients 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::computenode openssh-debuginfo 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::computenode openssh-ldap 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::computenode openssh-server 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::computenode pam_ssh_agent_auth 0 0:0.9.3-117.el6
Red Hat:enterprise_linux:6::server openssh 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::server openssh-askpass 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::server openssh-clients 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::server openssh-debuginfo 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::server openssh-ldap 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::server openssh-server 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::server pam_ssh_agent_auth 0 0:0.9.3-117.el6
Red Hat:enterprise_linux:6::workstation openssh 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::workstation openssh-askpass 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::workstation openssh-clients 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::workstation openssh-debuginfo 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::workstation openssh-ldap 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::workstation openssh-server 0 0:5.3p1-117.el6
Red Hat:enterprise_linux:6::workstation pam_ssh_agent_auth 0 0:0.9.3-117.el6
SUSE:Linux Enterprise Desktop 11 SP3 openssh 0 6.2p2-0.21.1
SUSE:Linux Enterprise Desktop 11 SP3 openssh-askpass-gnome 0 6.2p2-0.21.3
SUSE:Linux Enterprise Desktop 11 SP4 openssh 0 6.6p1-13.1
SUSE:Linux Enterprise Desktop 11 SP4 openssh-askpass-gnome 0 6.6p1-13.3
SUSE:Linux Enterprise Desktop 12 openssh 0 6.6p1-29.1
SUSE:Linux Enterprise Desktop 12 openssh-askpass-gnome 0 6.6p1-29.1
SUSE:Linux Enterprise Server 11 SP2-LTSS openssh 0 5.1p1-41.69.1
SUSE:Linux Enterprise Server 11 SP2-LTSS openssh-askpass-gnome 0 5.1p1-41.69.4
SUSE:Linux Enterprise Server 11 SP3 openssh 0 6.2p2-0.21.1
SUSE:Linux Enterprise Server 11 SP3 openssh-askpass-gnome 0 6.2p2-0.21.3
SUSE:Linux Enterprise Server 11 SP3-TERADATA openssh 0 6.2p2-0.21.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA openssh-askpass-gnome 0 6.2p2-0.21.3
SUSE:Linux Enterprise Server 11 SP4 openssh 0 6.6p1-13.1
SUSE:Linux Enterprise Server 11 SP4 openssh-askpass-gnome 0 6.6p1-13.3
SUSE:Linux Enterprise Server 12 openssh 0 6.6p1-29.1
SUSE:Linux Enterprise Server 12 openssh-askpass-gnome 0 6.6p1-29.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP3 openssh 0 6.2p2-0.21.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP3 openssh-askpass-gnome 0 6.2p2-0.21.3
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 openssh 0 6.6p1-13.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 openssh-askpass-gnome 0 6.6p1-13.3
SUSE:Linux Enterprise Server for SAP Applications 12 openssh 0 6.6p1-29.1
SUSE:Linux Enterprise Server for SAP Applications 12 openssh-askpass-gnome 0 6.6p1-29.1
Ubuntu:14.04:LTS openssh 0 1:6.6p1-2ubuntu2.2

Related vulnerabilities