Title: WindowMaker Buffer Overflow Vulnerabilities
Severity: MODERATE
Description:
There are a number of buffer overflow vulnerabilities known to exist in WindowMaker versions 0.52 and 0.60. These buffer overflows are due to several instances of strcpy() calls without bounds checking. The following section of code (along with other overflowable calls) appears multiple times in the WindowMaker source code:
char buffer[256];
...
...
if (class && instance)
key1 = PLMakeString(strcat(strcat(strcpy(buffer,instance),"."),class));
else
In this example, the buffer 'buffer' can be overflown allowing arbitrary code to be executed.
It may be possible to overflow windowmaker remotely if the X server is configured insecurely.
wmaker is not setuid root by default.
Affected Products:
- FreeBSD FreeBSD 3.2.0
- RedHat Linux 5.2.0 i386
- RedHat Linux 6.0.0
- Windowmaker Windowmaker 0.20.1 -3
- Windowmaker Windowmaker 0.52.0 -2
- Windowmaker Windowmaker 0.53.0
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.