CVE-2023-27598 OpenSIPS has vulnerability in the parse_via() function
A malformed Via header causes a segmentation fault in OpenSIPS, leading to denial of service if specific configuration functions are used.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-27598?
CVE-2023-27598 is a high-severity vulnerability in opensips, published on 15 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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 `calc_tag_suffix` 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 `sl_send_reply` or `sl_gen_totag` that trigger the vulnerable code. This issue has been fixed in versions 3.1.7 and 3.2.4.
Weakness: CWE-908
Which versions are affected by CVE-2023-27598?
It affects 1 product.
Products include Opensips Opensips.
How do I fix CVE-2023-27598?
No fix has been published for CVE-2023-27598 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-27598 being exploited?
There is no known exploitation of CVE-2023-27598 in the wild and no public exploit code.
Other vulnerabilities in opensips
- CVE-2023-27596 OpenSIPS has vulnerability in the codec_delete_XX() functions
- CVE-2023-27597 OpenSIPS has vulnerability in the parse_uri() function
- CVE-2023-27599 OpenSIPS has vulnerability in the parse_to_param() function
- CVE-2023-27600 OpenSIPS has vulnerability in the codec_delete_XX() functions
- CVE-2023-27601 OpenSIPS has vulnerability in the codec_delete_XX() functions
Sources
Also known as GHSA-wxfg-3gwh-rhvx, UBUNTU-CVE-2023-27598.