CVE-2023-27598: OpenSIPS has vulnerability in the parse_via() function
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, sending a malformed Via header to OpenSIPS triggers a segmentation fault when the function calctagsuffix is called. A specially crafted Via header, which is deemed correct by the parser, will pass uninitialized strings to the function MD5StringArray which leads to the crash. Abuse of this vulnerability leads to Denial of Service due to a crash. Since the uninitialized string points to memory location 0x0, no further exploitation appears to be possible. No special network privileges are required to perform this attack, as long as the OpenSIPS configuration makes use of functions such as slsendreply or slgentotag that trigger the vulnerable code. This issue has been fixed in versions 3.1.7 and 3.2.4.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2023-27598?
CVE-2023-27598 is considered a high severity vulnerability due to its potential to cause a segmentation fault in OpenSIPS.
How do I fix CVE-2023-27598?
To fix CVE-2023-27598, upgrade OpenSIPS to version 3.1.7 or 3.2.4 or later.
What type of attack does CVE-2023-27598 facilitate?
CVE-2023-27598 facilitates denial of service attacks by exploiting the malformed `Via` header.
Which versions of OpenSIPS are affected by CVE-2023-27598?
OpenSIPS versions prior to 3.1.7 and between 3.2.0 and 3.2.4 are affected by CVE-2023-27598.
What component of OpenSIPS is impacted by CVE-2023-27598?
The vulnerability in CVE-2023-27598 impacts the processing of the `Via` header within the OpenSIPS server.