GNU libmicrohttpd before 0.9.76 allows remote DoS (Denial of Service) due to improper parsing of a multipart/form-data boundary in the postprocessor.c MHDcreatepostprocessor() method. This allows an attacker to remotely send a malicious HTTP POST packet that includes one or more '\0' bytes in a multipart/form-data boundary field, which - assuming a specific heap layout - will result in an out-of-bounds read and a crash in the findboundary() function.
An out-of-bounds memory read flaw was found in the MHDhttpunescape() function in libmicrohttpd. This could possibly lead to information disclosure or allow a remote attacker to cause an application using libmicrohttpd to crash. This issue has been resolved in version 0.9.32.
References: https://gnunet.org/svn/libmicrohttpd/ChangeLog http://secunia.com/advisories/55903/ https://bugs.gentoo.org/showbug.cgi?id=493450
Acknowledgements:
This issue was discovered by Florian Weimer of the Red Hat Product Security Team.
A stack overflow flaw was found in the MHDdigestauthcheck() function in libmicrohttpd. If MHDOPTIONCONNECTIONMEMORYLIMIT was configured to allow large allocations, a remote attacker could possibly use this flaw to cause an application using libmicrohttpd to crash or, potentially, execute arbitrary code with the privileges of the user running the application. This issue has been resolved in version 0.9.32.
References: https://gnunet.org/svn/libmicrohttpd/ChangeLog http://secunia.com/advisories/55903/ https://bugs.gentoo.org/showbug.cgi?id=493450
Acknowledgements:
This issue was discovered by Florian Weimer of the Red Hat Product Security Team.