CVE-2023-30630
Nongnu Dmidecode vulnerability
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).
Affected products
Dmidecode. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nongnu Dmidecode runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.nongnu.org/archive/html/dmidecode-devel/2023-03/msg00003.html · Patch
- github.com/adamreiser/dmiwrite · Exploit
- git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=6ca381c1247c81f74e1ca4e7706f70bdda72
- git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=d8cfbc808f387e87091c25e7d5b8c2bb348b
- nvd.nist.gov/vuln/detail/CVE-2023-30630
- cve.org/CVERecord?id=CVE-2023-30630
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.