vendor:
UnixWare
by:
Brock Tellier
5.5
CVSS
MEDIUM
Buffer Overflow
119
CWE
Product Name: UnixWare
Affected Version From: UnixWare 7.1
Affected Version To: UnixWare 7.1
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
UnixWare 7.1 /usr/sbin/pkgcat exploit
It is possible to view the entries in /etc/shadow through exploiting a buffer overflow in pkgcat and pkginstall. Though neither of these binaries are setuid, the dacread permissions which are granted in /etc/security/tcb/privs give them the ability read /etc/shadow. When the oversized buffer data is passed to the programs as argv[1], the stack will be corrupted and it is possible to spawn a program which would "cat" /etc/shadow with the dacread privs.
Mitigation:
Patch or update the affected UnixWare 7.1 system to a version that addresses the buffer overflow vulnerability.