CVE-2023-27598
CVSS V2 None
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2023-27598
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2023-03-15T21:15:09
- Last Modified Date
- 2023-03-21T19:14:05
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:* | 1 | OR | 3.1.7 | |
cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:* | 1 | OR | 3.2.0 | 3.2.4 |
References
Reference URL | Reference Tags |
---|---|
https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7 | Patch Third Party Advisory |
https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx | Third Party Advisory |
https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2023-27598 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-27598 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2023-04-17 06:31:44 | Added to TrackCVE | |||
2023-04-17 06:31:47 | Weakness Enumeration | new |