CVE-2021-37624 FreeSWITCH does not authenticate SIP MESSAGE requests, leading to spam and message spoofing
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
12 packages: 11 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/freeswitch(Alpine v3.15) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| alpine/freeswitch(Alpine v3.16) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| alpine/freeswitch(Alpine v3.17) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| alpine/freeswitch(Alpine v3.18) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| alpine/freeswitch(Alpine v3.19) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| alpine/freeswitch(Alpine v3.20) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| alpine/freeswitch(Alpine v3.21) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| alpine/freeswitch(Alpine v3.22) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| alpine/freeswitch(Alpine v3.23) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| alpine/freeswitch(Alpine v3.24) | < 1.10.7-r0 | 1.10.7-r0 | Fixed |
| freeswitch | < 1.10.7 | 1.10.7 | Fixed |
| signalwire freeswitch | = < 1.10.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| freeswitch | < 1.10.7 | 1.10.7 |
| alpine/freeswitch(Alpine:v3.15) | < 1.10.7-r0 | 1.10.7-r0 |
| alpine/freeswitch(Alpine:v3.16) | < 1.10.7-r0 | 1.10.7-r0 |
| alpine/freeswitch(Alpine:v3.17) | < 1.10.7-r0 | 1.10.7-r0 |
| alpine/freeswitch(Alpine:v3.18) | < 1.10.7-r0 | 1.10.7-r0 |
| alpine/freeswitch(Alpine:v3.19) | < 1.10.7-r0 | 1.10.7-r0 |
| alpine/freeswitch(Alpine:v3.20) | < 1.10.7-r0 | 1.10.7-r0 |
| alpine/freeswitch(Alpine:v3.21) | < 1.10.7-r0 | 1.10.7-r0 |
| alpine/freeswitch(Alpine:v3.22) | < 1.10.7-r0 | 1.10.7-r0 |
| alpine/freeswitch(Alpine:v3.23) | < 1.10.7-r0 | 1.10.7-r0 |
| alpine/freeswitch(Alpine:v3.24) | < 1.10.7-r0 | 1.10.7-r0 |
| signalwire freeswitch | = < 1.10.7 | No fix listed |
References
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- 20211026 [ES2021-07] FreeSWITCH does not authenticate SIP MESSAGE requests, leading to spam and message spoofing exploit mailing-list third-party-advisory
- [oss-security] 20211025 [ES2021-07] FreeSWITCH does not authenticate SIP MESSAGE requests, leading to spam and message spoofing mailing-list third-party-advisory
- github.com third-party-advisory
- github.com third-party-advisory
- security.alpinelinux.org vendor-advisory