QID 38905

Date Published: 2023-07-24

QID 38905: OpenSSH Improper Authorization Vulnerability (CVE-2017-15906)

OpenSSH (OpenBSD Secure Shell) is a set of computer programs providing encrypted communication sessions over a computer network using the SSH protocol.

The process_open function in sftp-server.c in OpenSSH before 7.6 does not properly prevent write operations in readonly mode, which allows attackers to create zero-length files.

Affected Versions:
OpenSSH versions prior to 7.6

QID Detection Logic:
This unauthenticated detection works by reviewing the version of the OpenSSH service.

Successful exploitation allows a remote attacker having readonly access to create zero-length files resulting in improper authorization and lack of Integrity.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Customers are advised to upgrade to OpenSSH 7.6 or later to remediate these vulnerabilities.
    Vendor References

    CVEs related to QID 38905

    Software Advisories
    Advisory ID Software Component Link
    OpenSSH 7.6 URL Logo www.openssh.com/txt/release-7.6