CVEs from 2017
17 real-world CVEs published in 2017. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2017-13099medium 5.92017
ROBOT: wolfSSL RSA padding errors become a weak oracle
A shortened static-RSA TLS flow made a correctly formatted PKCS#1 v1.5 ciphertext wait for later handshake messages while malformed structures failed immediately, exposing a weak Bleichenbacher oracle.
- CVE-2017-13156high 7.82017
Janus: Android APK signature bypass by dual interpretation
A file can remain a valid JAR-v1-signed APK to the verifier while a prepended DEX body makes the runtime execute different bytes.
- CVE-2017-11882high 7.82017
Equation Editor stack buffer overflow (CVE-2017-11882)
A record parser copies a variable-length name field into a fixed 40-byte stack buffer with no length check, so an oversized name overwrites the saved return address.
- CVE-2017-10271high 7.52017
WebLogic wls-wsat XMLDecoder deserialization RCE
A SOAP endpoint decodes the request body with XMLDecoder behind a denylist that blocks only the object element, so a class-instantiating element slips through and runs arbitrary commands unauthenticated.
- CVE-2017-15361medium 5.92017
ROCA: Infineon RSALib structured RSA primes
Infineon's proprietary RSA generator restricted each prime to a recognizable algebraic form, sharply reducing prime entropy and making affected public moduli fingerprintable and practically factorable at common key sizes.
- CVE-2017-13077medium 6.82017
KRACK: key reinstallation in the WPA2 4-way handshake
A replayed handshake message makes the client reinstall an already-installed session key, resetting the transmit nonce and receive replay counter, which reuses keystream and breaks the encryption.
- CVE-2017-9798high 7.52017
Optionsbleed: a request-pool method enters a global table
An unrecognized method in a per-directory Limit directive was registered globally using memory owned by temporary `.htaccess` processing. After that pool was freed, an OPTIONS response walked stale method-name pointers and could reflect process memory in its Allow header.
- CVE-2017-0781high 8.82017
BlueBorne: Android BNEP pending-packet heap overflow
The Android BNEP parser allocates only the remaining payload length but copies that payload after an unallocated header-sized offset, placing the entire copy beyond the heap object.
- CVE-2017-8759high 7.82017
.NET WSDL additional-address CRLF code injection
The SOAP WSDL parser generated C# source from service addresses and tried to comment out additional addresses with //; a CRLF inside an address escaped the comment, injected a new source line, and was compiled by csc.exe.
- CVE-2017-9805high 8.12017
Apache Struts REST plugin XStream deserialization RCE (S2-052)
The REST plugin deserializes an XML request body with a default XStream instance that has no type allowlist, so a crafted gadget-chain document instantiates arbitrary classes and runs commands on the server.
- CVE-2017-9417critical 9.82017
Broadpwn: Broadcom WMM information-element heap overflow
Broadcom Wi-Fi firmware allocates 0x2c bytes for a saved WMM information element but copies the attacker's full one-byte IE length, allowing an association response to overwrite as many as 211 adjacent heap bytes.
- CVE-2017-7494critical 9.82017
SambaCry: arbitrary shared-library load via a named pipe
A client-supplied pipe name is passed straight to a module loader with no path check, so a name that is the full path to an uploaded shared object makes the server dlopen and run it.
- CVE-2017-0199high 7.82017
Office OLE2Link HTA handler execution
An embedded OLE2 link could make the document host fetch attacker-controlled content, trust its application/hta MIME type, and invoke the registered HTA handler to execute script when the document was opened.
- CVE-2017-7269critical 9.82017
ExplodingCan: IIS WebDAV character-count overflow
A WebDAV URL conversion allocates a large CStackBuffer as though the character count were a byte count, then writes the expanded Unicode representation into the undersized destination.
- CVE-2017-0144high 8.12017
Windows SMBv1 FEA-list integer truncation pool overflow (EternalBlue, CVE-2017-0144)
In SMBv1's OS/2 FEA-list conversion, a 32-bit list size is tracked in a 16-bit field, so a size just over 0xFFFF truncates and the non-paged-pool buffer is allocated too small for the data copied into it. EternalBlue, an Equation Group tool leaked by The Shadow Brokers, weaponized this and powered WannaCry and NotPetya, the most consequential SMB exploit in history.
- CVE-2017-5638critical 9.82017
Apache Struts Jakarta parser OGNL injection (S2-045)
An invalid Content-Type on a multipart upload makes the Jakarta parser throw an exception whose message carries the raw header, and Struts passes that message to an error formatter that evaluates OGNL, so a crafted expression in the header runs commands on the server.
- CVE-2016-9244high 7.52017
Ticketbleed: short session IDs leak 31 bytes from BIG-IP
A BIG-IP resumed handshake echoed a fixed 32-byte session-ID buffer even when the client supplied a shorter ID, returning up to 31 bytes of adjacent uninitialized memory per connection.