Cloudanix VulnDB

CVE-2019-6109

Medium · 6.8

CVSS

6.8

EPSS

3.8%

Published

Jan 31, 2019

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

File transfer tools can be tricked by a bad server into hiding some of the files being moved, so users might not realize extra data was copied or changed.

Chainable
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
High
Impact
Data Tampering
Component
Application
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Missing character encoding in the SSH client progress display allows a malicious server or MITM to inject ANSI control codes via crafted filenames, altering or hiding output from refresh_progress_meter() and concealing additional file transfers.

Why it matters to the business

Attackers can exfiltrate or manipulate files during SCP/SFTP transfers without user awareness, increasing risk of undetected data loss or tampering across many organizations using affected SSH clients.

How an attack unfolds

An attacker positions themselves as a malicious SSH server or intercepts traffic via MITM, then serves files with filenames containing ANSI escape sequences that manipulate the client's progress meter to hide the true set of transferred objects.

How to fix it

Upgrade all affected OpenSSH installations and dependent products to versions that properly sanitize filenames and encode output in the progress meter; apply vendor patches where available and test client behavior with untrusted servers.

How to confirm the fix worked

Confirm the client no longer renders raw control characters in progress output when connecting to a test server supplying ANSI-containing filenames; review release notes for fixes to progressmeter.c handling.

Typical attack path

  1. Position malicious SSH server or establish MITM position on the network path
  2. Craft filenames containing ANSI control codes that clear or overwrite progress meter lines
  3. Initiate file transfer session from the vulnerable client
  4. Display manipulated progress output that conceals additional files being sent or received
  5. Achieve undetected data transfer or manipulation

How to detect it

Review SSH client logs and transferred file listings for unexpected ANSI sequences or discrepancies between reported and actual file counts; correlate with network captures showing SCP sessions to untrusted hosts.

What your security team should do

  • Prioritize patching OpenSSH clients on all endpoints that perform SCP/SFTP transfers
  • Restrict connections to trusted servers only and consider disabling progress meter output where feasible
  • Monitor for software updates from listed vendors including Canonical, Debian, Red Hat, and NetApp

The record

An issue was discovered in OpenSSH 7.9. Due to missing character encoding in the progress display, a malicious server (or Man-in-The-Middle attacker) can employ crafted object names to manipulate the client output, e.g., by using ANSI control codes to hide additional files being transferred. This affects refresh_progress_meter() in progressmeter.c.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 openssh 0 7.9_p1-r3
Alpine:v3.11 openssh 0 7.9_p1-r3
Alpine:v3.12 openssh 0 7.9_p1-r3
Alpine:v3.13 openssh 0 7.9_p1-r3
Alpine:v3.14 openssh 0 7.9_p1-r3
Alpine:v3.15 openssh 0 7.9_p1-r3
Alpine:v3.16 openssh 0 7.9_p1-r3
Alpine:v3.17 openssh 0 7.9_p1-r3
Alpine:v3.18 openssh 0 7.9_p1-r3
Alpine:v3.19 openssh 0 7.9_p1-r3
Alpine:v3.20 openssh 0 7.9_p1-r3
Alpine:v3.21 openssh 0 7.9_p1-r3
Alpine:v3.22 openssh 0 7.9_p1-r3
Alpine:v3.6 openssh 0 7.5_p1-r4
Alpine:v3.7 openssh 0 7.5_p1-r10
Alpine:v3.8 openssh 0 7.7_p1-r4
Alpine:v3.9 openssh 0 7.9_p1-r3
Debian:11 openssh 0 1:7.9p1-6
Debian:12 openssh 0 1:7.9p1-6
Debian:13 openssh 0 1:7.9p1-6
Debian:14 openssh 0 1:7.9p1-6
Debian:8 openssh 0 1:6.7p1-5+deb8u8
Debian:9 openssh 0 1:7.4p1-10+deb9u5
Mageia:6 openssh 0 7.5p1-2.4.mga6
Red Hat:enterprise_linux:8::appstream openssh 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-askpass 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-askpass-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-cavs 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-cavs-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-clients 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-clients-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-debugsource 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-keycat 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-keycat-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-ldap 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-ldap-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-server 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream openssh-server-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstream pam_ssh_agent_auth 0 0:0.10.3-7.3.el8
Red Hat:enterprise_linux:8::appstream pam_ssh_agent_auth-debuginfo 0 0:0.10.3-7.3.el8
Red Hat:enterprise_linux:8::baseos openssh 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-askpass 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-askpass-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-cavs 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-cavs-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-clients 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-clients-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-debugsource 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-keycat 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-keycat-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-ldap 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-ldap-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-server 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos openssh-server-debuginfo 0 0:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseos pam_ssh_agent_auth 0 0:0.10.3-7.3.el8
Red Hat:enterprise_linux:8::baseos pam_ssh_agent_auth-debuginfo 0 0:0.10.3-7.3.el8
SUSE:Enterprise Storage 4 openssh 0 7.2p2-74.42.8
SUSE:Enterprise Storage 4 openssh 0 7.2p2-74.35.1
SUSE:Enterprise Storage 4 openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Enterprise Storage 4 openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:Linux Enterprise Desktop 12 SP3 openssh 0 7.2p2-74.42.8
SUSE:Linux Enterprise Desktop 12 SP3 openssh 0 7.2p2-74.35.1
SUSE:Linux Enterprise Desktop 12 SP3 openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Linux Enterprise Desktop 12 SP3 openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:Linux Enterprise Desktop 12 SP4 openssh 0 7.2p2-74.42.8
SUSE:Linux Enterprise Desktop 12 SP4 openssh 0 7.2p2-74.35.1
SUSE:Linux Enterprise Desktop 12 SP4 openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Linux Enterprise Desktop 12 SP4 openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:Linux Enterprise Module for Basesystem 15 openssh 0 7.6p1-9.13.1
SUSE:Linux Enterprise Module for Basesystem 15 openssh 0 7.6p1-9.23.1
SUSE:Linux Enterprise Module for Desktop Applications 15 openssh-askpass-gnome 0 7.6p1-9.13.1
SUSE:Linux Enterprise Module for Desktop Applications 15 openssh-askpass-gnome 0 7.6p1-9.23.1
SUSE:Linux Enterprise Module for Server Applications 15 openssh 0 7.6p1-9.13.1
SUSE:Linux Enterprise Module for Server Applications 15 openssh 0 7.6p1-9.23.1
SUSE:Linux Enterprise Point of Sale 11 SP3 openssh 0 6.6p1-41.18.1
SUSE:Linux Enterprise Point of Sale 11 SP3 openssh-askpass-gnome 0 6.6p1-41.18.1
SUSE:Linux Enterprise Server 11 SP4 openssh 0 6.6p1-36.12.1
SUSE:Linux Enterprise Server 11 SP4 openssh-askpass-gnome 0 6.6p1-36.12.1
SUSE:Linux Enterprise Server 11 SP4-LTSS openssh 0 6.6p1-36.20.1
SUSE:Linux Enterprise Server 11 SP4-LTSS openssh-askpass-gnome 0 6.6p1-36.20.1
SUSE:Linux Enterprise Server 12 SP1-LTSS openssh 0 6.6p1-54.26.1
SUSE:Linux Enterprise Server 12 SP1-LTSS openssh 0 6.6p1-54.32.1
SUSE:Linux Enterprise Server 12 SP1-LTSS openssh-askpass-gnome 0 6.6p1-54.26.1
SUSE:Linux Enterprise Server 12 SP1-LTSS openssh-askpass-gnome 0 6.6p1-54.32.1
SUSE:Linux Enterprise Server 12 SP2-BCL openssh 0 7.2p2-74.42.8
SUSE:Linux Enterprise Server 12 SP2-BCL openssh 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server 12 SP2-BCL openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Linux Enterprise Server 12 SP2-BCL openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server 12 SP2-LTSS openssh 0 7.2p2-74.42.8
SUSE:Linux Enterprise Server 12 SP2-LTSS openssh 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server 12 SP2-LTSS openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Linux Enterprise Server 12 SP2-LTSS openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server 12 SP3 openssh 0 7.2p2-74.42.8
SUSE:Linux Enterprise Server 12 SP3 openssh 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server 12 SP3 openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Linux Enterprise Server 12 SP3 openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server 12 SP4 openssh 0 7.2p2-74.42.8
SUSE:Linux Enterprise Server 12 SP4 openssh 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server 12 SP4 openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Linux Enterprise Server 12 SP4 openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server 12-LTSS openssh 0 6.6p1-54.26.1
SUSE:Linux Enterprise Server 12-LTSS openssh 0 6.6p1-54.32.1
SUSE:Linux Enterprise Server 12-LTSS openssh-askpass-gnome 0 6.6p1-54.26.1
SUSE:Linux Enterprise Server 12-LTSS openssh-askpass-gnome 0 6.6p1-54.32.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 openssh 0 6.6p1-36.12.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 openssh-askpass-gnome 0 6.6p1-36.12.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 openssh 0 6.6p1-54.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 openssh 0 6.6p1-54.32.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 openssh-askpass-gnome 0 6.6p1-54.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 openssh-askpass-gnome 0 6.6p1-54.32.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 openssh 0 7.2p2-74.42.8
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 openssh 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 openssh 0 7.2p2-74.42.8
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 openssh 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 openssh 0 7.2p2-74.42.8
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 openssh 0 7.2p2-74.35.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 openssh-askpass-gnome 0 7.2p2-74.35.1
SUSE:OpenStack Cloud 7 openssh 0 7.2p2-74.42.8
SUSE:OpenStack Cloud 7 openssh 0 7.2p2-74.35.1
SUSE:OpenStack Cloud 7 openssh-askpass-gnome 0 7.2p2-74.42.10
SUSE:OpenStack Cloud 7 openssh-askpass-gnome 0 7.2p2-74.35.1
Ubuntu:14.04:LTS openssh 0 1:6.6p1-2ubuntu2.12
Ubuntu:16.04:LTS openssh 0 1:7.2p2-4ubuntu2.7
Ubuntu:18.04:LTS openssh 0 1:7.6p1-4ubuntu0.2
Ubuntu:18.04:LTS openssh-ssh1 0 No fix
Ubuntu:20.04:LTS openssh-ssh1 0 No fix
Ubuntu:22.04:LTS openssh-ssh1 0 No fix
Ubuntu:24.04:LTS openssh-ssh1 0 No fix
Ubuntu:24.10 openssh-ssh1 0 No fix
Ubuntu:Pro:18.04:LTS openssh-ssh1 0 No fix
Ubuntu:Pro:20.04:LTS openssh-ssh1 0 No fix
Ubuntu:Pro:FIPS:16.04:LTS openssh 0 1:7.2p2-4ubuntu2.fips.2.10.1
Ubuntu:Pro:FIPS:16.04:LTS openssh 0 1:7.2p2-4ubuntu2.fips.2.8.1
openSUSE:Leap 15.0 openssh 0 7.6p1-lp150.8.9.1
openSUSE:Leap 15.0 openssh 0 7.6p1-lp150.8.15.2
openSUSE:Tumbleweed openssh 0 8.4p1-7.4

Related vulnerabilities