From 29214c7a1fa2d8a968746b031a51e3e8d5346e93 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 27 Feb 2015 21:21:39 +0100 Subject: [PATCH] - better detection for ssl poodle - change of shorticut from zero to letter o --- testssl.sh | 67 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 27 deletions(-) diff --git a/testssl.sh b/testssl.sh index 2ea445d..43ffaca 100755 --- a/testssl.sh +++ b/testssl.sh @@ -367,24 +367,6 @@ runs_HTTP() { return $ret } -# Padding Oracle On Downgraded Legacy Encryption -poodle() { - pr_bold " POODLE "; out "(CVE-2014-3566), experimental " -# w/o downgrade check as of now https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00 | TLS_FALLBACK_SCSV - $OPENSSL s_client -ssl3 $STARTTLS -connect $NODEIP:$PORT $SNI 2>$TMPFILE >/dev/null $TMPFILE URI <-R|--renegotiation> tests only for renegotiation vulnerability <-C|--compression|--crime> tests only for CRIME vulnerability <-T|--breach> tests only for BREACH vulnerability - <-0|--poodle> tests only for POODLE vulnerability + <-O|--poodle> tests only for POODLE vulnerability <-A|--beast> tests only for BEAST vulnerability <-s|--pfs|--fs|--nsa> checks (perfect) forward secrecy settings <-4|--rc4|--appelbaum> which RC4 ciphers are being offered? @@ -2794,11 +2807,11 @@ case "$1" in fi ret=`expr $? + $ret` exit $ret ;; - -0|--poodle) + -O|--ssl_poodle|poodle) maketempf parse_hn_port "$2" - outln; pr_blue "--> Testing for POODLE (Padding Oracle On Downgraded Legacy Encryption) vulnerability"; outln "\n" - poodle + outln; pr_blue "--> Testing for POODLE (Padding Oracle On Downgraded Legacy Encryption) vulnerability, SSLv3"; outln "\n" + ssl_poodle exit $? ;; -4|--rc4|--appelbaum) maketempf @@ -2863,7 +2876,7 @@ case "$1" in renego ; ret=`expr $? + $ret` crime ; ret=`expr $? + $ret` [[ $SERVICE == "HTTP" ]] && breach "$URL_PATH" ; ret=`expr $? + $ret` - poodle ; ret=`expr $? + $ret` + ssl_poodle ; ret=`expr $? + $ret` beast ; ret=`expr $? + $ret` rc4 ; ret=`expr $? + $ret` @@ -2871,6 +2884,6 @@ case "$1" in exit $ret ;; esac -# $Id: testssl.sh,v 1.195 2015/02/23 09:40:09 dirkw Exp $ +# $Id: testssl.sh,v 1.196 2015/02/27 20:21:37 dirkw Exp $ # vim:ts=5:sw=5