Module Name: src Committed By: christos Date: Wed Apr 10 17:48:08 UTC 2019
Modified Files: src/external/bsd/wpa/dist/src/drivers: driver_bsd.c src/external/bsd/wpa/dist/src/eap_server: eap_server_pwd.c Log Message: CVE-2019-9498 (EAP-pwd server missing commit validation for scalar/element) When processing an EAP-pwd Commit frame, the peer's scalar and element (elliptic curve point) were not validated. This allowed an adversary to bypass authentication, and impersonate any user if the crypto implementation did not verify the validity of the EC point. Fix this vulnerability by assuring the received scalar lies within the valid range, and by checking that the received element is not the point at infinity and lies on the elliptic curve being used. (CVE-2019-9498) The vulnerability is only exploitable if OpenSSL version 1.0.2 or lower is used, or if LibreSSL or wolfssl is used. Newer versions of OpenSSL (and also BoringSSL) implicitly validate the elliptic curve point in EC_POINT_set_affine_coordinates_GFp(), preventing the attack. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/external/bsd/wpa/dist/src/drivers/driver_bsd.c cvs rdiff -u -r1.5 -r1.6 \ src/external/bsd/wpa/dist/src/eap_server/eap_server_pwd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.