OS command injection vulnerability in OpenSSH (CVE-2023-51385)

Brocade Directors

6 more products

25238

08 January 2025

09 December 2024

CLOSED

MEDIUM

6.5 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CVE-2023-51385

Brocade Security Advisory ID

BSA-2024-2475

Component

OpenSSH

 

 

Summary

In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name.

Note

Brocade Fabric OS performs proper validation on SSH connections made with the switch or director.  Standard behavior for connectivity initiated by the Brocade Fabric OS with external servers uses SCP or SFTP which also has proper validation to avoid this vulnerability for opertations intiatived by internal Fabric OS functions.  Brocade Fabric OS is only exposed if a user attempts to use inline connectivity to an external server from the switch which requires the attacker to first log into the switch.  Inline mitigations exist for all standard FOS operations, including SSH connections initiated externally to the switch.

Products Affected

  • Brocae Fabric OS versions before 9.2.1b
  • Brocade SANnav versions before 2.3.0a and in version 2.3.1
  • Brocade ASCG versions before 3.1.0

Solution

  • Security update provided in Brocade Fabric OS 9.2.1b and 9.2.2
  • Security update provided in Brocade SANnav 2.3.0a and 2.3.1a
  • Security update provided in Brocade ASCG 3.1.0

Revision History

Version

Change

Date

1.0

Initial Publication

12/9/2024

1.1

Cleaned up product affect statements

12/18/2024

1.2

PSIRT investigation validated proper validation in place for FOS generated operations, risk limited to user with credentials.

 1/7/2025

 

Disclaimer

THIS DOCUMENT IS PROVIDED ON AN AS-IS BASIS SOLELY FOR INFORMATIONAL PURPOSES AND DOES NOT IMPLY ANY KIND OF GUARANTY OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. YOUR USE OF THE INFORMATION CONTAINED HEREIN IS AT YOUR OWN RISK. ALL INFORMATION PROVIDED HEREIN IS BASED ON BROCADE'S CURRENT KNOWLEDGE AND UNDERSTANDING OF THE VULNERABILITY AND IMPACT TO BROCADE HARDWARE AND SOFTWARE PRODUCTS. BROCADE RESERVES THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME.