vendor:
QNX 6.3.0
by:
minervini@neuralnoise.com
7.5
CVSS
HIGH
Buffer Overflow
120
CWE
Product Name: QNX 6.3.0
Affected Version From: QNX qnx 6.3.0 2004/04/29-21:23:19UTC x86pc x86
Affected Version To: QNX qnx 6.3.0 2004/04/29-21:23:19UTC x86pc x86
Patch Exists: YES
Related CWE: N/A
CPE: o:qnx:qnx_6.3.0
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: x86
2005
Exploit for phgrafx on QNX 6.3.0 x86
This exploit is for a buffer overflow vulnerability in the phgrafx application on QNX 6.3.0 x86. The exploit uses a shellcode to call the system() function and execute arbitrary code. The exploit is written in C and uses the dlopen() and dlsym() functions to get the address of the system() function. The exploit also checks for bytes like 0x00, 0x09 or 0x0a in the address of the system() function, as the application seems to truncate those bytes. The exploit then uses a loop to fill the buffer with 'A' characters, followed by the address of the system() function and the shellcode. Finally, the exploit calls the execl() function to execute the phgrafx application with the buffer as an argument.
Mitigation:
Ensure that the application is up to date and that all security patches are applied.