Files
linux/drivers
Nicholas Bellinger 63afedf498 iscsi-target: Reject mutual authentication with reflected CHAP_C
commit 1d2b60a554 upstream.

This patch adds an explicit check in chap_server_compute_md5() to ensure
the CHAP_C value received from the initiator during mutual authentication
does not match the original CHAP_C provided by the target.

This is in line with RFC-3720, section 8.2.1:

   Originators MUST NOT reuse the CHAP challenge sent by the Responder
   for the other direction of a bidirectional authentication.
   Responders MUST check for this condition and close the iSCSI TCP
   connection if it occurs.

Reported-by: Tejas Vaykole <tejas.vaykole@calsoftinc.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 15:12:37 -04:00
..
2013-12-08 07:29:25 -08:00
2014-03-06 21:30:14 -08:00
2014-06-07 13:25:39 -07:00
2014-04-14 06:42:18 -07:00
2014-02-22 12:41:27 -08:00
2014-02-20 11:06:11 -08:00
2014-04-03 12:01:05 -07:00
2014-05-30 21:52:12 -07:00
2013-12-20 07:45:11 -08:00