FreeSWITCH late RTP/SRTP source validation permits one-way media starvation
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
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 1.11.2, after FreeSWITCH has learned and closed source learning for an RTP peer, read_rtp_packet() and rtp_common_read() in src/switch_rtp.c reject RTP from an unrecognized source only after packet classification and, for encrypted calls, SRTP processing. An unauthenticated attacker with UDP reachability to an active RTP or SRTP media port can sustain a foreign-source packet flood that occupies the media read path and prevents legitimate media from entering FreeSWITCH on calls that consume incoming media for relay or echo. The resulting one-way audio allows the affected endpoint to continue hearing the other party, but the other party loses that endpoint's audio, leaving SIP signaling established while the call is unusable for conversation. Transmit-only playback was unaffected in testing. A caller can learn the media port from the SDP answer, while a third party must first discover an active port, and no valid SRTP key is required. This issue is fixed in version 1.11.2.
Uncontrolled Resource Consumption CWE-400
An attacker can make the software use up memory, disk or processing power until it stops working.
The product does not properly control the allocation and maintenance of a limited resource.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Signalwire Freeswitch | Software | < 1.11.2 | not recorded |
The 8.7 severity score (high) from github.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | None | No special setup on the target is needed. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | None | No data can be read. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | High | The attacker can take the service down completely. |
NIST lists 4 sources for this flaw, none tagged as a vendor patch.