Bug 1277865 (CVE-2015-5316)

Summary: CVE-2015-5316 wpa_supplicant: EAP-pwd peer error path failure on unexpected Confirm message
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: wpa_supplicant 2.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 09:37:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1277868    
Attachments:
Description Flags
CVE-2015-5316 patch none

Description Martin Prpič 2015-11-04 09:33:47 UTC
The following flaw was reported in wpa_supplicant:

A vulnerability was found in EAP-pwd peer implementation used in wpa_supplicant. If an EAP-pwd Confirm message is received unexpectedly before the Identity exchange, the error path processing ended up dereferencing a NULL pointer and terminating the process.

For wpa_supplicant with EAP-pwd enabled in a network configuration profile, this could allow a denial of service attack by an attacker within radio range.

Vulnerable versions/configurations:

wpa_supplicant v1.0-v2.5 with CONFIG_EAP_PWD=y in the build configuration (wpa_supplicant/.config) and EAP-pwd enabled in a network profile at runtime.

Possible mitigation steps

- Disable EAP-pwd in runtime configuration

External References:

http://w1.fi/security/2015-8/

Comment 1 Martin Prpič 2015-11-04 09:34:36 UTC
Created attachment 1089509 [details]
CVE-2015-5316 patch

Comment 2 Martin Prpič 2015-11-04 09:37:11 UTC
Affected code does not exist in wpa_supplicant versions in Red Hat Enterprise Linux 6 and earlier. The wpa_supplicant packages in Red Hat Enterprise Linux 7 and Fedora are not built with the CONFIG_EAP_PWD configuration option and hence are also unaffected.

Statement:

Not vulnerable. This issue did not affect the versions of wpa_supplicant as shipped with Red Hat Enterprise Linux 5, 6, and 7.