Skip to content
Memory corruption Disclosed report Advanced

Remote client memory corruption in ssl_add_clienthello_tlsext()

A memory corruption bug exists in OpenSSL's ssl_add_clienthello_tlsext() when building a ClientHello with session tickets enabled, certificate status requested and an unusually large ALPN list. An attacker able to influence those client settings could trigger memory corruption, though OpenSSL did not treat it as a security vulnerability because the required conditions are unrealistic.

guido Follow

Originally disclosed on HackerOne

  • Fixed in 47 days
  • Disclosed after 3 months

https://guidovranken.wordpress.com/2016/10/13/openssl-1-1-0-remote-client-memory-corruption-in-ssl_add_clienthello_tlsext/

OpenSSL is not treating this as a security vulnerability because 1) session tickets need to be enabled 2) request certificate status from server 3) an unrealistically large ALPN list set.

Reporting this for reputation points.

The original report as published on HackerOne, by guido. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

Memory corruption could crash the client, but only when session tickets are enabled, certificate status is requested and an unrealistically large ALPN list is configured, so OpenSSL did not classify it as a security issue.

What the attacker needed

Session tickets enabled; certificate status requested; unrealistically large ALPN list

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a program builds a network message, it must reserve enough space for every piece of data it adds. Here the code apparently mishandles a long list of protocol names, causing memory corruption. That kind of mistake can crash a program.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by guido

View all

49 more disclosed reports, best first.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.