CVE-2016-18861 exploit
Integer signedness error in the genkbd_commonioctl function in sys/dev/kbd/kbd.c in FreeBSD 9.3 before p42, 10.1 before p34, 10.2 before p1…
Published 10 y ago · modified 4 mo ago · JSON
Summary
Integer signedness error in the genkbd_commonioctl function in sys/dev/kbd/kbd.c in FreeBSD 9.3 before p42, 10.1 before p34, 10.2 before p17, and 10.3 before p3 allows local users to obtain sensitive information from kernel memory, cause a denial of service (memory overwrite and kernel crash), or gain privileges via a negative value in the flen structure member in the arg argument in a SETFKEY ioctl call, which triggers a "two way heap and stack overflow."
Exploit prediction (EPSS)
1.14% probability of exploitation in the next 30 days, higher than 67% of all scored CVEs.
Exploits and detections
- EDB-44211 FreeBSD Kernel (FreeBSD 10.2 < 10.3 x64) - 'SETFKEY' (PoC) · dos · 2016-05-29
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- securitytracker.com /id/1035905 · vdb-entry, x_refsource_SECTRACK, x_transferred
- securityfocus.com /bid/90734 · vdb-entry, x_refsource_BID, x_transferred
- freebsd.org /security/advisories/FreeBSD-SA-16:18.atkbd.asc · vendor-advisory, x_refsource_FREEBSD, x_transferred
- security.freebsd.org /patches/SA-16:18/atkbd.patch · x_refsource_CONFIRM, x_transferred
- cturt.github.io /SETFKEY.html · x_refsource_MISC, x_transferred
Sources
- CVE List: CVE-2016-1886
- NVD: CVE-2016-1886
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.