ID CVE-2015-4141
Summary The WPS UPnP function in hostapd, when using WPS AP, and wpa_supplicant, when using WPS external registrar (ER), 0.7.0 through 2.4 allows remote attackers to cause a denial of service (crash) via a negative chunk length, which triggers an out-of-bounds read or heap-based buffer overflow.
References
Vulnerable Configurations
  • w1.fi WPA Supplicant 0.7.0
    cpe:2.3:a:w1.fi:wpa_supplicant:0.7.0
  • w1.fi WPA Supplicant 0.7.1
    cpe:2.3:a:w1.fi:wpa_supplicant:0.7.1
  • w1.fi WPA Supplicant 0.7.2
    cpe:2.3:a:w1.fi:wpa_supplicant:0.7.2
  • w1.fi WPA Supplicant 0.7.3
    cpe:2.3:a:w1.fi:wpa_supplicant:0.7.3
  • w1.fi WPA Supplicant 1.0
    cpe:2.3:a:w1.fi:wpa_supplicant:1.0
  • w1.fi WPA Supplicant 1.1
    cpe:2.3:a:w1.fi:wpa_supplicant:1.1
  • w1.fi WPA Supplicant 2.0
    cpe:2.3:a:w1.fi:wpa_supplicant:2.0
  • w1.fi WPA Supplicant 2.1
    cpe:2.3:a:w1.fi:wpa_supplicant:2.1
  • w1.fi WPA Supplicant 2.2
    cpe:2.3:a:w1.fi:wpa_supplicant:2.2
  • w1.fi WPA Supplicant 2.3
    cpe:2.3:a:w1.fi:wpa_supplicant:2.3
  • w1.fi WPA Supplicant 2.4
    cpe:2.3:a:w1.fi:wpa_supplicant:2.4
  • w1.fi Hostapd 0.7.0
    cpe:2.3:a:w1.fi:hostapd:0.7.0
  • w1.fi Hostapd 0.7.1
    cpe:2.3:a:w1.fi:hostapd:0.7.1
  • w1.fi Hostapd 0.7.2
    cpe:2.3:a:w1.fi:hostapd:0.7.2
  • w1.fi Hostapd 0.7.3
    cpe:2.3:a:w1.fi:hostapd:0.7.3
  • cpe:2.3:a:w1.fi:hostapd:1.0
    cpe:2.3:a:w1.fi:hostapd:1.0
  • w1.fi Hostapd 1.1
    cpe:2.3:a:w1.fi:hostapd:1.1
  • w1.fi Hostapd 2.0
    cpe:2.3:a:w1.fi:hostapd:2.0
  • w1.fi Hostapd 2.1
    cpe:2.3:a:w1.fi:hostapd:2.1
  • w1.fi Hostapd 2.2
    cpe:2.3:a:w1.fi:hostapd:2.2
  • w1.fi hostapd 2.3
    cpe:2.3:a:w1.fi:hostapd:2.3
  • w1.fi hostapd 2.4
    cpe:2.3:a:w1.fi:hostapd:2.4
  • OpenSUSE 13.1
    cpe:2.3:o:opensuse:opensuse:13.1
  • OpenSUSE 13.2
    cpe:2.3:o:opensuse:opensuse:13.2
