CVE-2019-6111 in Apache Mina Sshd and 36 more products
An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).
Affects 37 products from 10 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Mina Sshd | 2.2.0 |
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 18.10 |
| Debian | Debian Linux | 8.0 9.0 |
| Fedoraproject | Fedora | 30 |
| Freebsd | Freebsd | 12.0 < 12.0 |
| Fujitsu | M10-1 (device and firmware) | < xcp3070 |
| Fujitsu | M12-2S (device and firmware) | < xcp3070 |
| Fujitsu | M12-2 (device and firmware) | < xcp3070 |
| Fujitsu | M12-1 (device and firmware) | < xcp3070 |
| Fujitsu | M10-4S (device and firmware) | < xcp3070 |
| Fujitsu | M10-4 (device and firmware) | < xcp3070 |
| Openbsd | Openssh | ≤ 7.9 |
| Redhat | Enterprise Linux Server Tus | 8.2 8.4 8.6 |
| Redhat | Enterprise Linux Server Aus | 8.2 8.4 8.6 |
| Redhat | Enterprise Linux Eus | 8.1 8.2 8.4 8.6 |
| Redhat | Enterprise Linux | 7.0 8.0 |
| Siemens | 6GK5204-0BS00-3PA3 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BS00-2NA3 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BA00-2KB2 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BA00-2MB2 (device and firmware) | < 3.2.7 |
| Siemens | SCALANCE X204RNA Eec (device and firmware) | < 3.2.7 |
| Siemens | SCALANCE X204RNA (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BS00-3LA3 (device and firmware) | < 3.2.7 |
| Winscp | Winscp | ≤ 5.1.3 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- SCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2), SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2), SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) and 2 more: Update to V3.2.7 or later version
Source: ICSA-22-349-21
- SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more: Update to V3.1.5 or later version
Source: ICSA-23-348-10
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Record details
| CVE ID | CVE-2019-6111 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-160455-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2019-01-31 |
| Last modified | 2026-10-14 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.