Oracle cmctl Buffer Overflow Vulnerability

cmctl is the Connection Control Manager, part of the Oracle 8i installation. A vulnerability exists that can allow elevation of privileges.

The problem occurs in the way cmctl handles the user-supplied command line arguments. The string representing argv[1] (the first user-supplied commandline argument) is copied into a buffer of predefined length without being checked to ensure that its length does not exceed the size of the destination buffer. As a result, the excessive data that is written to the buffer will write past its boundaries and overwrite other values on the stack (such as the return address).

This can lead to the user executing supplied shellcode with the effective privileges of cmctl, egid dba and euid oracle.


 

Privacy Statement
Copyright 2010, SecurityFocus