7.2
CWE
NVD-CWE-Other
Advisory Published
CVE Published
Updated

CVE-2002-2040

First published: Tue Dec 31 2002(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
QNX=4.25
QNX=6.1.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2002-2040?

    CVE-2002-2040 is rated as a high severity vulnerability due to its potential for arbitrary command execution by local users.

  • How do I fix CVE-2002-2040?

    To fix CVE-2002-2040, update to a version of QNX RTOS that properly drops privileges before executing system commands.

  • What are the affected versions of QNX RTOS for CVE-2002-2040?

    The affected versions of QNX RTOS for CVE-2002-2040 are 4.25 and 6.1.0.

  • Who is affected by CVE-2002-2040?

    Local users of QNX RTOS versions 4.25 and 6.1.0 are potentially affected by CVE-2002-2040.

  • What exploit vector is associated with CVE-2002-2040?

    CVE-2002-2040 can be exploited by local users manipulating the PATH environment variable to execute arbitrary commands.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203