Rapid7 Vulnerability & Exploit Database

OpenSSL Server-Side ChangeCipherSpec Injection Scanner

Back to Search

OpenSSL Server-Side ChangeCipherSpec Injection Scanner



This module checks for the OpenSSL ChangeCipherSpec (CCS) Injection vulnerability. The problem exists in the handling of early CCS messages during session negotiation. Vulnerable installations of OpenSSL accepts them, while later implementations do not. If successful, an attacker can leverage this vulnerability to perform a man-in-the-middle (MITM) attack by downgrading the cipher spec between a client and server. This issue was first reported in early June, 2014.


  • Masashi Kikuchi
  • Craig Young <CYoung@tripwire.com>
  • juan vazquez <juan.vazquez@metasploit.com>


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/ssl/openssl_ccs
msf auxiliary(openssl_ccs) > show actions
msf auxiliary(openssl_ccs) > set ACTION < action-name >
msf auxiliary(openssl_ccs) > show options
    ...show and set options...
msf auxiliary(openssl_ccs) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security