CVE-2020-15260CWE-297

Existing TLS connections can be reused without checking remote hostname

Medium · published March 10, 2021

CVSS v3.1
6.8
EPSS
1%
Percentile
62.1
In the wild
Unconfirmed
What it is

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In version 2.10 and earlier, PJSIP transport can be reused if they have the same IP address + port + protocol. However, this is insufficient for secure transport since it lacks remote hostname authentication. Suppose we have created a TLS connection to `sip.foo.com`, which has an IP address `100.1.1.1`. If we want to create a TLS connection to another hostname, say `sip.bar.com`, which has the same IP address, then it will reuse that existing connection, even though `100.1.1.1` does not have certificate to authenticate as `sip.bar.com`. The vulnerability allows for an insecure interaction without user awareness. It affects users who need access to connections to different destinations that translate to the same address, and allows man-in-the-middle attack if attacker can route a connection to another destination such as in the case of DNS spoofing.

The record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00987 · 62.1th percentile
Weakness
CWE-297 · Improper Validation of Certificate with Host Mismatch
Published
2021-03-10T22:30Z
EPSS history
Timeline
  • 10 MAR 22:30Z
    Existing TLS connections can be reused without checking remote hostname
    cvelistv5