CVE-2021-37624FreeSWITCH does not authenticate SIP MESSAGE requests, leading to spam and message…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-37624 |
| Alpine Linux 3.23 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-37624 |
| Alpine Linux 3.22 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-37624 |
| Alpine Linux 3.21 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-37624 |
| Alpine Linux 3.20 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-37624 |
| Alpine Linux 3.19 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-37624 |
| Alpine Linux 3.18 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-37624 |
| Alpine Linux 3.17 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-37624 |
| Alpine Linux 3.16 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-37624 |
| Alpine Linux 3.15 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-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.
- signalwire freeswitch: affected: < 1.10.7
References
- https://github.com/signalwire/freeswitch/security/advisories/GHSA-mjcm-q9h8-9xv3
- https://github.com/signalwire/freeswitch/releases/tag/v1.10.7
- http://www.openwall.com/lists/oss-security/2021/10/25/6
- http://packetstormsecurity.com/files/164628/FreeSWITCH-1.10.6-Missing-SIP-MESSAGE-Authentication.html
- http://seclists.org/fulldisclosure/2021/Oct/44
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.