fragattacks/src
Jouni Malinen 586c446e0f EAP-TLS server: Fix TLS Message Length validation
EAP-TLS/PEAP/TTLS/FAST server implementation did not validate TLS
Message Length value properly and could end up trying to store more
information into the message buffer than the allocated size if the first
fragment is longer than the indicated size. This could result in hostapd
process terminating in wpabuf length validation. Fix this by rejecting
messages that have invalid TLS Message Length value.

This would affect cases that use the internal EAP authentication server
in hostapd either directly with IEEE 802.1X or when using hostapd as a
RADIUS authentication server and when receiving an incorrectly
constructed EAP-TLS message. Cases where hostapd uses an external
authentication are not affected.

Thanks to Timo Warns for finding and reporting this issue.

Signed-hostap: Jouni Malinen <j@w1.fi>
intended-for: hostap-1
2012-10-07 20:06:29 +03:00
..
ap SAE: Add Finite Cyclic Group negotiation and Send-Confirm 2012-10-06 19:30:54 +03:00
common Reserve AKM and cipher suite values 2012-09-30 20:26:55 +03:00
crypto Move AES-CCM implementation into src/crypto 2012-09-09 18:07:19 +03:00
drivers 60 GHz: Fix error while processing scan results 2012-10-04 16:32:23 +03:00
eap_common Add UNAUTH-TLS vendor specific EAP type 2012-08-22 22:34:11 +03:00
eap_peer EAP-SIM/AKA: Store pseudonym identity in configuration 2012-09-02 13:04:18 +03:00
eap_server EAP-TLS server: Fix TLS Message Length validation 2012-10-07 20:06:29 +03:00
eapol_auth Initialize EAPOL auth identity/cui with STA entry data 2012-08-19 14:23:20 +03:00
eapol_supp EAP-SIM/AKA: Store pseudonym identity in configuration 2012-09-02 13:04:18 +03:00
l2_packet Update license notification in files initially contributed by Sam 2012-06-30 19:36:04 +03:00
p2p P2P: Fix ignoring of PD Response due to dialog token mismatch 2012-09-25 21:41:52 +03:00
radius RADIUS DAS: Verify that Error-Code attribute is added 2012-08-19 18:32:35 +03:00
rsn_supp Reserve AKM and cipher suite values 2012-09-30 20:26:55 +03:00
tls Enable 256-bit key AES in internal TLS implementation 2012-09-09 14:16:05 +03:00
utils wpabuf: Get rid of separate ext_data pointer 2012-08-19 18:25:25 +03:00
wps WPS: Fix a potential memory leak on wps_init() error path 2012-10-02 16:51:27 +03:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00