Bug#675058: unixodbc: Multiple buffer overflow in unixODBC
tag 675058 -security severity 675058 normal thanks On Wed, May 30, 2012 at 09:34:34AM -0700, Steve Langasek wrote: On Tue, May 29, 2012 at 06:40:35PM +0300, Henri Salo wrote: Package: unixodbc Version: 2.2.14p2-1 Severity: important Tags: security From Felipe Pena in [oss-security] CVE id request: Multiple buffer overflow in unixODBC: Multiple buffer overflow in unixODBC === The library unixODBC doesn't check properly the input from FILEDSN=, DRIVER= options in the DSN, which causes buffer overflow when passed to the SQLDriverConnect() function. The unixODBC maintainer has been notified about the issue. Version affected FILEDSN= as of 2.0.10 DRIVER= as of 2.3.1 What makes this a security bug? What is the attack vector for tricking a user into running an ODBC-enabled application with untrusted data in the FILEDSN or DRIVER variables? These are only triggerable by trusted input, so not a security issue. Cheers, Moritz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#675058: unixodbc: Multiple buffer overflow in unixODBC
On Tue, May 29, 2012 at 06:40:35PM +0300, Henri Salo wrote: Package: unixodbc Version: 2.2.14p2-1 Severity: important Tags: security From Felipe Pena in [oss-security] CVE id request: Multiple buffer overflow in unixODBC: Multiple buffer overflow in unixODBC === The library unixODBC doesn't check properly the input from FILEDSN=, DRIVER= options in the DSN, which causes buffer overflow when passed to the SQLDriverConnect() function. The unixODBC maintainer has been notified about the issue. Version affected FILEDSN= as of 2.0.10 DRIVER= as of 2.3.1 What makes this a security bug? What is the attack vector for tricking a user into running an ODBC-enabled application with untrusted data in the FILEDSN or DRIVER variables? -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developerhttp://www.debian.org/ slanga...@ubuntu.com vor...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#675058: unixodbc: Multiple buffer overflow in unixODBC
Package: unixodbc Version: 2.2.14p2-1 Severity: important Tags: security From Felipe Pena in [oss-security] CVE id request: Multiple buffer overflow in unixODBC: Multiple buffer overflow in unixODBC === The library unixODBC doesn't check properly the input from FILEDSN=, DRIVER= options in the DSN, which causes buffer overflow when passed to the SQLDriverConnect() function. The unixODBC maintainer has been notified about the issue. Version affected FILEDSN= as of 2.0.10 DRIVER= as of 2.3.1 PoC === $ ./poc FILEDSN=$(python -c print 'A'*1) Segmentation fault (gdb) bt #0 0x77bc8c81 in SQLReadFileDSN (pszFileName=value optimized out, pszAppName=value optimized out, pszKeyName=value optimized out, pszString=value optimized out, nString=value optimized out, pnString=value optimized out) at SQLReadFileDSN.c:207 #1 0x4141414141414141 in ?? () CREDITS === This bug was discovered by Felipe Pena. BugSec Team - http://www.bugsec.com.br/ -- System Information: Debian Release: 6.0.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages unixodbc depends on: ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib ii libltdl7 2.2.6b-2 A system independent dlopen wrappe ii libreadline6 6.1-3 GNU readline and history libraries ii odbcinst1debian2 2.2.14p2-1 Support library for accessing odbc unixodbc recommends no packages. Versions of packages unixodbc suggests: pn libmyodbc none (no description available) pn odbc-postgresql none (no description available) pn tdsodbc none (no description available) pn unixodbc-bin none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org