Vulnerability Details : CVE-2023-30630
Potential exploit
Dmidecode before 3.5 allows -dump-bin to overwrite a local file. This has security relevance because, for example, execution of Dmidecode via Sudo is plausible. NOTE: Some third parties have indicated the fix in 3.5 does not adequately address the vulnerability. The argument is that the proposed patch prevents dmidecode from writing to an existing file. However, there are multiple attack vectors that would not require overwriting an existing file that would provide the same level of unauthorized privilege escalation (e.g. creating a new file in /etc/cron.hourly).
Vulnerability category: Gain privilege
Products affected by CVE-2023-30630
- cpe:2.3:a:nongnu:dmidecode:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-30630
0.03%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 5 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-30630
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.1
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
1.8
|
5.2
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-02-07 |
7.1
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
1.8
|
5.2
|
NIST |
CWE ids for CVE-2023-30630
-
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.Assigned by: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
References for CVE-2023-30630
-
https://github.com/adamreiser/dmiwrite
GitHub - adamreiser/dmiwrite: Privilege escalation using dmidecodeExploit;Third Party Advisory
-
https://lists.nongnu.org/archive/html/dmidecode-devel/2023-03/msg00003.html
Dmidecode 3.5 has been releasedMailing List;Patch;Release Notes;Vendor Advisory
-
https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=d8cfbc808f387e87091c25e7d5b8c2bb348bb206
dmidecode.git -Not Applicable
-
https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=6ca381c1247c81f74e1ca4e7706f70bdda72e6f2
dmidecode.git -Not Applicable
Jump to