Squid Web Proxy Cross-Site Scripting Vulnerability
BID:3059
Info
Squid Web Proxy Cross-Site Scripting Vulnerability
| Bugtraq ID: | 3059 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 27 2000 12:00AM |
| Updated: | Oct 27 2000 12:00AM |
| Credit: | This vulnerability was originated submitted to the [email protected] mailing list by Lincoln Yeoh <[email protected]> on October 27th, 2001. |
| Vulnerable: |
National Science Foundation Squid Web Proxy 2.4 PRE-STABLE National Science Foundation Squid Web Proxy 2.4 DEVEL4 National Science Foundation Squid Web Proxy 2.4 DEVEL2 National Science Foundation Squid Web Proxy 2.3 STABLE4 |
| Not Vulnerable: |
National Science Foundation Squid Web Proxy 2.4 STABLE1 National Science Foundation Squid Web Proxy 2.4 PRE-STABLE2 National Science Foundation Squid Web Proxy 2.3 STABLE5 |
Discussion
Squid Web Proxy Cross-Site Scripting Vulnerability
Squid is a free client-side web proxy that retrieves cached web pages for quick browsers and a reduction in bandwidth consumption.
Malicious users can negatively affect Squid Web Proxy users by submitting links which contain arbitrary HTML or embedded script commands to websites. The malicious link must generate an error page, but the embedded script command or HTML will be executed within the actual error page. This opens Squid Web Proxy users to a variety of cross-site scripting attacks.
Squid is a free client-side web proxy that retrieves cached web pages for quick browsers and a reduction in bandwidth consumption.
Malicious users can negatively affect Squid Web Proxy users by submitting links which contain arbitrary HTML or embedded script commands to websites. The malicious link must generate an error page, but the embedded script command or HTML will be executed within the actual error page. This opens Squid Web Proxy users to a variety of cross-site scripting attacks.
Exploit / POC
Squid Web Proxy Cross-Site Scripting Vulnerability
Lincoln Yeoh <[email protected]> provided these examples:
For example if a user visits the following url
http://www.dotcom.com/ <b>test</b>
The user will get an invalid url page with test in bold.
Or even more fun with:
http://www.somecompany.com/<img src="http://www.mysite.com/mylogo.gif">
You can actually get a working form in such an error message! Javascript too.
Lincoln Yeoh <[email protected]> provided these examples:
For example if a user visits the following url
http://www.dotcom.com/ <b>test</b>
The user will get an invalid url page with test in bold.
Or even more fun with:
http://www.somecompany.com/<img src="http://www.mysite.com/mylogo.gif">
You can actually get a working form in such an error message! Javascript too.
References
Squid Web Proxy Cross-Site Scripting Vulnerability
References:
References:
- Squid Cache Home Page (National Science Foundation)