03-08-2023 11:47 AM - edited 03-08-2023 11:48 AM
Hi Nexus 9300 has security vulnerability issue as Qualys report as below. The configuration use default ssh without http and https configuration. and also I cannot see any tls configuration via the below command. The report looks like to tell some issue relative with tls. but i cannot see any issue relative with tls via some command below. Anyone can share some experience? Thank you
SW01# show run | include "line"
line console
line vty
SW01# show run | include tls
SW01# show run | include TLS
(show no result)
----- Qualys info as below -------
192.168.2.2 IP Cisco Nexus Switch host scanned, found vuln 38739 Deprecated SSH Cryptographic Settings Active Vuln 3 22 tcp over ssl 44878.88163 44920.90683 13 Deprecating TLS 1.0 and TLS 1.1 2.2 2.6 (AV:N/AC:H/Au:N/C:P/I:N/A:N) 2.2 (E:U/RL:U/RC:C) Asset Group: Network Devices - US Network Devices - Seattle, Collateral Damage Potential: Not Defined, Target Distribution: Not Defined, Confidentiality Requirement: Not Defined, Integrity Requirement: Not Defined, Availability Requirement: Not Defined 3.4 3.7 (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N) 3.4 (E:U/RL:U/RC:C) "Disable the use of TLSv1.1 protocol in favor of a cryptographically stronger protocol such as TLSv1.2.
The following openssl commands can be used to do a manual test:
openssl s_client -connect ip:port -tls1_1
If the test is successful, then the target support TLSv1.1" TLSv1.1 is supported# no General remote services 25 338 5
Solved! Go to Solution.
03-08-2023 06:08 PM - edited 03-08-2023 06:09 PM
check show run | in http
show ssh (also check any older ssh running)
also if you enable API, default TLS 1.1 - show nxapi
#nxapi ssl-protocols {TLSv1.0 TLSv1.1 TLSv1.2}
you can issue and see what ports are listening :
# show sockets connection tcp
=====️ Preenayamo Vasudevam ️=====
***** Rate All Helpful Responses *****
03-09-2023 09:53 AM - edited 03-09-2023 09:54 AM
if you are not using nexus api you can remove :
You can enable and manage NX-API with the CLI commands listed in the following table.
| NX-API Management Command | Description |
|---|---|
|
feature nxapi |
Enables NX-API. |
|
no feature nxapi |
Disables NX-API. |
|
nxapi {http|https} port port |
Specifies a port. |
|
no nxapi {http|https} |
Disables HTTP/HTTPS. |
|
show nxapi |
Displays port information. |
|
nxapi certificate {httpscrt |httpskey} |
Specifies the upload of the following:
|
|
nxapi certificate enable |
Enables a certificate. |
if above message not visible use below guide :
=====️ Preenayamo Vasudevam ️=====
***** Rate All Helpful Responses *****
03-09-2023 01:43 PM
depends on the nexus code you use. check the version command reference for more.
=====️ Preenayamo Vasudevam ️=====
***** Rate All Helpful Responses *****
03-08-2023 06:08 PM - edited 03-08-2023 06:09 PM
check show run | in http
show ssh (also check any older ssh running)
also if you enable API, default TLS 1.1 - show nxapi
#nxapi ssl-protocols {TLSv1.0 TLSv1.1 TLSv1.2}
you can issue and see what ports are listening :
# show sockets connection tcp
=====️ Preenayamo Vasudevam ️=====
***** Rate All Helpful Responses *****
03-09-2023 08:15 AM - edited 03-09-2023 08:30 AM
Thanks for your reply. I can see local port 22, 161, and 179 via command show sockets connection tcp, but i cannot see port 449 which is relative with tls
As the above mentioned, show ssh/show ip ssh, show run | in http, all of these do not show any result, but see below
SW01# show nxapi
nxapi enabled
HTTP Listen on port 80
HTTPS Listen on port 443
Do we have a command to disable the ports?
no feature http-server cannot work
03-09-2023 09:53 AM - edited 03-09-2023 09:54 AM
if you are not using nexus api you can remove :
You can enable and manage NX-API with the CLI commands listed in the following table.
| NX-API Management Command | Description |
|---|---|
|
feature nxapi |
Enables NX-API. |
|
no feature nxapi |
Disables NX-API. |
|
nxapi {http|https} port port |
Specifies a port. |
|
no nxapi {http|https} |
Disables HTTP/HTTPS. |
|
show nxapi |
Displays port information. |
|
nxapi certificate {httpscrt |httpskey} |
Specifies the upload of the following:
|
|
nxapi certificate enable |
Enables a certificate. |
if above message not visible use below guide :
=====️ Preenayamo Vasudevam ️=====
***** Rate All Helpful Responses *****
03-09-2023 11:29 AM - edited 03-09-2023 11:29 AM
Great! no nxapi http/https can be entered. it should work.
Thank you!
03-09-2023 12:09 PM
the command " nxapi ssl-protocols {TLSv1.0 TLSv1.1 TLSv1.2}" cannot be run in this sw. Do not know why
Please see the below:
SW01(config)# nxapi ?
certificate Https certificate configuration
http Http configuration
https Https configuration
use-vrf Vrf to be used for nxapi communication
03-09-2023 01:43 PM
depends on the nexus code you use. check the version command reference for more.
=====️ Preenayamo Vasudevam ️=====
***** Rate All Helpful Responses *****
03-09-2023 02:00 PM
Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide