7.5
HIGH CVSS 3.1
CVE-2023-27598
OpenSIPS Via Header Segmentation Fault
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.

INFO

Published Date :

March 15, 2023, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 7:53 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2023-27598 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Opensips opensips
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-27598 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-27598 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-27598 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-27598 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7
    Added Reference https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx
    Added Reference https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Mar. 21, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7 No Types Assigned https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7 Patch, Third Party Advisory
    Changed Reference Type https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx No Types Assigned https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx Third Party Advisory
    Changed Reference Type https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf No Types Assigned https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf Third Party Advisory
    Added CWE NIST CWE-908
    Added CPE Configuration OR *cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:* versions up to (excluding) 3.1.7 *cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:* versions from (including) 3.2.0 up to (excluding) 3.2.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} -0.27%

score

0.25764

percentile