This is an exploit for Squid\'s NTLM authenticate overflow (libntlmssp.c). Due to improper bounds checking in ntlm_check_auth, it is possible to overflow the 'pass' variable on the stack with user controlled data of a user defined length. Props to iDEFENSE for the advisory.
Linux
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/proxy/squid_ntlm_authenticate
msf exploit(squid_ntlm_authenticate) > show targets
...targets...
msf exploit(squid_ntlm_authenticate) > set TARGET < target-id >
msf exploit(squid_ntlm_authenticate) > show options
...show and set options...
msf exploit(squid_ntlm_authenticate) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security