cbcvebase.
CVE-2016-6433
published 2016-10-06

CVE-2016-6433: The Threat Management Console in Cisco Firepower Management Center 5.2.0 through 6.0.1 allows remote authenticated users to execute arbitrary commands via…

PriorityP278high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
75.75%
99.5th percentile
The Threat Management Console in Cisco Firepower Management Center 5.2.0 through 6.0.1 allows remote authenticated users to execute arbitrary commands via crafted web-application parameters, aka Bug ID CSCva30872.

Affected

21 ranges
VendorProductVersion rangeFixed in
ciscofirepower_threat_management
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center
ciscosecure_firewall_management_center

Detection & IOCsextracted from sources · hover to see the quote

urlPOST /DetectionPolicy/rules/rulesimport.cgi?no_mojo=1
path/DetectionPolicy/rules/rulesimport.cgi
path/login.cgi
filenameSourcefire_Rule_Update-2016-03-04-001-vrt.sh
filenameexploit.sh
commandsudo useradd -g ldapgroup -p `openssl passwd -1 #{pass}` #{user}; rm /var/sf/SRU/#{sh_name}
path/var/sf/SRU/
url/img/favicon.png?v=6.0.1-1213
port443
othersf_action_id=8c6059ae8dbedc089877b16b7be2ae7f
  • Detect POST requests to /DetectionPolicy/rules/rulesimport.cgi with the no_mojo=1 query parameter, especially with multipart/form-data bodies containing shell script filenames or useradd commands.
  • Alert on multipart file upload payloads to rulesimport.cgi where the uploaded file content contains 'useradd' or 'openssl passwd' shell commands.
  • Monitor for new user account creation in the 'ldapgroup' group on Firepower appliances, which is the group used by the exploit to add backdoor accounts.
  • Inspect CGISESSID cookie values in requests to rulesimport.cgi; the exploit requires a valid authenticated session cookie to operate.
  • Look for uploaded filenames matching shell script patterns (e.g., *.sh or Sourcefire_Rule_Update-*.sh) in multipart uploads to rulesimport.cgi, as the exploit disguises the payload as a rule update file.
  • Monitor for SSH logins from newly created accounts immediately following POST requests to rulesimport.cgi, indicating successful backdoor account creation and lateral movement.
  • Detect version fingerprinting requests to /img/favicon.png?v=6.0.1-1213, which the Metasploit module uses to confirm the vulnerable target version before exploitation.
  • Alert on 'sudo su -' execution from non-standard user accounts on Firepower appliances, indicating privilege escalation after backdoor account SSH login.
  • ·The exploit requires prior authentication; default credentials (admin:Admin123) are hardcoded in the Metasploit module and should be changed immediately on all deployments.
  • ·The vulnerability is exploitable because the www user is permitted to sudo commands (including useradd) as root with no password, making sudo misconfiguration a key contributing factor.
  • ·A valid CSRF token (sf_action_id) is required in addition to a valid session, meaning the exploit must first perform a GET to rulesimport.cgi to harvest the token before the malicious POST.
  • ·The exploit payload path is rewritten from /tmp to /usr/tmp due to filesystem constraints on the appliance; detection rules targeting /tmp for payload staging will miss this exploit.
  • ·Affected versions span Cisco Firepower Management Center 5.2.0 through 6.0.1; the Metasploit module specifically targets build 1213 of 6.0.1.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
vendor_cisco6.8MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.