CVE-2021-41157FreeSWITCH does not authenticate SIP SUBSCRIBE requests by default
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. By default, SIP requests of the type SUBSCRIBE are not authenticated in the affected versions of FreeSWITCH. Abuse of this security issue allows attackers to subscribe to user agent event notifications without the need to authenticate. This abuse poses privacy concerns and might lead to social engineering or similar attacks. For example, attackers may be able to monitor the status of target SIP extensions. Although this issue was fixed in version v1.10.6, installations upgraded to the fixed version of FreeSWITCH from an older version, may still be vulnerable if the configuration is not updated accordingly. Software upgrades do not update the configuration by default. SIP SUBSCRIBE messages should be authenticated by default so that FreeSWITCH administrators do not need to explicitly set the `auth-subscriptions` 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-41157 |
| Alpine Linux 3.23 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-41157 |
| Alpine Linux 3.22 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-41157 |
| Alpine Linux 3.21 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-41157 |
| Alpine Linux 3.20 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-41157 |
| Alpine Linux 3.19 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-41157 |
| Alpine Linux 3.18 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-41157 |
| Alpine Linux 3.17 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-41157 |
| Alpine Linux 3.16 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-41157 |
| Alpine Linux 3.15 | freeswitch | Fixed | 1.10.7-r0 | ALPINE-CVE-2021-41157 |
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.6
References
- https://github.com/signalwire/freeswitch/security/advisories/GHSA-g7xg-7c54-rmpj
- https://github.com/signalwire/freeswitch/commit/b21dd4e7f3a6f1d5f7be3ea500a319a5bc11db9e
- https://github.com/signalwire/freeswitch/releases/tag/v1.10.6
- http://seclists.org/fulldisclosure/2021/Oct/41
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.