Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
A wolfSSL server marks the peer as authenticated as soon as it accepts a session ticket or TLS 1.3 PSK. The ticket does not record whether the original session presented a client certificate, so a ticket issued without client authentication resumes on a connection that requires a certificate.
A TLS 1.2 or DTLS 1.2 session ticket carries the session ID context of the connection that issued it, but the server never compares that context when the ticket is presented. A ticket issued under one context resumes under another that shares the ticket-encryption key, with peer authentication taken as done.
The TLS 1.2 and DTLS 1.2 session cache is shared by every WOLFSSL_CTX in a process and is searched by session ID and side only. A client holding a session from one context can resume it on another context in the same process, which then skips its own client authentication.
A TLS 1.3 stateful ticket is a 32-byte identity that indexes the process-wide session cache. The lookup matches on identity and side only, so a ticket issued by one WOLFSSL_CTX resumes on another in the same process, which then skips its own client authentication.
DoCertificateVerify maps its failures to decode_error, decrypt_error or bad_certificate alerts only when WOLFSSL_EXTRA_ALERTS is defined. In a default build a server that rejects a client's CertificateVerify closes the connection without sending any alert.
The client-authentication fail-safe in wolfSSL_accept returns WOLFSSL_FATAL_ERROR without storing a cause in ssl->error. wolfSSL_get_error then returns whatever the slot held before, which can be zero or a stale WANT_READ, so an application can misread a fatal authentication failure.
The client-authentication fail-safe in wolfSSL_accept_TLSv13 returns WOLFSSL_FATAL_ERROR without storing a cause in ssl->error. wolfSSL_get_error then returns a leftover value, zero or a stale WANT_READ or WANT_WRITE, so an application can misread a fatal authentication failure.
When a server application supplies the master secret through a session-secret callback, the TLS 1.2 resumption code marks the peer as authenticated and returns before the ticket expiry check. An expired ticket that still decrypts completes resumption with the peer-authentication flag set.
The handler for SSLv2-format ClientHello records sets the peer-authentication flag on session resumption from possession of the session secret alone. On the tested code this resumption path always aborts before the handshake completes, so the grant is a latent gap that a fix to the other resumption paths would miss.
// No embargoed advisories.