NewsCrawler.org

Choose Your Backend: Three TLS Bugs in GoAhead

GoAhead is an embedded web server used for device management in routers, switches, printers, gateways and industrial controls, and it ships in hundreds of millions of IoT, firewall, OT and military devices from vendors including Palo Alto Networks, Comcast, D-Link, HP, Canon, Honeywell, GE, Oracle, Siemens, Rockwell, Digi, Lockheed Martin, Boeing and more. Author Sébastien Féry describes three independent bugs in GoAhead's TLS integrations: depending on the TLS library and verification settings a device was built with, revoked client certificates can be accepted, encrypted sessions can be recovered by an observer, or a configured chain-depth limit can go unenforced.

The OpenSSL-compatible backend bug is rated critical at CVSS[1] 9.1 (GOAHEAD-SA-2026-0006): GoAhead loads the configured CRL[2] into the certificate store but never enables the OpenSSL flag X509_V_FLAG_CRL_CHECK, so revoked client certificates complete the mTLS[3] handshake even with issuer verification enabled — on GoAhead 6.1.0 with OpenSSL 3.6.2 a revoked, CA-signed client certificate passed while the callback reported error 0 throughout the chain. Affected are GoAhead 3.4.5 through 6.1.0 on the OpenSSL-compatible backend with a CRL configured; version 6.1.1 enables the check after loading the list.

The mbed TLS backend bug is rated medium at CVSS 5.9 (GOAHEAD-SA-2026-0005): a buffer-length typo passes one byte as the length of the 2048-bit DH modulus, leaving just eight possible shared-secret values, and the author reproduced the shared secret after five attempts in a proof of concept. A passive observer can decrypt captured TLS 1.2 DHE_RSA[4] sessions completely out of band, but only if the client accepts the broken parameters — the tested OpenSSL client rejected them as having too small a modulus. Introduced in 2018 and fixed in 6.1.1, the typo affects GoAhead 4.0.2 through 6.1.0; ECDHE sessions and TLS 1.3 are unaffected, and Mbed TLS 4.x has removed the DHE suites. The LibreSSL legacy verifier bug is rated high at CVSS 7.4 (GOAHEAD-SA-2026-0004): LibreSSL 3.2.x and 3.3.2–3.3.6 report an issuer error instead of a depth error when a chain exceeds GoAhead's depth limit of 10, and GoAhead tolerates that issuer error when issuer checking is disabled. On GoAhead 6.1.0 linked against LibreSSL 3.3.6, a 17-certificate chain rooted in an attacker-controlled self-signed CA completed the handshake and returned HTTP 200; the same source built against LibreSSL 4.3.1 rejected the chain with error 22 at depth 10. OpenSSL, BoringSSL, AWS-LC and LibreSSL 4.x builds are not exposed to this trigger.

Read the original foxio.ioDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page