Skip to content
Crypto Disclosed report Advanced CVE-2024-2379

CVE-2024-2379: QUIC certificate check bypass with wolfSSL

libcurl built with wolfSSL skips certificate verification for QUIC connections when an unknown or bad cipher or curve is specified, returning OK despite certificate problems.

fullmetal5 Follow

Originally disclosed on HackerOne

Bounty$560 Low View original
  • Triaged in 25 hours
  • Fixed in 2 days
  • Paid in 2 days
  • Disclosed after 2 days

Summary by the program

CVE-2024-2379 QUIC certificate check bypass with wolfSSL

VULNERABILITY libcurl skips the certificate verification for a QUIC connection under certain conditions, when built to use wolfSSL. If told to use an unknown/bad cipher or curve, the error path accidentally skips the verification and returns OK, thus ignoring any certificate problems.

INFO To trigger, this issue also requires that the used wolfSSL library was built with the OPENSSL_COMPATIBLE_DEFAULTS symbol set, which is not set for the recommended configure --enable-curl builds.

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2024-2379 to this issue. CWE-295: Improper Certificate Validation Severity: Low

Full Security Advisory: https://curl.se/docs/CVE-2024-2379.html

The report

See https://hackerone.com/reports/2410774 or https://curl.se/docs/CVE-2024-2379.html

Impact

See https://hackerone.com/reports/2410774 or https://curl.se/docs/CVE-2024-2379.html

The original report as published on HackerOne, by fullmetal5. 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

Root cause

Likely an error path in libcurl's QUIC handling with wolfSSL fails to perform certificate verification when an unsupported cipher or curve is requested, returning success instead of an error.

Impact

Certificate verification is skipped, but only if wolfSSL was built with a non-default option.

What the attacker needed

Libcurl built with wolfSSL; wolfSSL built with OPENSSL_COMPATIBLE_DEFAULTS

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 your computer connects to a secure website, it checks a digital certificate to make sure the site is genuine. This bug means that in a specific setup, that check is accidentally skipped, so a fake site could pretend to be real. However, it only happens if the software is built in a particular way that is not the default.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

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.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.