Vulnerability CVE-2007-6181


Published: 2007-11-29   Modified: 2012-02-12

Description:
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.

See advisories in our WLB2 database:
Topic
Author
Date
Med.
Cygwin buffer overflow due incorrect filename length check
Jesus Olmos Gonz...
30.11.2007

Type:

CWE-119

(Improper Restriction of Operations within the Bounds of a Memory Buffer)

CVSS2 => (AV:N/AC:M/Au:S/C:C/I:C/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
8.5/10
10/10
6.8/10
Exploit range
Attack complexity
Authentication
Remote
Medium
Single time
Confidentiality impact
Integrity impact
Availability impact
Complete
Complete
Complete
Affected software
Redhat -> Cygwin 

 References:
http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html
http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html
http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html
http://securityreason.com/securityalert/3406
http://www.securityfocus.com/archive/1/484153/100/0/threaded
http://www.securityfocus.com/bid/26557

Copyright 2024, cxsecurity.com

 

Back to Top