Description
Stack-based buffer overflow in gif2png.c in gif2png 2.5.3 and earlier might allow context-dependent attackers to execute arbitrary code via a long command-line argument, as demonstrated by a CGI program that launches gif2png.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- gif2png 2.5.2 - Remote Buffer Overflow EDB-34356 · dos · Dec 12, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=547515
- [oss-security] 20101122 Re: CVE Request: gif2png: command-line buffer overflow problem mailing-list
- ADV-2011-0023 vdb-entry
- MDVSA-2011:009 vendor-advisory
- [oss-security] 20101121 Re: CVE Request: gif2png: command-line buffer overflow problem mailing-list
- 42796 third-party-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=346501
- http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras&view=log
- 41801 vdb-entry
- ADV-2010-3036 vdb-entry
- [oss-security] 20101121 CVE Request: gif2png: command-line buffer overflow problem mailing-list
- ADV-2011-0107 vdb-entry
- GLSA-201101-01 vendor-advisory
- [oss-security] 20101121 Re: CVE Request: gif2png: command-line buffer overflow problem mailing-list
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978
- 20091213 [gif2png] long filename Buffer Overrun mailing-list
- gif2png-commandline-bo(64820) vdb-entry
- FEDORA-2010-0358 vendor-advisory