CVSS
Base: 4.3 (as of 16-08-2016 - 10:47)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2016-2305-1.NASL
    description This update for wpa_supplicant fixes the following issues : - CVE-2015-4141: WPS UPnP vulnerability with HTTP chunked transfer encoding. (bnc#930077) - CVE-2015-4142: Integer underflow in AP mode WMM Action frame processing. (bnc#930078) - CVE-2015-4143: EAP-pwd missing payload length validation. (bnc#930079) - CVE-2015-5310: Ignore Key Data in WNM Sleep Mode Response frame if no PMF in use. (bsc#952254) - CVE-2015-8041: Fix payload length validation in NDEF record parser. (bsc#937419) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-29
    plugin id 93507
    published 2016-09-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=93507
    title SUSE SLED12 / SLES12 Security Update : wpa_supplicant (SUSE-SU-2016:2305-1)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_BBC0DB92084C11E5BB90002590263BF5.NASL
    description Jouni Malinen reports : WPS UPnP vulnerability with HTTP chunked transfer encoding. (2015-2 - CVE-2015-4141) Integer underflow in AP mode WMM Action frame processing. (2015-3 - CVE-2015-4142) EAP-pwd missing payload length validation. (2015-4 - CVE-2015-4143, CVE-2015-4144, CVE-2015-4145, CVE-2015-4146)
    last seen 2019-02-21
    modified 2018-12-19
    plugin id 83964
    published 2015-06-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=83964
    title FreeBSD : hostapd and wpa_supplicant -- multiple vulnerabilities (bbc0db92-084c-11e5-bb90-002590263bf5)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3397.NASL
    description Several vulnerabilities have been discovered in wpa_supplicant and hostapd. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2015-4141 Kostya Kortchinsky of the Google Security Team discovered a vulnerability in the WPS UPnP function with HTTP chunked transfer encoding which may result in a denial of service. - CVE-2015-4142 Kostya Kortchinsky of the Google Security Team discovered a vulnerability in the WMM Action frame processing which may result in a denial of service. - CVE-2015-4143 CVE-2015-4144 CVE-2015-4145 CVE-2015-4146 Kostya Kortchinsky of the Google Security Team discovered that EAP-pwd payload is not properly validated which may result in a denial of service. - CVE-2015-5310 Jouni Malinen discovered a flaw in the WMM Sleep Mode Response frame processing. A remote attacker can take advantage of this flaw to mount a denial of service. - CVE-2015-5314 CVE-2015-5315 Jouni Malinen discovered a flaw in the handling of EAP-pwd messages which may result in a denial of service. - CVE-2015-5316 Jouni Malinen discovered a flaw in the handling of EAP-pwd Confirm messages which may result in a denial of service. - CVE-2015-8041 Incomplete WPS and P2P NFC NDEF record payload length validation may result in a denial of service.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 86833
    published 2015-11-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86833
    title Debian DSA-3397-1 : wpa - security update
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-2650-1.NASL
    description Kostya Kortchinsky discovered multiple flaws in wpa_supplicant and hostapd. A remote attacker could use these issues to cause wpa_supplicant or hostapd to crash, resulting in a denial of service. (CVE-2015-4141, CVE-2015-4142, CVE-2015-4143, CVE-2015-4144, CVE-2015-4145, CVE-2015-4146). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 84230
    published 2015-06-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=84230
    title Ubuntu 12.04 LTS / 14.04 LTS / 14.10 / 15.04 : wpa, wpasupplicant vulnerabilities (USN-2650-1)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-411.NASL
    description wpa_supplicant was updated to fix three security issues. The following vulnerabilities were fixed : CVE-2015-4141: WPS UPnP vulnerability with HTTP chunked transfer encoding (boo#930077) CVE-2015-4142: Integer underflow in AP mode WMM Action frame processing (boo#930078) CVE-2015-4143: EAP-pwd missing payload length validation (boo#930079)
    last seen 2019-02-21
    modified 2015-06-17
    plugin id 84183
    published 2015-06-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=84183
    title openSUSE Security Update : wpa-supplicant (openSUSE-2015-411)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2016-1104.NASL
    description This update for wpa_supplicant fixes the following issues : - CVE-2015-4141: WPS UPnP vulnerability with HTTP chunked transfer encoding. (bnc#930077) - CVE-2015-4142: Integer underflow in AP mode WMM Action frame processing. (bnc#930078) - CVE-2015-4143: EAP-pwd missing payload length validation. (bnc#930079) - CVE-2015-5310: Ignore Key Data in WNM Sleep Mode Response frame if no PMF in use. (bsc#952254) - CVE-2015-8041: Fix payload length validation in NDEF record parser. (bsc#937419) This update was imported from the SUSE:SLE-12:Update update project.
    last seen 2019-02-21
    modified 2016-10-13
    plugin id 93700
    published 2016-09-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=93700
    title openSUSE Security Update : wpa_supplicant (openSUSE-2016-1104)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2015-2221-1.NASL
    description wpa_supplicant was updated to fix two security issues. These security issues were fixed : - CVE-2015-4142: Integer underflow in the WMM Action frame parser in hostapd and wpa_supplicant, when used for AP mode MLME/SME functionality, allowed remote attackers to cause a denial of service (crash) via a crafted frame, which triggers an out-of-bounds read (bsc#930078). - CVE-2015-4141: The WPS UPnP function in hostapd, when using WPS AP, and wpa_supplicant, when using WPS external registrar (ER), allowed remote attackers to cause a denial of service (crash) via a negative chunk length, which triggered an out-of-bounds read or heap-based buffer overflow (bsc#930077). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-29
    plugin id 87279
    published 2015-12-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87279
    title SUSE SLED11 / SLES11 Security Update : wpa_supplicant (SUSE-SU-2015:2221-1)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201606-17.NASL
    description The remote host is affected by the vulnerability described in GLSA-201606-17 (hostapd and wpa_supplicant: Multiple vulnerabilities) Multiple vulnerabilities exist in both hostapd and wpa_supplicant. Please review the CVE identifiers for more information. Impact : Remote attackers could execute arbitrary code with the privileges of the process or cause Denial of Service. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2016-06-28
    plugin id 91862
    published 2016-06-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=91862
    title GLSA-201606-17 : hostapd and wpa_supplicant: Multiple vulnerabilities
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2017-1201.NASL
    description This update for hostapd fixes the following issues : - Fix KRACK attacks on the AP side (boo#1063479, CVE-2017-13078, CVE-2017-13079, CVE-2017-13080, CVE-2017-13081, CVE-2017-13087, CVE-2017-13088) : Hostap was updated to upstream release 2.6 - fixed EAP-pwd last fragment validation [http://w1.fi/security/2015-7/] (CVE-2015-5314) - fixed WPS configuration update vulnerability with malformed passphrase [http://w1.fi/security/2016-1/] (CVE-2016-4476) - extended channel switch support for VHT bandwidth changes - added support for configuring new ANQP-elements with anqp_elem=: - fixed Suite B 192-bit AKM to use proper PMK length (note: this makes old releases incompatible with the fixed behavior) - added no_probe_resp_if_max_sta=1 parameter to disable Probe Response frame sending for not-associated STAs if max_num_sta limit has been reached - added option (-S as command line argument) to request all interfaces to be started at the same time - modified rts_threshold and fragm_threshold configuration parameters to allow -1 to be used to disable RTS/fragmentation - EAP-pwd: added support for Brainpool Elliptic Curves (with OpenSSL 1.0.2 and newer) - fixed EAPOL reauthentication after FT protocol run - fixed FTIE generation for 4-way handshake after FT protocol run - fixed and improved various FST operations - TLS server - support SHA384 and SHA512 hashes - support TLS v1.2 signature algorithm with SHA384 and SHA512 - support PKCS #5 v2.0 PBES2 - support PKCS #5 with PKCS #12 style key decryption - minimal support for PKCS #12 - support OCSP stapling (including ocsp_multi) - added support for OpenSSL 1.1 API changes - drop support for OpenSSL 0.9.8 - drop support for OpenSSL 1.0.0 - EAP-PEAP: support fast-connect crypto binding - RADIUS - fix Called-Station-Id to not escape SSID - add Event-Timestamp to all Accounting-Request packets - add Acct-Session-Id to Accounting-On/Off - add Acct-Multi-Session-Id ton Access-Request packets - add Service-Type (= Frames) - allow server to provide PSK instead of passphrase for WPA-PSK Tunnel_password case - update full message for interim accounting updates - add Acct-Delay-Time into Accounting messages - add require_message_authenticator configuration option to require CoA/Disconnect-Request packets to be authenticated - started to postpone WNM-Notification frame sending by 100 ms so that the STA has some more time to configure the key before this frame is received after the 4-way handshake - VHT: added interoperability workaround for 80+80 and 160 MHz channels - extended VLAN support (per-STA vif, etc.) - fixed PMKID derivation with SAE - nl80211 - added support for full station state operations - fix IEEE 802.1X/WEP EAP reauthentication and rekeying to use unencrypted EAPOL frames - added initial MBO support; number of extensions to WNM BSS Transition Management - added initial functionality for location related operations - added assocresp_elements parameter to allow vendor specific elements to be added into (Re)Association Response frames - improved Public Action frame addressing - use Address 3 = wildcard BSSID in GAS response if a query from an unassociated STA used that address - fix TX status processing for Address 3 = wildcard BSSID - add gas_address3 configuration parameter to control Address 3 behavior - added command line parameter -i to override interface parameter in hostapd.conf - added command completion support to hostapd_cli - added passive client taxonomy determination (CONFIG_TAXONOMY=y compile option and 'SIGNATURE ' control interface command) - number of small fixes hostapd was updated to upstream release 2.5 - (CVE-2015-1863) is fixed in upstream release 2.5 - fixed WPS UPnP vulnerability with HTTP chunked transfer encoding [http://w1.fi/security/2015-2/] (CVE-2015-4141 boo#930077) - fixed WMM Action frame parser [http://w1.fi/security/2015-3/] (CVE-2015-4142 boo#930078) - fixed EAP-pwd server missing payload length validation [http://w1.fi/security/2015-4/] (CVE-2015-4143, CVE-2015-4144, CVE-2015-4145, boo#930079) - fixed validation of WPS and P2P NFC NDEF record payload length [http://w1.fi/security/2015-5/] - nl80211 : - fixed vendor command handling to check OUI properly - fixed hlr_auc_gw build with OpenSSL - hlr_auc_gw: allow Milenage RES length to be reduced - disable HT for a station that does not support WMM/QoS - added support for hashed password (NtHash) in EAP-pwd server - fixed and extended dynamic VLAN cases - added EAP-EKE server support for deriving Session-Id - set Acct-Session-Id to a random value to make it more likely to be unique even if the device does not have a proper clock - added more 2.4 GHz channels for 20/40 MHz HT co-ex scan - modified SAE routines to be more robust and PWE generation to be stronger against timing attacks - added support for Brainpool Elliptic Curves with SAE - increases maximum value accepted for cwmin/cwmax - added support for CCMP-256 and GCMP-256 as group ciphers with FT - added Fast Session Transfer (FST) module - removed optional fields from RSNE when using FT with PMF (workaround for interoperability issues with iOS 8.4) - added EAP server support for TLS session resumption - fixed key derivation for Suite B 192-bit AKM (this breaks compatibility with the earlier version) - added mechanism to track unconnected stations and do minimal band steering - number of small fixes
    last seen 2019-02-21
    modified 2017-12-21
    plugin id 104237
    published 2017-10-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=104237
    title openSUSE Security Update : hostapd (openSUSE-2017-1201) (KRACK)
refmap via4
confirm http://w1.fi/security/2015-2/wps-upnp-http-chunked-transfer-encoding.txt
debian DSA-3397
gentoo GLSA-201606-17
mlist
  • [oss-security] 20150509 CVE request: hostapd/wpa_supplicant - WPS UPnP vulnerability with HTTP chunked transfer encoding
  • [oss-security] 20150531 Re: CVE request: vulnerability in wpa_supplicant and hostapd
suse openSUSE-SU-2015:1030
ubuntu USN-2650-1
Last major update 16-08-2016 - 16:35
Published 15-06-2015 - 11:59
Last modified 30-10-2018 - 12:27
Back to Top