Cloud Platform
Cloud platform apps

Samba security alert.

March 13, 2018

Advisory overview

Qualys Vulnerability R&D Lab has released new vulnerability checks in the Qualys Cloud Platform to protect organizations against 2 vulnerabilities that were fixed in 1 bulletins announced today by Samba. Customers can immediately audit their networks for these and other new vulnerabilities by accessing their Qualys subscription. Visit our blog to see how to prioritize remediation.

Non-Qualys customers can audit their network for these and other vulnerabilities by signing up for a Qualys Free Trial, or by trying our FreeScan service.

Vulnerability details

Samba has released 1 security bulletins to fix newly discovered flaws in their software. Qualys has released the following checks for these new vulnerabilities:

  • Samba Server Multiple Vulnerabilities

    Critical 4
    Qualys ID
    Vendor Reference
    Samba [Announce]
    CVE Reference
    CVE-2018-1050, CVE-2018-1057
    CVSS Scores
    Base 7.5 / Temporal 5.5
    Samba is a freely available file and printer sharing application.

    Missing input sanitization checks on some of the input parameters to spoolss RPC calls could cause the print spooler service to crash. If the RPC spoolss service is left by default as an internal service, all a client can do is crash its own authenticated connection.(CVE-2018-1050)

    Password reset flaw exists on all versions of Samba from 4.0.0 onwards, but works only in Samba Active Directory DC implementation, as it doesn't properly validate permissions of users when they request to modify passwords over LDAP.(CVE-2018-1057)

    Affected Versions:
    All versions of Samba from 4.0.0 onward.

    QID Detection Logic (Authenticated)
    This check runs the "smbstatus" command and review the SAMBA version.

    QID Detection Logic (Unauthenticated)
    This check reviews the version from banner of the SAMBA service.

    On successful exploitation Missing null pointer checks may crash the external print server process and AD DC any authenticated user can change other users' passwords over LDAP, including the passwords of administrative users and service accounts.

    Customers are advised to install Samba 4.7.6, 4.6.14 and 4.5.16 or later versions to remediate this vulnerability.

    The following are links for downloading patches to fix these vulnerabilities:
    Samba 4.7.6, 4.6.14 and 4.5.16 or later

These new vulnerability checks are included in Qualys vulnerability signature 2.4.284-3. Each Qualys account is automatically updated with the latest vulnerability signatures as they become available. To view the vulnerability signature version in your account, from the Qualys Help menu, select the About tab.

Selective Scan Instructions Using Qualys

To perform a selective vulnerability scan, configure a scan profile to use the following options:

  1. Ensure access to TCP ports 135 and 139 are available.
  2. Enable Windows Authentication (specify Authentication Records).
  3. Enable the following Qualys IDs:
    • 38707
  4. If you would like the scan to return the Windows Hostname, also include QID 82044 and ensure access to UDP port 137 is available.
  5. If you would like to be notified if Qualys is unable to log on to a host (if Authentication fails), also include QID 105015.

In addition, prior to running a scan for these new vulnerabilities, you can estimate your exposure to these new threats by running the Risk Analysis Report, available from the Qualys Vulnerability Management Reports tab.

Access for Qualys Customers

Technical Support

For more information, customers may contact Qualys Technical Support.

About Qualys

The Qualys Cloud Platform and its integrated suite of security and compliance applications provides organizations of all sizes with a global view of their security and compliance solutions, while drastically reducing their total cost of ownership. Qualys solutions include: continuous monitoring, vulnerability management, policy compliance, PCI compliance, security assessment questionnaire, web application scanning, web application firewall, malware detection and SECURE Seal for security testing of web sites.