{"id":"CVE-2021-37624","published":"2021-10-25T16:10:10Z","modified":"2024-08-04T01:23:01Z","title":"FreeSWITCH does not authenticate SIP MESSAGE requests, leading to spam and message spoofing","vendor":"signalwire","product":"freeswitch","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03784,"percentile":0.90226,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/signalwire/freeswitch/security/advisories/GHSA-mjcm-q9h8-9xv3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/signalwire/freeswitch/releases/tag/v1.10.7","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/25/6","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://packetstormsecurity.com/files/164628/FreeSWITCH-1.10.6-Missing-SIP-MESSAGE-Authentication.html","tags":["x_refsource_MISC"]},{"url":"http://seclists.org/fulldisclosure/2021/Oct/44","tags":["mailing-list","x_refsource_FULLDISC"]}],"priority":{"score":28.3,"factors":[{"name":"EPSS percentile","points":18.05},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2021-11-28","earliestUrl":"https://github.com/0xInfection/PewSWITCH","repos":[{"name":"0xInfection/PewSWITCH","url":"https://github.com/0xInfection/PewSWITCH","stars":30,"created":"2021-11-28"}]},"first":{"date":"2021-11-28","source":"PoC-in-GitHub","url":"https://github.com/0xInfection/PewSWITCH"},"provenance":"source"},"vendorSlug":"signalwire","affectedVersions":[{"vendor":"signalwire","product":"freeswitch","versions":["< 1.10.7"]}],"euvd":{"id":"EUVD-2021-24182","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/164628/FreeSWITCH-1.10.6-Missing-SIP-MESSAGE-Authentication.html"],"summary":{"text":"FreeSWITCH, a software-defined telecom stack, does not authenticate incoming SIP MESSAGE requests by default in versions before 1.10.7, so messages are relayed to registered user agents without any authentication check. An unauthenticated remote attacker with network access to the server can send SIP MESSAGE requests to any registered user agent and spoof chat messages to appear to come from trusted entities, provided the auth-messages parameter has not been set to true.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:18:44Z"}}