Vulnerability Details : CVE-2023-27598
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.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2023-27598
- cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*
- cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-27598
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 47 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-27598
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2023-27598
-
The product uses or accesses a resource that has not been initialized.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2023-27598
-
https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7
[core] fix parse_via() parsing · OpenSIPS/opensips@ab611f7 · GitHubPatch;Third Party Advisory
-
https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx
Vulnerability in the parse_via() function · Advisory · OpenSIPS/opensips · GitHubThird Party Advisory
-
https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf
Third Party Advisory
Jump to