Heap-based buffer overflow in cygwin1.dll in Cygwin 1.5.7 and earlier allows context-dependent attackers to execute arbitrary code via a filename with a certain length, as demonstrated by a remote authenticated user who uses the SCP protocol to send a file to the Cygwin machine, and thereby causes scp.exe on this machine to execute, and then overwrite heap memory with characters from the filename. NOTE: it is also reported that a related issue might exist in 1.5.7 through 1.5.19.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html | vendor advisory mailing list |
http://www.securityfocus.com/archive/1/484153/100/0/threaded | mailing list third party advisory vdb entry |
http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html | vendor advisory mailing list exploit |
http://securityreason.com/securityalert/3406 | third party advisory |
http://www.securityfocus.com/bid/26557 | third party advisory vdb entry |
http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html | patch vendor advisory mailing list exploit |