CVE-2024-3120
Sngrep Stack Buffer Overflow
Description
A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP messages.
INFO
Published Date :
April 10, 2024, 12:15 a.m.
Last Modified :
Feb. 3, 2025, 5:44 p.m.
Source :
41c37e40-543d-43a2-b660-2fee83ea851a
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-3120
.
URL | Resource |
---|---|
https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6 | Patch |
https://github.com/irontec/sngrep/releases/tag/v1.8.1 | Release Notes |
https://pentraze.com/vulnerability-reports/ | Third Party Advisory |
https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6 | Patch |
https://github.com/irontec/sngrep/releases/tag/v1.8.1 | Release Notes |
https://pentraze.com/vulnerability-reports/ | Third Party Advisory |
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-2024-3120
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-3120
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.
-
Initial Analysis by [email protected]
Feb. 03, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-787 Added CPE Configuration OR *cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:* versions from (including) 1.4.1 up to (excluding) 1.8.1 Changed Reference Type https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6 No Types Assigned https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6 Patch Changed Reference Type https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6 No Types Assigned https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6 Patch Changed Reference Type https://github.com/irontec/sngrep/releases/tag/v1.8.1 No Types Assigned https://github.com/irontec/sngrep/releases/tag/v1.8.1 Release Notes Changed Reference Type https://github.com/irontec/sngrep/releases/tag/v1.8.1 No Types Assigned https://github.com/irontec/sngrep/releases/tag/v1.8.1 Release Notes Changed Reference Type https://pentraze.com/vulnerability-reports/ No Types Assigned https://pentraze.com/vulnerability-reports/ Third Party Advisory Changed Reference Type https://pentraze.com/vulnerability-reports/ No Types Assigned https://pentraze.com/vulnerability-reports/ Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6 Added Reference https://github.com/irontec/sngrep/releases/tag/v1.8.1 Added Reference https://pentraze.com/vulnerability-reports/ -
CVE Modified by 41c37e40-543d-43a2-b660-2fee83ea851a
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 41c37e40-543d-43a2-b660-2fee83ea851a
Apr. 10, 2024
Action Type Old Value New Value Added Description A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP messages. Added Reference Pentraze https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6 [No types assigned] Added Reference Pentraze https://github.com/irontec/sngrep/releases/tag/v1.8.1 [No types assigned] Added Reference Pentraze https://pentraze.com/vulnerability-reports/ [No types assigned] Added CWE Pentraze CWE-120 Added CVSS V3.1 Pentraze AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-3120
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-2024-3120
weaknesses.