SQL Injection, Single Quote Error, CWE-89, CAPEC-66, simonandco.net

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Report generated by XSS.CX at Sat Apr 16 07:42:18 CDT 2011.


XSS.CX Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

XSS.CX Home | XSS.CX Research Blog
Loading


1. SQL injection

2. Cookie without HttpOnly flag set

2.1. http://www.simonandco.net/ard/rhcl.asp

2.2. http://www.simonandco.net/ard/rss/summary.asp

2.3. http://www.simonandco.net/ard/stylesheet/index.asp

3. Cross-domain Referer leakage

3.1. http://www.simonandco.net/ard/comment.asp

3.2. http://www.simonandco.net/ard/rss/summary.asp

4. Email addresses disclosed

4.1. http://www.simonandco.net/

4.2. http://www.simonandco.net/ard/comment.asp

4.3. http://www.simonandco.net/contact.htm

5. HTML does not specify charset

5.1. http://www.simonandco.net/ard/comment.asp

5.2. http://www.simonandco.net/ard/rhcl.asp

5.3. http://www.simonandco.net/ard/rss/summary.asp

5.4. http://www.simonandco.net/favicon.ico



1. SQL injection  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.simonandco.net
Path:   /ard/stylesheet/onestyle.asp

Issue detail

The Style parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the Style parameter, and a general error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

Issue background

SQL injection vulnerabilities arise when user-controllable data is incorporated into database SQL queries in an unsafe manner. An attacker can supply crafted input to break out of the data context in which their input appears and interfere with the structure of the surrounding query.

Various attacks can be delivered via SQL injection, including reading or modifying critical application data, interfering with application logic, escalating privileges within the database and executing operating system commands.

Issue remediation

The most effective way to prevent SQL injection attacks is to use parameterised queries (also known as prepared statements) for all database access. This method uses two steps to incorporate potentially tainted data into SQL queries: first, the application specifies the structure of the query, leaving placeholders for each item of user input; second, the application specifies the contents of each placeholder. Because the structure of the query has already defined in the first step, it is not possible for malformed data in the second step to interfere with the query structure. You should review the documentation for your database and application platform to determine the appropriate APIs which you can use to perform parameterised queries. It is strongly recommended that you parameterise every variable data item that is incorporated into database queries, even if it is not obviously tainted, to prevent oversights occurring and avoid vulnerabilities being introduced by changes elsewhere within the code base of the application.

You should be aware that some commonly employed and recommended mitigations for SQL injection vulnerabilities are not always effective:

Request 1

GET /ard/stylesheet/onestyle.asp?AID=1825&Style=eNEWSTitle%2CeNEWSItemRow%2CeNEWSBody%2CeNEWSHeading%2CeNEWSHeading%3Ahover%2CeNEWSTitle%3Ahover' HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/ard/rss/summary.asp?AID=1825
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: text/css,*/*;q=0.1
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE

Response 1

HTTP/1.1 500 Internal Server Error
Date: Fri, 15 Apr 2011 22:12:29 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 1262
Content-Type: text/css
Expires: Fri, 15 Apr 2011 22:12:29 GMT
Cache-control: private


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
       <title>Server Error</title>
       <meta name="vs_defaultClientScript" content="JavaScript">
       <meta name="vs_targetSc
...[SNIP]...

Request 2

GET /ard/stylesheet/onestyle.asp?AID=1825&Style=eNEWSTitle%2CeNEWSItemRow%2CeNEWSBody%2CeNEWSHeading%2CeNEWSHeading%3Ahover%2CeNEWSTitle%3Ahover'' HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/ard/rss/summary.asp?AID=1825
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: text/css,*/*;q=0.1
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE

Response 2

HTTP/1.1 200 OK
Date: Fri, 15 Apr 2011 22:12:30 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 475
Content-Type: text/css
Cache-control: private

