OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCipherSpec messages, which allows man-in-the-middle attackers to trigger use of a zero-length master key in certain OpenSSL-to-OpenSSL communications, and consequently hijack sessions or obtain sensitive information, via a crafted TLS handshake, aka the “CCS Injection” vulnerability. This script tests for that vulnerability.
You can download it from the following link: https://packetstormsecurity.com/files/download/126987/OSSL_CCS_InjectTest.zip
Source: https://packetstormsecurity.com/files/126987/OpenSSL-CVE-2014-0224-Detection-Script.html

