cbcvebase.
CVE-2017-1000253
published 2017-10-05

CVE-2017-1000253: Linux distributions that have not patched their long-term kernels with https://git.kernel.org/linus/a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (committed on…

PriorityP184high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
KEVITWEXPLOITRansomware
CISA Known Exploited Vulnerabilitydue 2024-09-30
Exploited in the wild
EPSS
10.70%
95.3th percentile
Linux distributions that have not patched their long-term kernels with https://git.kernel.org/linus/a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (committed on April 14, 2015). This kernel vulnerability was fixed in April 2015 by commit a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (backported to Linux 3.10.77 in May 2015), but it was not recognized as a security threat. With CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE enabled, and a normal top-down address allocation strategy, load_elf_binary() will attempt to map a PIE binary into an address range immediately below mm->mmap_base. Unfortunately, load_elf_ binary() does not take account of the need to allocate sufficient space for the entire binary which means that, while the first PT_LOAD segment is mapped below mm->mmap_base, the subsequent PT_LOAD segment(s) end up being mapped above mm->mmap_base into the are that is supposed to be the "gap" between the stack and the binary.

Affected

42 ranges· showing 25
VendorProductVersion rangeFixed in
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
centoscentos
debianlinux< linux 4.0.2-1 (bookworm)linux 4.0.2-1 (bookworm)
linuxlinux_kernel>= 0 < 4.0.2-14.0.2-1
linuxlinux_kernel>= 0 < 4.0.2-14.0.2-1
linuxlinux_kernel>= 0 < 4.0.2-14.0.2-1
linuxlinux_kernel>= 0 < 4.0.2-14.0.2-1
linuxlinux_kernel>= 2.6.25 < 3.2.703.2.70
linuxlinux_kernel>= 3.11 < 3.12.433.12.43
linuxlinux_kernel>= 3.13 < 3.14.413.14.41
linuxlinux_kernel>= 3.15 < 3.16.353.16.35
linuxlinux_kernel>= 3.17 < 3.18.143.18.14
linuxlinux_kernel>= 3.19 < 3.19.73.19.7

Detection & IOCsextracted from sources · hover to see the quote

urlhttps://git.kernel.org/linus/a87938b2e246b81b4fb713edb371a9fa3c5c3c86
  • Detect Telegram API calls from Linux servers for C&C communication; the malware uses Telegram's API to send infection status and receive encryption passwords.
  • ·The vulnerability is only exploitable when CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE is enabled with a top-down address allocation strategy; systems using legacy VA layout (vm.legacy_va_layout=1) are not exploitable.
  • ·Red Hat Enterprise Linux 7 kernels at or after version 3.10.0-693 are not vulnerable; detection rules should account for patched kernel versions.
  • ·64-bit processes on Red Hat Enterprise Linux 5 are forced to use the legacy virtual address space layout regardless of vm.legacy_va_layout, making them not exploitable via this vector.

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.8HIGH
vulncheck7.8HIGH
cisa7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.