.eNEWSTitle
{
font-family: 'Arial','Helvetica','sans-serif';
color: #591659;
font-size: 11px;
text-decoration: underline;

}
.eNEWSBody
{
background-color: transparent;

...[SNIP]...

2. Cookie without HttpOnly flag set  previous  next
There are 3 instances of this issue:

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.



2.1. http://www.simonandco.net/ard/rhcl.asp  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.simonandco.net
Path:   /ard/rhcl.asp

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /ard/rhcl.asp?AID=1825&Source=http%3A//www.simonandco.net/ HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 15 Apr 2011 22:11:54 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 2333
Content-Type: text/html
Set-Cookie: ASPSESSIONIDSQQTBQCR=ACJGDPAAPKLICGOFNGAPAPEP; path=/
Cache-control: private


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
       <title>Menu</title>
       <meta name="vs_defaultClientScript" content="JavaScript">
       <meta name="vs_targetSchema" co
...[SNIP]...

2.2. http://www.simonandco.net/ard/rss/summary.asp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.simonandco.net
Path:   /ard/rss/summary.asp

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /ard/rss/summary.asp?AID=1825 HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 15 Apr 2011 22:11:54 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 5420
Content-Type: text/html
Set-Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE; path=/
Cache-control: private


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
       <title>RSS News Feed</title>
       <meta name="vs_defaultClientScript" content="JavaScript">
       <meta name="vs_targetS
...[SNIP]...

2.3. http://www.simonandco.net/ard/stylesheet/index.asp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.simonandco.net
Path:   /ard/stylesheet/index.asp

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /ard/stylesheet/index.asp HTTP/1.1
Accept: */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Proxy-Connection: Keep-Alive
Host: www.simonandco.net

Response

HTTP/1.1 200 OK
Date: Fri, 15 Apr 2011 22:38:21 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 7762
Content-Type: text/css
Set-Cookie: ASPSESSIONIDSQQTBQCR=AIJGDPAAEAPCFPBMBAHHKHIH; path=/
Cache-control: private

P { font-family: 'Verdana', 'Arial';
color: Black;
}
.Heading { font-family: 'Verdana';
color: Black;
font-size: 10pt;
font-weight: Bold;
padding-bottom: 2px;

...[SNIP]...

3. Cross-domain Referer leakage  previous  next
There are 2 instances of this issue:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.


3.1. http://www.simonandco.net/ard/comment.asp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.simonandco.net
Path:   /ard/comment.asp

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /ard/comment.asp?AID=1825 HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/contact.htm
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE

Response

HTTP/1.1 200 OK
Date: Sat, 16 Apr 2011 00:03:16 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 7881
Content-Type: text/html
Cache-control: private

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
   <head>
       <title>Ask us a Question - Simon & Co, UK</title>
        <meta name="description" content="Ask us a Question - Simon &
...[SNIP]...
<cftcloak><a href="http://service.click4text.co.uk" accesskey="T" title="Text Only">Text Only</a>
...[SNIP]...
<p class="small" align="center"><a href="http://www.clt-totalsolution.co.uk/" target="_blank" class="small" title="CLT totalSOLUTION is the complete website solution for solicitors and law firms.">powered by <b>
...[SNIP]...

3.2. http://www.simonandco.net/ard/rss/summary.asp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.simonandco.net
Path:   /ard/rss/summary.asp

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /ard/rss/summary.asp?AID=1825 HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 15 Apr 2011 22:11:54 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 5420
Content-Type: text/html
Set-Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE; path=/
Cache-control: private


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
       <title>RSS News Feed</title>
       <meta name="vs_defaultClientScript" content="JavaScript">
       <meta name="vs_targetS
...[SNIP]...
<marquee width="100%" loop=Infinite scrolldelay=150><a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/YIRokZgtVYo/uk-libya-idUKLDE71Q0MP20110415' target=_blank class='eNEWSTitle'>Obama says Libya in stalemate, but "Gaddafi will go"</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/iSjgCUTSCPo/uk-syria-idUKTRE73E33220110415' target=_blank class='eNEWSTitle'>Syria protests reach capital, Yemen leader seeks talks</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/V0cLGcgEeDE/uk-algeria-bouteflika-speech-idUKTRE73E7RI20110415' target=_blank class='eNEWSTitle'>Algeria president to launch major political reforms</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/13KWG7WlVwo/uk-japan-nuclear-workers-idUKTRE73E5EX20110415' target=_blank class='eNEWSTitle'>Japan says 28 plant workers got high radiation doses</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/mQ7yjTzfjj0/uk-egypt-mubarak-idUKTRE73E5FG20110415' target=_blank class='eNEWSTitle'>Mubarak to be moved to Egypt army hospital in days</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/qCOvM7gRTIw/uk-ivorycoast-un-idUKTRE73E7I220110415' target=_blank class='eNEWSTitle'>U.N. says Ivory Coast's Gbagbo has been well treated</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/4qXW0Rj6O7o/uk-warcrimes-gotovina-idUKTRE73E2B920110415' target=_blank class='eNEWSTitle'>Warcrimes court jails ex-Croatian general for 24 years</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/vD82WGOmqZE/uk-yemen-idUKTRE73D45120110415' target=_blank class='eNEWSTitle'>Yemen's Saleh calls for talks as protests escalate</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/QDf87OXxWEk/uk-palestinians-italy-kidnap-idUKTRE73E00H20110415' target=_blank class='eNEWSTitle'>Qaeda sympathisers kill abducted Italian activist</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='http://feedproxy.google.com/~r/Reuters/UKWorldNews/~3/h2yZmchz5MM/uk-ivorycoast-idUKTRE73D50R20110415' target=_blank class='eNEWSTitle'>U.N. defends role in Ivory Coast Gbagbo ouster</a>
...[SNIP]...

4. Email addresses disclosed  previous  next
There are 3 instances of this issue:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).


4.1. http://www.simonandco.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.simonandco.net
Path:   /

Issue detail

The following email address was disclosed in the response:

Request

GET / HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Content-Length: 7014
Content-Type: text/html
Content-Location: http://www.simonandco.net/index.htm
Last-Modified: Tue, 09 Nov 2010 13:32:00 GMT
Accept-Ranges: bytes
ETag: "08b27c1280cb1:36e"
Vary: Accept-Encoding
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Fri, 15 Apr 2011 22:11:43 GMT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" co
...[SNIP]...
<a href="mailto:info@simonandco.net">info@simonandco.net</a>
...[SNIP]...

4.2. http://www.simonandco.net/ard/comment.asp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.simonandco.net
Path:   /ard/comment.asp

Issue detail

The following email address was disclosed in the response:

Request

GET /ard/comment.asp?AID=1825 HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/contact.htm
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE

Response

HTTP/1.1 200 OK
Date: Sat, 16 Apr 2011 00:03:16 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 7881
Content-Type: text/html
Cache-control: private

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
   <head>
       <title>Ask us a Question - Simon & Co, UK</title>
        <meta name="description" content="Ask us a Question - Simon &
...[SNIP]...
<a href="mailto:info@simonandco.net">info@simonandco.net</a>
...[SNIP]...

4.3. http://www.simonandco.net/contact.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.simonandco.net
Path:   /contact.htm

Issue detail

The following email address was disclosed in the response:

Request

GET /contact.htm HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE

Response

HTTP/1.1 200 OK
Content-Length: 6038
Content-Type: text/html
Last-Modified: Tue, 09 Nov 2010 13:31:58 GMT
Accept-Ranges: bytes
ETag: "0db807b1280cb1:36e"
Vary: Accept-Encoding
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Fri, 15 Apr 2011 22:15:49 GMT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" co
...[SNIP]...
<a href="mailto:info@simonandco.net">info@simonandco.net</a>
...[SNIP]...
<a href="mailto:info@simonandco.net">info@simonandco.net</a>
...[SNIP]...

5. HTML does not specify charset  previous
There are 4 instances of this issue:

Issue description

If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.

In most cases, the absence of a charset directive does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.


5.1. http://www.simonandco.net/ard/comment.asp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.simonandco.net
Path:   /ard/comment.asp

Request

GET /ard/comment.asp?AID=1825 HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/contact.htm
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE

Response

HTTP/1.1 200 OK
Date: Sat, 16 Apr 2011 00:03:16 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 7881
Content-Type: text/html
Cache-control: private

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
   <head>
       <title>Ask us a Question - Simon & Co, UK</title>
        <meta name="description" content="Ask us a Question - Simon &
...[SNIP]...

5.2. http://www.simonandco.net/ard/rhcl.asp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.simonandco.net
Path:   /ard/rhcl.asp

Request

GET /ard/rhcl.asp?AID=1825&Source=http%3A//www.simonandco.net/ HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 15 Apr 2011 22:11:54 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 2333
Content-Type: text/html
Set-Cookie: ASPSESSIONIDSQQTBQCR=ACJGDPAAPKLICGOFNGAPAPEP; path=/
Cache-control: private


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
       <title>Menu</title>
       <meta name="vs_defaultClientScript" content="JavaScript">
       <meta name="vs_targetSchema" co
...[SNIP]...

5.3. http://www.simonandco.net/ard/rss/summary.asp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.simonandco.net
Path:   /ard/rss/summary.asp

Request

GET /ard/rss/summary.asp?AID=1825 HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Referer: http://www.simonandco.net/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 15 Apr 2011 22:11:54 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 5420
Content-Type: text/html
Set-Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE; path=/
Cache-control: private


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
       <title>RSS News Feed</title>
       <meta name="vs_defaultClientScript" content="JavaScript">
       <meta name="vs_targetS
...[SNIP]...

5.4. http://www.simonandco.net/favicon.ico  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.simonandco.net
Path:   /favicon.ico

Request

GET /favicon.ico HTTP/1.1
Host: www.simonandco.net
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASPSESSIONIDSQQTBQCR=BCJGDPAAKCIFAFNOHKEBEKFE

Response

HTTP/1.1 404 Not Found
Date: Fri, 15 Apr 2011 22:11:59 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 2330
Content-Type: text/html
Cache-control: private


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <HEAD>
       <META NAME="ROBOTS" CONTENT="NOARCHIVE">
       <title>404 - Site Error</title>
       <meta name="robots" content="noindex
...[SNIP]...

Report generated by XSS.CX at Sat Apr 16 07:42:18 CDT 2011.