CVEfocus › CVE database › CVE-2021-37624

CVE-2021-37624FreeSWITCH does not authenticate SIP MESSAGE requests, leading to spam and message…

CVSS 7.5 HighEPSS 3.8% (higher than 91% of CVEs)Published 2021-10-25Updated 2024-08-04Assigner: GitHub_M

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation that runs on any commodity hardware. Prior to version 1.10.7, FreeSWITCH does not authenticate SIP MESSAGE requests, leading to spam and message spoofing. By default, SIP requests of the type MESSAGE (RFC 3428) are not authenticated in the affected versions of FreeSWITCH. MESSAGE requests are relayed to SIP user agents registered with the FreeSWITCH server without requiring any authentication. Although this behaviour can be changed by setting the `auth-messages` parameter to `true`, it is not the default setting. Abuse of this security issue allows attackers to send SIP MESSAGE messages to any SIP user agent that is registered with the server without requiring authentication. Additionally, since no authentication is required, chat messages can be spoofed to appear to come from trusted entities. Therefore, abuse can lead to spam and enable social engineering, phishing and similar attacks. This issue is patched in version 1.10.7. Maintainers recommend that this SIP message type is authenticated by default so that FreeSWITCH administrators do not need to be explicitly set the `auth-messages` parameter. When following such a recommendation, a new parameter can be introduced to explicitly disable authentication.

CWE-287

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Alpine Linux 3.24freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624
Alpine Linux 3.23freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624
Alpine Linux 3.22freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624
Alpine Linux 3.21freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624
Alpine Linux 3.20freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624
Alpine Linux 3.19freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624
Alpine Linux 3.18freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624
Alpine Linux 3.17freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624
Alpine Linux 3.16freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624
Alpine Linux 3.15freeswitchFixed1.10.7-r0ALPINE-CVE-2021-37624

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.