rapid7/metasploit-framework — pull request #1772 by Meatballs1 (2013-04-26 14:46:41+00:00)
Title: phpMyAdmin Preg_Replace Exploits CVE-2013-3238

See: http://www.waraxe.us/advisory-103.html

Tested on nix/apache/php v5.4.6 with most vulnerable versions.

I have also added a method to http/response.rb to help parse out Cookies from Set-Cookie.

Some modules appear to cookie = response['Set-Cookie'] which works for 1 cookie as it is delimited by ;. If The cookie is set with HttpOnly or Expires etc these get pushed into the Cookie: field.