The squidclamav_check_preview_handler function in squidclamav.c in SquidClamav 5.x before 5.8 and 6.x before 6.7 passes an unescaped URL to a system command call, which allows remote attackers to cause a denial of service (daemon crash) via a URL with certain characters, as demonstrated using %0D or %0A.
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://squidclamav.darold.net/news.html | vendor advisory |
http://www.openwall.com/lists/oss-security/2012/08/16/4 | mailing list |
http://www.osvdb.org/84138 | vdb entry |
https://bugs.gentoo.org/show_bug.cgi?id=428778 | |
https://github.com/darold/squidclamav/commit/80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | patch exploit |
http://www.openwall.com/lists/oss-security/2012/08/16/2 | mailing list |
http://www.securityfocus.com/bid/54663 | vdb entry |
http://secunia.com/advisories/49057 | third party advisory vendor advisory |
http://freecode.com/projects/squidclamav/releases/346722 |