SecurityContext

CVE-2002-2040: QNX RTOS - Privilege Escalation

  • Cve: CVE-2002-2040
  • Name: QNX RTOS - Privilege Escalation
  • Description: 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.
  • Impact: Local users can execute arbitrary commands with elevated privileges, potentially leading to system compromise.
  • Remediation: Update to the latest version of QNX RTOS where this issue is fixed or apply security patches addressing privilege dropping.
  • Vulnerability type: command_injection
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs local user access and ability to modify environment variables
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:2.0/AV:L/AC:L/Au:N/C:C/I:C/A:C
  • Epss score: 0.01083
  • Epss percentile: 0.66092
  • Assignee: [email protected]
  • Published at: 2002-12-31T05:00:00Z
  • Age in days: 8729
  • Modified at: 2026-06-16T22:00:32Z
  • Public exploits total: 2
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2002-2040
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
http://www.securityfocus.com/bid/4915nvd2002-12-31
http://www.securityfocus.com/bid/4916nvd2002-12-31

References

Same in every row:

  • Source: nvd
UrlTags
http://www.securityfocus.com/bid/4915Exploit
http://www.securityfocus.com/bid/4916Exploit
http://online.securityfocus.com/archive/1/275218
http://www.iss.net/security_center/static/9257.php

Products

ProductAffectedPlatform boundSourcesUrl
qnx:rtos= 6.1.0, = 4.25nonvd/v1/products/qnx/rtos

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2002-12-31
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts