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.11.1, the mod_verto HTTP request handler allocates a fixed 2 MiB buffer for a POST application/x-www-form-urlencoded body but accepts Content-Length up to just under 10 MiB. The body-read loop is bounded by Content-Length rather than the buffer size, producing an attacker-controlled heap overflow of up to ~8 MiB -- before the HTTP basic-auth check runs. This issue has been patched in version 1.11.1.
Problem types
CWE-122: Heap-based Buffer Overflow
CWE-131: Incorrect Calculation of Buffer Size
Product status
References
github.com/...switch/security/advisories/GHSA-wfrq-qvg2-f88f
github.com/signalwire/freeswitch/releases/tag/v1.11.1