SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   wpa_supplicant Vendors:   Malinen, Jouni et al
(Red Hat Issues Fix) wpa_supplicant Input Validation Flaw in 'hostapd_cli' Lets Remote Wireless Users Execute Arbitrary Commands
SecurityTracker Alert ID:  1031295
SecurityTracker URL:  http://securitytracker.com/id/1031295
CVE Reference:   CVE-2014-3686   (Links to External Site)
Date:  Dec 4 2014
Impact:   Execution of arbitrary code via network, Root access via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   A vulnerability was reported in wpa_supplicant. A remote user on the local wireless network can execute arbitrary commands on the target system.

The hostapd_cli component does not properly validate user-supplied data. When used to run action scripts ('-a' command line parameter) in an affected build combination, a remote user on the local wireless network can send specially crafted frame data to execute arbitrary operating system commands on the target system. The commands will run with the privileges of the hostapd_cli process.

The following build combinations are affected:

wpa_supplicant v1.0-v2.2 with CONFIG_P2P build option enabled and connecting to a P2P group

wpa_supplicant v2.1-v2.2 with CONFIG_WNM build option enabled

wpa_supplicant v2.2 with CONFIG_HS20 build option enabled

hostapd v0.7.2-v2.2 with CONFIG_WPS build option enabled and WPS enabled in runtime configuration

Jouni Malinen reported this vulnerability.

Impact:   A remote user on the local wireless network can execute arbitrary commands on the target system.
Solution:   Red Hat has issued a fix.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2014-1956.html

Vendor URL:  w1.fi/security/2014-1/wpacli-action-scripts.txt (Links to External Site)
Cause:   Access control error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  7

Message History:   This archive entry is a follow-up to the message listed below.
Dec 3 2014 wpa_supplicant Input Validation Flaw in 'hostapd_cli' Lets Remote Wireless Users Execute Arbitrary Commands



 Source Message Contents

Subject:  [RHSA-2014:1956-01] Moderate: wpa_supplicant security update

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: wpa_supplicant security update
Advisory ID:       RHSA-2014:1956-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2014-1956.html
Issue date:        2014-12-03
CVE Names:         CVE-2014-3686 
=====================================================================

1. Summary:

An updated wpa_supplicant package that fixes one security issue is now
available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Moderate security
impact. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available from the CVE link in the
References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64

3. Description:

The wpa_supplicant package contains an 802.1X Supplicant with support for
WEP, WPA, WPA2 (IEEE 802.11i / RSN), and various EAP authentication
methods. It implements key negotiation with a WPA Authenticator for client
stations and controls the roaming and IEEE 802.11 authentication and
association of the WLAN driver.

A command injection flaw was found in the way the wpa_cli utility executed
action scripts. If wpa_cli was run in daemon mode to execute an action
script (specified using the -a command line option), and wpa_supplicant was
configured to connect to a P2P group, malicious P2P group parameters could
cause wpa_cli to execute arbitrary code. (CVE-2014-3686)

Red Hat would like to thank Jouni Malinen for reporting this issue.

All wpa_supplicant users are advised to upgrade to this updated package,
which contains a backported patch to correct this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1151259 - CVE-2014-3686 wpa_supplicant and hostapd: wpa_cli and hostapd_cli remote command execution issue

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
wpa_supplicant-2.0-13.el7_0.src.rpm

x86_64:
wpa_supplicant-2.0-13.el7_0.x86_64.rpm
wpa_supplicant-debuginfo-2.0-13.el7_0.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
wpa_supplicant-2.0-13.el7_0.src.rpm

x86_64:
wpa_supplicant-2.0-13.el7_0.x86_64.rpm
wpa_supplicant-debuginfo-2.0-13.el7_0.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
wpa_supplicant-2.0-13.el7_0.src.rpm

ppc64:
wpa_supplicant-2.0-13.el7_0.ppc64.rpm
wpa_supplicant-debuginfo-2.0-13.el7_0.ppc64.rpm

s390x:
wpa_supplicant-2.0-13.el7_0.s390x.rpm
wpa_supplicant-debuginfo-2.0-13.el7_0.s390x.rpm

x86_64:
wpa_supplicant-2.0-13.el7_0.x86_64.rpm
wpa_supplicant-debuginfo-2.0-13.el7_0.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
wpa_supplicant-2.0-13.el7_0.src.rpm

x86_64:
wpa_supplicant-2.0-13.el7_0.x86_64.rpm
wpa_supplicant-debuginfo-2.0-13.el7_0.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2014-3686
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2014 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFUf2SwXlSAg2UNWIIRApUwAJ48U45SYlLj1wa/t3AS5fn7TwMq7QCfY3OR
CPExuF9X4TakRzUYDDn2tKM=
=5Piw
-----END PGP SIGNATURE-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC