GNU GNATS Syslog() Format String Vulnerability
BID:10609
Info
GNU GNATS Syslog() Format String Vulnerability
| Bugtraq ID: | 10609 |
| Class: | Input Validation Error |
| CVE: |
CVE-2004-0623 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 25 2004 12:00AM |
| Updated: | Jul 12 2009 05:16AM |
| Credit: | Khan Shirani <[email protected]> disclosed this vulnerability. |
| Vulnerable: |
GNU GNATS 4.0 GNU GNATS 3.999 GNU GNATS 3.113.1 GNU GNATS 3.113 .1_6 GNU GNATS 3.113 GNU GNATS 3.14 b GNU GNATS 3.2 GNU GNATS 3.0 02 |
| Not Vulnerable: | |
Discussion
GNU GNATS Syslog() Format String Vulnerability
It is reported that GNU GNATS contains a format string vulnerability in its logging function.
GNATS has the ability to log to various files: stderr, syslog() or a file.
If an attacker devises a method of controlling the arguments to the logging function, they would be able to read or write arbitrary locations in memory. Code execution could be possible.
GNU GNATS version 4.0 is reported vulnerable. Other version may also be affected.
NOTE: It has been reported that this issue is not exploitable due the application never passing user-supplied data to the affected formatted printing function. This is not verified, however, if it the case this issue is not exploitable. This BID will be updated when more information becomes available.
It is reported that GNU GNATS contains a format string vulnerability in its logging function.
GNATS has the ability to log to various files: stderr, syslog() or a file.
If an attacker devises a method of controlling the arguments to the logging function, they would be able to read or write arbitrary locations in memory. Code execution could be possible.
GNU GNATS version 4.0 is reported vulnerable. Other version may also be affected.
NOTE: It has been reported that this issue is not exploitable due the application never passing user-supplied data to the affected formatted printing function. This is not verified, however, if it the case this issue is not exploitable. This BID will be updated when more information becomes available.
Exploit / POC
GNU GNATS Syslog() Format String Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
GNU GNATS Syslog() Format String Vulnerability
Solution:
Debian has released an advisory (DSA 590-1) to address this issue. Please see the referenced advisory for more information.
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
GNU GNATS 3.999
Solution:
Debian has released an advisory (DSA 590-1) to address this issue. Please see the referenced advisory for more information.
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
GNU GNATS 3.999
-
Debian gnats-user_3.999.beta1+cvs20020303-2_alpha.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_alpha.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_arm.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_arm.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_hppa.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_hppa.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_i386.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_i386.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_ia64.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_ia64.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_m68k.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_m68k.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_mips.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_mips.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_mipsel.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_mipsel.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_powerpc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_powerpc.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_s390.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_s390.deb -
Debian gnats-user_3.999.beta1+cvs20020303-2_sparc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats-user_3.999. beta1+cvs20020303-2_sparc.deb -
Debian gnats_3.999.beta1+cvs20020303-2_alpha.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_alpha.deb -
Debian gnats_3.999.beta1+cvs20020303-2_arm.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_arm.deb -
Debian gnats_3.999.beta1+cvs20020303-2_hppa.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_hppa.deb -
Debian gnats_3.999.beta1+cvs20020303-2_i386.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_i386.deb -
Debian gnats_3.999.beta1+cvs20020303-2_ia64.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_ia64.deb -
Debian gnats_3.999.beta1+cvs20020303-2_m68k.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_m68k.deb -
Debian gnats_3.999.beta1+cvs20020303-2_mips.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_mips.deb -
Debian gnats_3.999.beta1+cvs20020303-2_mipsel.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_mipsel.deb -
Debian gnats_3.999.beta1+cvs20020303-2_powerpc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_powerpc.deb -
Debian gnats_3.999.beta1+cvs20020303-2_s390.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_s390.deb -
Debian gnats_3.999.beta1+cvs20020303-2_sparc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/g/gnats/gnats_3.999.beta1 +cvs20020303-2_sparc.deb
References
GNU GNATS Syslog() Format String Vulnerability
References:
References:
- Gnats Homepage (GNU)
- format string vulnerability in Gnats (Khan Shirani
)