{"status":"success","advisory":{"_id":"683547215b16347a91c39ccc","kb_acknowledgements":null,"kb_affected_list":["StorageGRID (formerly StorageGRID Webscale)","StorageGRID Webscale NAS Bridge","StorageGRID9 (9.x and prior)"],"kb_bad_data":false,"kb_cve":["CVE-2017-12150","CVE-2017-12151","CVE-2017-12163"],"kb_exploitation":"Not public","kb_fixes":[{"product":"StorageGRID (formerly StorageGRID Webscale)","fixes":[{"link":"https://mysupport.netapp.com/NOW/download/software/storagegrid_webscale/11.0","cves":[]}],"instructions":"","wontfix":false,"eos_link":null},{"product":"StorageGRID Webscale NAS Bridge","fixes":[{"link":"https://mysupport.netapp.com/NOW/download/software/storagegrid_webscale/11.2/download.shtml","cves":[]}],"instructions":"","wontfix":false,"eos_link":null},{"product":"StorageGRID9 (9.x and prior)","fixes":[],"instructions":null,"wontfix":true,"eos_link":null}],"kb_impact":"Successful exploitation of these vulnerabilities may allow an attacker to read or alter document contents, hijack client connections, or trigger a crash or disclosure of random server memory.","kb_internal_notes":[{"burt":"","jira":"","product":"StorageGRID (formerly StorageGRID Webscale)"},{"burt":"","jira":"","product":"StorageGRID Webscale NAS Bridge"},{"burt":"","jira":"","product":"StorageGRID9 (9.x and prior)"}],"kb_investigating_list":[],"kb_num":"9010000","kb_ref":["https://www.us-cert.gov/ncas/current-activity/2017/09/20/Samba-Releases-Security-Updates","https://www.samba.org/samba/security/CVE-2017-12150.html","https://www.samba.org/samba/security/CVE-2017-12151.html","https://www.samba.org/samba/security/CVE-2017-12163.html"],"kb_rev_history":[{"comment":"Initial Public Release","date":"20170921","version":"1.0"},{"comment":"StorageGRID Webscale added to Software Versions and Fixes","date":"20180525","version":"2.0"},{"comment":"StorageGRID moved to Won't Fix status as the posted Workaround is the solution, Final status","date":"20180831","version":"3.0"}],"kb_revised_list":[],"kb_scoring":{"CVE-2017-12150":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","CVE-2017-12151":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","CVE-2017-12163":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"},"kb_scoring_calc":[{"cve_id":"CVE-2017-12150","range":"MEDIUM","score":5.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"cve_id":"CVE-2017-12151","range":"HIGH","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"cve_id":"CVE-2017-12163","range":"HIGH","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"}],"kb_status":"Final","kb_summary":"StorageGRID and StorageGRID Webscale incorporate Samba. Multiple versions of Samba are susceptible to three vulnerabilities that could allow document contents to be read or altered, allow a client to indirectly read server memory, or allow the hijacking of client connections. This advisory will be updated as additional information becomes available.","kb_title":"September 2017 Samba Vulnerabilities in NetApp StorageGRID Products","kb_unaffected_list":["7-Mode Transition Tool","ATTO FibreBridge","Active IQ Unified Manager (formerly OnCommand Unified Manager) for Linux 7.3 and above","Active IQ Unified Manager (formerly OnCommand Unified Manager) for VMware vSphere 9.5 and above","Active IQ Unified Manager (formerly OnCommand Unified Manager) for Windows 7.3 and above","Brocade Fabric Operating System Firmware","Brocade Network Advisor Software","Clustered Data ONTAP","Clustered Data ONTAP Antivirus Connector","Data ONTAP operating in 7-Mode","E-Series SANtricity Management Plug-ins (VMware vCenter)","E-Series SANtricity OS Controller Software 11.x","E-Series SANtricity Storage Manager","E-Series SANtricity Web Services (REST API) for Web Services Proxy","FAS/AFF BIOS","Host Utilities - SAN for Linux","Host Utilities - SAN for Windows","MetroCluster Tiebreaker for clustered Data ONTAP","NetApp Cloud Backup (formerly AltaVault)","NetApp Cloud Backup OST Plug-in (formerly AltaVault OST Plug-in)","NetApp Converged Systems Advisor Agent","NetApp HCI Compute Node (Bootstrap OS)","NetApp Manageability SDK","NetApp NFS Plug-in for VMware VAAI","NetApp Plug-in for Symantec NetBackup","NetApp SANtricity SMI-S Provider","NetApp SMI-S Provider","NetApp Service Level Manager","NetApp SolidFire & HCI Storage Node (Element Software)","NetApp Storage Encryption","NetApp VASA Provider for Clustered Data ONTAP 7.2 and above","ONTAP Select Deploy administration utility","OnCommand API Services","OnCommand Cloud Manager","OnCommand Insight","OnCommand System Manager 9.x","OnCommand Unified Manager for 7-Mode (core package) ","OnCommand Workflow Automation","Open Systems SnapVault Agent","RAID Controller CTS2600 Legacy Engenio","Service Processor","Single Mailbox Recovery","Snap Creator Framework","SnapCenter","SnapDrive for Unix","SnapDrive for Windows","SnapManager for Exchange","SnapManager for Hyper-V","SnapManager for MS SQL","SnapManager for Oracle","SnapManager for SAP","SnapManager for Sharepoint","Storage Replication Adapter for Clustered Data ONTAP for VMware vSphere 7.2 and above","Storage Services Connector","System Setup","Virtual Storage Console for VMware vSphere 7.2 and above"],"kb_workarounds":"<b>CVE-BUNDLE-201709 SAMBA WORKAROUND FOR STORAGEGRID, STORAGEGRID WEBSCALE AND NAS BRIDGE</b><br />\r\n&nbsp;<br />\r\n<b>Date: </b>Sep 21, 2017<br />\r\n<b>Version</b>: 1.1<br />\r\n&nbsp;<br />\r\n<b>INTRODUCTION</b><br />\r\n&nbsp;<br />\r\nThis article provides a workaround to CVE-BUNDLE-201709 for:<br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">StorageGRID (SG) 9.0.4</li>\r\n\t<li value=\"NaN\">StorageGRID Webscale (SGWS) 10.2/10.3/10.4/11.0</li>\r\n\t<li value=\"NaN\">NAS Bridge 2.0.2/2.0.3</li>\r\n</ol>\r\n&nbsp;<br />\r\nThe CVE-BUNDLE-201709 consists of CVE-2017-12150, CVE-2017-12151 and CVE-2017-12163.<br />\r\n&nbsp;<br />\r\n<b>Note</b>: There is currently no workaround for CVE-2017-12151 on SG 9.0.4 and SGWS 10.2. Please check with Novell SLES for Samba patch release to address this issue. You may applied the Samba patch from Novell SLES using the NetApp KB article <a href=\"https://kb.netapp.com/support/s/article/ka31A00000010n5QAA/how-to-perform-a-samba-patching-procedure-for-storagegrid-and-storagegrid-webscale-with-sles-11-sp2-or-sp3-operating-system\">https://kb.netapp.com/support/s/article/ka31A00000010n5QAA/how-to-perform-a-samba-patching-procedure-for-storagegrid-and-storagegrid-webscale-with-sles-11-sp2-or-sp3-operating-system</a><br />\r\n&nbsp;<br />\r\nPlease read the details of each CVE to assess the needs of your organization. For details, see <a href=\"https://cve.mitre.org/cve/cve.html\">https://cve.mitre.org/cve/cve.html</a><br />\r\n&nbsp;<br />\r\n<b>WHAT TYPE OF SERVER NEED MITIGATION?</b><br />\r\n&nbsp;\r\n<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse:collapse;border:none;\">\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td style=\"width:204px;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;vertical-align:top;\"><b>StorageGRID 9.0.4</b></td>\r\n\t\t\t<td style=\"width:204px;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt;vertical-align:top;\"><b>StorageGRID Webscale 10.2/10.3/10.4/11.0</b></td>\r\n\t\t\t<td style=\"width:222px;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt;vertical-align:top;\"><b>StorageGRID Webscale </b><br />\r\n\t\t\t<b>NAS Bridge 2.0.2/2.0.3</b></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"width:204px;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;vertical-align:top;\">\r\n\t\t\t<ul>\r\n\t\t\t\t<li>All Admin Nodes running AMS service</li>\r\n\t\t\t\t<li>All Gateway Nodes running FSG service</li>\r\n\t\t\t</ul>\r\n\t\t\t</td>\r\n\t\t\t<td style=\"width:204px;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;vertical-align:top;\">\r\n\t\t\t<ul>\r\n\t\t\t\t<li>All Admin Nodes</li>\r\n\t\t\t</ul>\r\n\t\t\t</td>\r\n\t\t\t<td style=\"width:222px;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;vertical-align:top;\">\r\n\t\t\t<ul>\r\n\t\t\t\t<li>All NAS Bridge instances</li>\r\n\t\t\t</ul>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n&nbsp;<br />\r\n<b>WORKAROUND PROCEDURE FOR STORAGEGRID WEBSCALE NAS BRIDGE 2.0.2 AND 2.0.3</b><br />\r\n&nbsp;<br />\r\nThe workaround should to be applied to all instances of NAS Bridge in the grid even if no CIFS shares are configured.<br />\r\n&nbsp;<br />\r\n<b>CAUTION:</b>\r\n\r\n<ul>\r\n\t<li>Before proceeding, make sure that your CIFS client is capable of SMBv2 protocol.</li>\r\n\t<li>We recommend applying and testing the workaround on a development system before deploying it on a production system.</li>\r\n</ul>\r\n&nbsp;<br />\r\nPerform the following steps on all NAS Bridge instances:<br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">Login to the NAS Bridge server as the pb user. The default password for the user pb can be found in the SGWS NAS Bridge Installation and Setup Guide, Section &ldquo;Securing the CLI administrator account.&rdquo;</li>\r\n</ol>\r\n&nbsp;\r\n\r\n<ol>\r\n\t<li value=\"NaN\">Run the following commands to add entries to the Samba configuration file.</li>\r\n</ol>\r\n&nbsp;\r\n\r\n<ul>\r\n\t<li>If <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/home/pb/override/samba.d/smb.conf</span></span> does not exist, run the following command:</li>\r\n</ul>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ mkdir -p /home/pb/override/samba.d/</span></span><br />\r\n&nbsp;\r\n<ul>\r\n\t<li>If <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/home/pb/override/samba.d/smb.conf</span></span> does not contain the <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">[global] </span></span>section in the file, run the following command:</li>\r\n</ul>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ echo &quot;[global]&quot; &gt; /home/pb/override/samba.d/smb.conf</span></span><br />\r\n&nbsp;\r\n<ul>\r\n\t<li>Run the following commands:</li>\r\n</ul>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ echo -e &quot;\\n# Workaround for CVE-2017-12150. \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Remove when Samba is patched.\\n# This will overwrite any \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">preceding client signing value.&quot; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt;&gt; /home/pb/override/samba.d/smb.conf</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ echo -e &quot;client signing = required&quot; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt;&gt; /home/pb/override/samba.d/smb.conf</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ echo -e &quot;\\n# Workaround for CVE-2017-12151. \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Remove when Samba is patched.\\n# This will overwrite any \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">preceding client max protocol value.&quot; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt;&gt; /home/pb/override/samba.d/smb.conf</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ echo &quot;client max protocol = NT1&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/home/pb/override/samba.d/smb.conf</span></span><br />\r\n&nbsp;<br />\r\nRun the following (two) commands only if the NAS Bridge version is 2.0.2:<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ echo -e &quot;\\n# Workaround for CVE-2017-12163. \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Remove when Samba is patched.\\n# This will overwrite any \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">preceding server min protocol value.&quot; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt;&gt; /home/pb/override/samba.d/smb.conf</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ echo &quot;server min protocol = SMB2_10&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/home/pb/override/samba.d/smb.conf</span></span><br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\"><i>If AD and/or CIFS shares are configured</i>, restart the smbcs service:</li>\r\n</ol>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo service smbcs restart</span></span><br />\r\n&nbsp;<br />\r\n<b>Note</b>: If AD is configured, the new parameter will not be loaded until the smbcs service is restarted. This is true regardless if CIFS shares are configured.<br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\"><i>If AD and/or CIFS chares are configured, </i>check the settings were added into <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/smb.conf</span></span></li>\r\n</ol>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ testparm -v -s | egrep &quot;client signing|\\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">client max protocol|server min protocol&quot;</span></span><br />\r\n&nbsp;<br />\r\n<b>Note: </b>Copy and paste the command from this article may not work as there may be hidden characters.<br />\r\n&nbsp;<br />\r\nSample output from NAS Bridge 2.0.3:<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">-------------------------------------------------------------</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ testparm -v -s | egrep &quot;client signing|\\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt; client max protocol|server min protocol&quot;</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Load smb config files from /etc/samba/smb.conf</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Loaded services file OK.</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&#39;winbind separator = +&#39; might cause problems with group membership.</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Server role: ROLE_DOMAIN_MEMBER</span></span><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server min protocol = SMB2</span></span></b><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client max protocol = NT1</span></span></b><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client signing = required</span></span></b><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">-------------------------------------------------------------</span></span><br />\r\n&nbsp;<br />\r\n<b>WORKAROUND PROCEDURE FOR STORAGEGRID AND STORAGEGRID WEBSCALE ADMIN NODES</b><br />\r\n&nbsp;<br />\r\n<b>CAUTION:</b>\r\n\r\n<ul>\r\n\t<li>Before proceeding, make sure that your CIFS client is capable of SMBv2 protocol.</li>\r\n\t<li>You may need to remount the CIFS shares as they may be a change in SMB protocol after the configuration change.</li>\r\n\t<li>We recommend applying and testing the workaround on a development system before deploying it on a production system.</li>\r\n</ul>\r\n&nbsp;<br />\r\nThe workaround should to be applied to all instances of Admin Node in the grid running the AMS service, even when no audit CIFS share is configured. This procedure is applicable to Admin Node from SG 9.0.4 and SGWS 10.2 &ndash; 11.0.<br />\r\n&nbsp;<br />\r\nPerform the following steps on all Admin Node instances:<br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">Login to the Admin Node as root (for SGWS 10.2/10.3 and SG 9.0.4) or as admin (for SGWS 10.4/11.0)</li>\r\n\t<li value=\"NaN\">Run this command if the directory <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes</span></span> does not exist:</li>\r\n</ol>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo mkdir -p /etc/samba/includes</span></span><br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">Run the following commands to add entries to the Samba configuration file, smb.conf:\r\n\t<ul>\r\n\t\t<li>Workaround for CVE-2017-12150</li>\r\n\t</ul>\r\n\t</li>\r\n</ol>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo echo -e &quot;\\n# Workaround for CVE-2017-12150. \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Remove when Samba is patched.\\n# This will overwrite any \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">preceding client signing value.&quot; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt;&gt; /etc/samba/includes/cifs-custom-config.inc </span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo echo &quot;client signing = required&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/cifs-custom-config.inc</span></span><br />\r\n&nbsp;\r\n<ul>\r\n\t<li>Workaround for CVE-2017-12151</li>\r\n</ul>\r\n<b>This step applies only to SGWS 10.3, 10.4 and 11.0.</b><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo echo -e &quot;\\n# Workaround for CVE-2017-12151. \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Remove when Samba is patched.\\n# This will overwrite any \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">preceding client max protocol value.&quot; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt;&gt; /etc/samba/includes/cifs-custom-config.inc </span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo echo &quot;client max protocol = NT1&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/cifs-custom-config.inc</span></span><br />\r\n&nbsp;\r\n<ul>\r\n\t<li>Workaround for CVE-2017-12163</li>\r\n</ul>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo echo -e &quot;\\n# Workaround for CVE-2017-12163. \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Remove when Samba is patched.\\n# This will overwrite any \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">preceding (server) min and max protocol value.&quot; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt;&gt; /etc/samba/includes/cifs-custom-config.inc </span></span><br />\r\n&nbsp;\r\n<ul>\r\n\t<li>For SGWS 10.3, 10.4 and 11.0:</li>\r\n</ul>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo echo &quot;server min protocol = SMB2_02&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/cifs-custom-config.inc</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo echo &quot;server max protocol = SMB3&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/cifs-custom-config.inc</span></span><br />\r\n&nbsp;\r\n<ul>\r\n\t<li>For SGWS 10.2 and SG 9.0.4:</li>\r\n</ul>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo echo &quot;min protocol = SMB2&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/cifs-custom-config.inc</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo echo &quot;max protocol = SMB2&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/cifs-custom-config.inc</span></span><br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">Confirmed that only 1 entry exist per samba parameter-value pair changed using testparm. Check that the value of the parameter is as configured above.\r\n\t<ul>\r\n\t\t<li>For SGWS 10.3, 10.4 and 11.0:</li>\r\n\t</ul>\r\n\t</li>\r\n</ol>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo testparm -s -v | egrep &quot;client \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">signing|client max protocol|server min protocol|server max protocol&quot;</span></span><br />\r\n&nbsp;<br />\r\nSample output for SGWS 10.3, 10.4 or 11.0 Admin Node:<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">-------------------------------------------------------------</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># sudo testparm -s -v | egrep &quot;client \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt; signing|client max protocol|server min protocol|server max protocol&quot;</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Load smb config files from /etc/samba/smb.conf</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Can&#39;t find include file /etc/samba/includes/cifs-filesystem.inc</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Can&#39;t find include file /etc/samba/includes/cifs-interfaces.inc</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Processing section &quot;[audit-export]&quot;</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Processing section &quot;[audit-export]&quot;</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Loaded services file OK.</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">WARNING: The setting &#39;security=ads&#39; should NOT be combined with the &#39;password server&#39; parameter.</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">(by default Samba will discover the correct DC to contact automatically).</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Server role: ROLE_DOMAIN_MEMBER</span></span><br />\r\n&nbsp;<br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server max protocol = SMB3</span></span></b><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server min protocol = SMB2_02</span></span></b><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client max protocol = NT1</span></span></b><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client signing = required</span></span></b><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">-------------------------------------------------------------</span></span><br />\r\n<b>IMPORTANT</b>: If any parameter-value pair is missing, stop and contact Support for assistance.<br />\r\n&nbsp;\r\n<ul>\r\n\t<li>For SGWS 10.2 and SG 9.0.4:</li>\r\n</ul>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo testparm -s -v | egrep &quot;client \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">signing|min protocol|max protocol&quot;</span></span><br />\r\n&nbsp;<br />\r\nSample output for SGWS 10.2 or SG 9.0.4 Admin node:<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">-------------------------------------------------------------</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># sudo testparm -s -v | egrep &quot;client \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt; signing|min protocol|max protocol&quot;</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Load smb config files from /etc/samba/smb.conf</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Can&#39;t find include file /etc/samba/includes/cifs-filesystem.inc</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Can&#39;t find include file /etc/samba/includes/cifs-interfaces.inc</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Processing section &quot;[audit-export]&quot;</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Loaded services file OK.</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">WARNING: The setting &#39;security=ads&#39; should NOT be combined with the &#39;password server&#39; parameter.</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">(by default Samba will discover the correct DC to contact automatically).</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Server role: ROLE_DOMAIN_MEMBER</span></span><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max protocol = SMB2</span></span></b><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; min protocol = SMB2</span></span></b><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client signing = required</span></span></b><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">-------------------------------------------------------------</span></span><br />\r\n<b>IMPORTANT</b>: If any parameter-value pair is missing, stop and contact Support for assistance.<br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">Reload Samba services:\r\n\t<ul>\r\n\t\t<li>For SGWS 10.3/10.4/11.0 system:</li>\r\n\t</ul>\r\n\t</li>\r\n</ol>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo service smbd status &amp;&amp; sudo service smbd \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">reload &amp;&amp; sudo killall -HUP smbd</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">$ sudo service winbind status &amp;&amp; sudo service \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">winbind force-reload</span></span><br />\r\n&nbsp;\r\n<ul>\r\n\t<li>For SGWS 10.2 and SG 9.0.4 system:</li>\r\n</ul>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># service smb status &amp;&amp; service smb \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">reload &amp;&amp; killall -HUP smbd</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># service winbind status &amp;&amp; service \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">winbind reload &amp;&amp; killall -HUP winbind</span></span><br />\r\n&nbsp;<br />\r\n<b>Note</b>: If Winbind is not running, the following output is expected:<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">[FAIL] winbind is not running ... failed!</span></span><br />\r\n&nbsp;<br />\r\n<b>Note: </b>Copy and paste the command from this article may not work as there may be hidden characters.<br />\r\n&nbsp;<br />\r\n<b>WORKAROUND PROCEDURE FOR STORAGEGRID GATEWAY NODE RUNNING THE FSG SERVICE</b><br />\r\n&nbsp;<br />\r\n<b>CAUTION:</b>\r\n\r\n<ul>\r\n\t<li>Before proceeding, make sure that your CIFS client is capable of SMBv2 protocol.</li>\r\n\t<li>You may need to remount the CIFS shares as they may be a change in SMB protocol after the configuration change.</li>\r\n\t<li>We recommend applying and testing the workaround on a development system before deploying it on a production system.</li>\r\n</ul>\r\n&nbsp;<br />\r\nThe workaround should be applied on all StorageGRID 9.0.4 Gateway Nodes running the FSG service even if no CIFS shares are configured. The Samba service is running regardless. This procedure should not cause a FSG failover on a High-Available Gateway Cluster (HAGC) group.<br />\r\n&nbsp;<br />\r\nPerform the following steps on all Gateway Nodes <i>running the FSG service, one FSG replication group at a time</i>:<br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">Login to the Active Primary FSG Gateway Node as the root user. This is node that handle the client ingests for the FSG replication group.</li>\r\n\t<li value=\"NaN\">Run this command if the directory <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/</span></span> does not exist:</li>\r\n</ol>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># mkdir -p /etc/samba/includes</span></span><br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">Run the following commands to add entries to the Samba configuration file, smb.conf:</li>\r\n</ol>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># echo -e &quot;\\n# Workaround for CVE-2017-12150. \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Remove when Samba is patched.\\n# This will overwrite any \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">preceding client signing value.&quot; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt;&gt; /etc/samba/includes/cifs-custom-config.inc </span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># echo &quot;client signing = required&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/cifs-custom-config.inc</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># echo -e &quot;\\n# Workaround for CVE-2017-12163. \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Remove when Samba is patched.\\n# This will overwrite any \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">preceding server min and max protocol value.&quot; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt;&gt; /etc/samba/includes/cifs-custom-config.inc </span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># echo &quot;min protocol = SMB2&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/cifs-custom-config.inc</span></span><br />\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># echo &quot;max protocol = SMB2&quot; &gt;&gt; \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">/etc/samba/includes/cifs-custom-config.inc</span></span><br />\r\n&nbsp;<br />\r\n<b>Note: </b>Copy and paste the command from this article may not work as there may be hidden characters.<br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">Confirmed that only 1 entry exist per samba parameter-value pair using testparm. All three (3) parameters (<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">client signing, min protocol and max protocol</span></span>) should exist only once with the value configured.</li>\r\n</ol>\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># testparm -s -v | egrep &quot;client \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">signing|min protocol|max protocol&quot;</span></span><br />\r\n&nbsp;<br />\r\n<b>IMPORTANT</b>: If you have not initialized any CIFS shares on the FSG replication group, repeat Steps 2-4 on each of the Gateway Nodes in the <i>same</i> replication group.<br />\r\n&nbsp;<br />\r\nSample output:<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">-------------------------------------------------------------</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># testparm -s -v | egrep &quot;client \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&gt; signing|min protocol|max protocol&quot;</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Load smb config files from /etc/samba/smb.conf</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Can&#39;t find include file /etc/samba/includes/cifs-filesystem.inc</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Can&#39;t find include file /etc/samba/includes/cifs-interfaces.inc</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Processing section &quot;[audit-export]&quot;</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Loaded services file OK.</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">WARNING: The setting &#39;security=ads&#39; should NOT be combined with the &#39;password server&#39; parameter.</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">(by default Samba will discover the correct DC to contact automatically).</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Server role: ROLE_DOMAIN_MEMBER</span></span><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max protocol = SMB2</span></span></b><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; min protocol = SMB2</span></span></b><br />\r\n<b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client signing = required</span></span></b><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">-------------------------------------------------------------</span></span><br />\r\n<b>IMPORTANT</b>: If any parameter-value pair is missing, stop and contact Support for assistance.<br />\r\n&nbsp;\r\n<ol>\r\n\t<li value=\"NaN\">Push configuration changes to peer FSG nodes and reload the Samba service:\r\n\t<ul>\r\n\t\t<li>For FSG replication group with one or more CIFS shares configured:\r\n\t\t<ul>\r\n\t\t\t<li>Use <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">config_cifs.rb </span></span>script and select the <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">push-config</span></span> command to distribute the Samba configuration change to all nodes in the replication group. Make sure you answer &ldquo;<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Yes</span></span>&rdquo; to the prompt &ldquo;<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">Sync custom configuration? [yes/No]:</span></span>&rdquo; Exit <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">config_cifs.rb</span></span> before proceeding to the next step.</li>\r\n\t\t</ul>\r\n\t\t</li>\r\n\t</ul>\r\n\t</li>\r\n</ol>\r\n&nbsp;<br />\r\n<b>Note</b>:<b> Do not perform any functions other than </b><b><span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">push-config</span></span>.</b> You may perform other <span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">config_cifs.rb </span></span>functions after completing this procedure <b>in a separate config_cifs.rb sessions</b>.<br />\r\n&nbsp;\r\n<ul>\r\n\t<li>Reload the smb and winbind services on the Active Primary Gateway Node using the following commands:</li>\r\n</ul>\r\n&nbsp;<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># service smb status &amp;&amp; sudo service \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">smb reload &amp;&amp; killall -HUP smbd</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># service winbind status &amp;&amp; sudo service \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">winbind reload &amp;&amp; killall -HUP winbind</span></span><br />\r\n&nbsp;<br />\r\n<b>Note</b>: If Winbind is not running, the following output is expected:<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">[FAIL] winbind is not running ... failed!</span></span>\r\n\r\n<ul>\r\n\t<li>For a FSG replication group that has not been setup with any CIFS shares, run the following commands on each Gateway Nodes running the FSG service in the same replication group:</li>\r\n</ul>\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># service smb status &amp;&amp; sudo service smb \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">reload &amp;&amp; killall -HUP smbd</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\"># service winbind status &amp;&amp; sudo service \\</span></span><br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">winbind reload &amp;&amp; killall -HUP winbind</span></span><br />\r\n&nbsp;<br />\r\n<b>Note</b>: If Winbind is not running, the following output is expected:<br />\r\n<span style=\"font-family:courier new;\"><span style=\"font-size:10.0pt;\">[FAIL] winbind is not running ... failed!</span></span><br />\r\n&nbsp;<br />\r\n&nbsp;<br />\r\n&nbsp;","ntap_advisory_id":"NTAP-20170921-0001","adv_id":"ntap-20170921-0001","published_date":"2017-09-21T00:00:00","updated_date":"2018-08-31T00:00:00","inserted_date":"2025-05-27T05:01:21.809000","modified_date":null}}