Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, Google Hacking Database, DORK Search

CWE-79 XSS Crawler - XSS Engine
CWE-89 SQLi Crawler - SQLi Engine
CWE-113 HTTPi Crawler - HTTPi Engine
CWE-23 LFI, RFI Crawler - LFI, RFI Engine

XSS.CX Home

The DORK Report

Loading

Netsparker, Web Application Security Scanner

XSS, Cross Site Scripting, CWE-79, CAPEC-86, Javascript Injection

Netsparker - Scan Report Summary
TARGET URL
http://cdn.goodwaygroup.com/DDLImpression.asp...
SCAN DATE
3/5/2011 8:19:21 PM
REPORT DATE
3/5/2011 8:20:48 PM
SCAN DURATION
00:00:21

Total Requests

Average Speed

req/sec.
7
identified
2
confirmed
2
critical
2
informational

GHDB, DORK Tests

GHDB, DORK Tests
PROFILE
Previous Settings
ENABLED ENGINES
Static Tests, Find Backup Files, Blind Command Injection, Blind SQL Injection, Boolean SQL Injection, Command Injection, HTTP Header Injection, Local File Inclusion, Open Redirection, Remote Code Evaluation, Remote File Inclusion, SQL Injection, Cross-site Scripting
Authentication
Scheduled

VULNERABILITIES

Vulnerabilities
Netsparker - Web Application Security Scanner
CRITICAL
29 %
LOW
43 %
INFORMATION
29 %
[High Possibility] SQL Injection

[High Possibility] SQL Injection

2 TOTAL
CRITICAL
SQL Injection occurs when data input for example by a user is interpreted as a SQL command rather than normal data by the backend database. This is an extremely common vulnerability and its successful exploitation can have critical implications. Even though Netsparker believes that there is a SQL Injection in here it could not confirm it. There can be numerous reasons for Netsparker not being able to confirm this. We strongly recommend investigating the issue manually to ensure that it is an SQL Injection and that it needs to be addressed. You can also consider sending the details of this issue to us, in order that we can address this issue for the next time and give you a more precise result.

Impact

Depending on the backend database, database connection settings and the operating system, an attacker can mount one or more of the following type of attacks successfully:
  • Reading, Updating and Deleting arbitrary data from the database
  • Executing commands on the underlying operating system
  • Reading, Updating and Deleting arbitrary tables from the database

Actions to Take

  1. See the remedy for solution.
  2. If you are not using a database access layer (DAL) within the architecture consider its benefits and implement if appropriate. As a minimum the use of s DAL will help centralize the issue and its resolution. You can also use an ORM (object relational mapping). Most ORM systems use parameterized queries and this can solve many if not all SQL Injection based problems.
  3. Locate all of the dynamically generated SQL queries and convert them to parameterised queries. (If you decide to use a DAL/ORM, change all legacy code to use these new libraries)
  4. Monitor and review weblogs and application logs in order to uncover active or previous exploitation attempts.

Remedy

A very robust method for mitigating the threat of SQL Injection based vulnerabilities is to use parameterized queries (prepared statements). Almost all modern languages provide built in libraries for this. Wherever possible do not create dynamic SQL queries or SQL queries with string concatenation.

Required Skills for Successful Exploitation

There are numerous freely available tools to test for SQL Injection vulnerabilities. This is a complex area with many dependencies, however it should be noted that the numerous resources available in this area have raised both attacker awareness of the issues and their ability to discover and leverage them. SQL Injection is one of the most common web application vulnerabilities.

External References

Remedy References

- /DDLImpression.asp

/DDLImpression.asp

http://cdn.goodwaygroup.com/DDLImpression.asp?IPAddress=%2527&flight=-&versionId=2&DARTCampaignId=51..

Parameters

Parameter Type Value
IPAddress GET %27
flight GET -
versionId GET 2
DARTCampaignId GET 5167576
userZip GET 10001
onLoad GET [type Function]

Request

GET /DDLImpression.asp?IPAddress=%2527&flight=-&versionId=2&DARTCampaignId=5167576&userZip=10001&onLoad=%5Btype%20Function%5D HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: cdn.goodwaygroup.com
Cookie: ASPSESSIONIDSSBADBQR=IGGGDEOAOBKBFHNIBLCOEMJG
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 500 Internal Server Error
Cache-control: Public
Content-Type: text/html
Date: Sun, 06 Mar 2011 02:18:51 GMT
Expires: Sun, 06 Mar 2011 05:18:51 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 342


<font face="Arial" size=2><p>Microsoft OLE DB Provider for SQL Server</font> <font face="Arial" size=2>error '80040e07'</font><p><font face="Arial" size=2>Conversion failed when converting the nvarchar value '%27' to data type int.</font><p><font face="Arial" size=2>/DDLImpression.asp</font><font face="Arial" size=2>, line 117</font>
- /DDLImpression.asp

/DDLImpression.asp

http://cdn.goodwaygroup.com/DDLImpression.asp?IPAddress=%2527

Parameters

Parameter Type Value
IPAddress GET %27

Request

GET /DDLImpression.asp?IPAddress=%2527 HTTP/1.1
Referer: http://cdn.goodwaygroup.com/DDLImpression.asp?IPAddress=173.193.214
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: cdn.goodwaygroup.com
Cookie: ASPSESSIONIDSSBADBQR=IGGGDEOAOBKBFHNIBLCOEMJG
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 500 Internal Server Error
Cache-control: Public
Content-Type: text/html
Date: Sun, 06 Mar 2011 02:18:55 GMT
Expires: Sun, 06 Mar 2011 05:18:55 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 342


<font face="Arial" size=2><p>Microsoft OLE DB Provider for SQL Server</font> <font face="Arial" size=2>error '80040e07'</font><p><font face="Arial" size=2>Conversion failed when converting the nvarchar value '%27' to data type int.</font><p><font face="Arial" size=2>/DDLImpression.asp</font><font face="Arial" size=2>, line 117</font>
Internal Server Error

Internal Server Error

1 TOTAL
LOW
CONFIRMED
1
The Server responded with an HTTP status 500. This indicates that there is a server-side error. Reasons may vary. The behavior should be analysed carefully. If Netsparker is able to find a security issue in the same resource it will report this as a separate vulnerability.

Impact

The impact may vary depending on the condition. Generally this indicates poor coding practices, not enough error checking, sanitization and whitelisting. However there might be a bigger issue such as SQL Injection. If that's the case Netsparker will check for other possible issues and report them separately.

Remedy

Analyse this issue and review the application code in order to handle unexpected errors, this should be a generic practice which does not disclose further information upon an error. All errors should be handled server side only.
- /DDLImpression.asp

/DDLImpression.asp CONFIRMED

http://cdn.goodwaygroup.com/DDLImpression.asp?IPAddress=%0D%0Ans:netsparker056650=vuln&flight=-&vers..

Parameters

Parameter Type Value
IPAddress GET ns:netsparker056650=vuln
flight GET -
versionId GET 2
DARTCampaignId GET 5167576
userZip GET 10001
onLoad GET [type Function]

Request

GET /DDLImpression.asp?IPAddress=%0D%0Ans:netsparker056650=vuln&flight=-&versionId=2&DARTCampaignId=5167576&userZip=10001&onLoad=%5Btype%20Function%5D HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: cdn.goodwaygroup.com
Cookie: ASPSESSIONIDSSBADBQR=IGGGDEOAOBKBFHNIBLCOEMJG
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 500 Internal Server Error
Cache-control: Public
Content-Type: text/html
Date: Sun, 06 Mar 2011 02:18:50 GMT
Expires: Sun, 06 Mar 2011 05:18:50 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 365


<font face="Arial" size=2><p>Microsoft OLE DB Provider for SQL Server</font> <font face="Arial" size=2>error '80040e07'</font><p><font face="Arial" size=2>Conversion failed when converting the nvarchar value '
ns:netsparker056650=vuln' to data type int.</font><p><font face="Arial" size=2>/DDLImpression.asp</font><font face="Arial" size=2>, line 117</font>
Cookie Not Marked As HttpOnly

Cookie Not Marked As HttpOnly

1 TOTAL
LOW
CONFIRMED
1
Cookie was not marked as HTTPOnly. HTTPOnly cookies can not be read by client-side scripts therefore marking a cookie as HTTPOnly can provide an additional layer of protection against Cross-site Scripting attacks..

Impact

During a Cross-site Scripting attack an attacker might easily access cookies and hijack the victim's session.

Actions to Take

  1. See the remedy for solution
  2. Consider marking all of the cookies used by the application as HTTPOnly (After these changes javascript code will not able to read cookies.

Remedy

Mark the cookie as HTTPOnly. This will be an extra layer of defence against XSS. However this is not a silver bullet and will not protect the system against Cross-site Scripting attacks. An attacker can use a tool such as XSS Tunnel to bypass HTTPOnly protection.

External References

- /DDLImpression.asp

/DDLImpression.asp CONFIRMED

http://cdn.goodwaygroup.com/DDLImpression.asp?IPAddress=173.193.214.243&flight=-&versionId=2&DARTCam..

Identified Cookie

ASPSESSIONIDSSBADBQR

Request

GET /DDLImpression.asp?IPAddress=173.193.214.243&flight=-&versionId=2&DARTCampaignId=5167576&userZip=10001&onLoad=%5Btype%20Function%5D HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: cdn.goodwaygroup.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Cache-control: Public
Content-Type: text/html
Date: Sun, 06 Mar 2011 02:18:46 GMT
Expires: Sun, 06 Mar 2011 05:18:46 GMT
Server: Microsoft-IIS/6.0
Set-Cookie: ASPSESSIONIDSSBADBQR=DGGGDEOANKBCFCHFIOLNOFOM; path=/
X-Powered-By: ASP.NET
Content-Length: 2941


Message=[[{"DartCampaignID":"5167576", "DartCampaignName":"G111048 Chevy Dallas", "MarketName":"Dallas", "CampaignThreshold":"25", "DealerID":"3369", "DealerName":"Britain Chevrolet", "Phone":"", "clickURL":"http://www.britainchevy.com/VehicleSearchResults?pageContext=VehicleSearch@search=new@bodyType=All@make=Chevrolet@model=Malibu@trim=All@minYear=2009@maxYear=2011@cs:pro=mrgw@cs:e=bp@cs:a=g111048chedal", "clickType":"DEALER", "Flight":"MARCH", "VersionID":"2", "VersionName":"MALIBU", "LogicCode":"3", "theZipCode":"10001", "Distance":"1323"},{"DartCampaignID":"5167576", "DartCampaignName":"G111048 Chevy Dallas", "MarketName":"Dallas", "CampaignThreshold":"25", "DealerID":"3387", "DealerName":"Lakeside Chevrolet Company", "Phone":"", "clickURL":"http://www.lakesidechevrolet.com/VehicleSearchResults?pageContext=VehicleSearch@search=new@bodyType=All@make=Chevrolet@model=Malibu@trim=All@minYear=2009@maxYear=2011@cs:pro=mrgw@cs:e=bp@cs:a=g111048chedal", "clickType":"DEALER", "Flight":"MARCH", "VersionID":"2", "VersionName":"MALIBU", "LogicCode":"3", "theZipCode":"10001", "Distance":"1347"},{"DartCampaignID":"5167576", "DartCampaignName":"G111048 Chevy Dallas", "MarketName":"Dallas", "CampaignThreshold":"25", "DealerID":"3398", "DealerName":"Wylie Musser Chevrolet", "Phone":"", "clickURL":"http://www.mussermotors.net/VehicleSearchResults?pageContext=VehicleSearch@search=new@bodyType=All@make=Chevrolet@model=Malibu@trim=All@minYear=2009@maxYear=2011@cs:pro=mrgw@cs:e=bp@cs:a=g111048chedal", "clickType":"DEALER", "Flight":"MARCH", "VersionID":"2", "VersionName":"MALIBU", "LogicCode":"3", "theZipCode":"10001", "Distance":"1348"},{"DartCampaignID":"5167576", "DartCampaignName":"G111048 Chevy Dallas", "MarketName":"Dallas", "CampaignThreshold":"25", "DealerID":"3377", "DealerName":"Eldorado Chevrolet", "Phone":"", "clickURL":"http://www.eldoradochevy.com/VehicleSearchResults?pageContext=VehicleSearch@search=new@bodyType=All@make=Chevrolet@model=Malibu@trim=All@minYear=2009@maxYear=2011@cs:pro=mrgw@cs:e=bp@cs:a=g111048chedal", "clickType":"DEALER", "Flight":"MARCH", "VersionID":"2", "VersionName":"MALIBU", "LogicCode":"3", "theZipCode":"10001", "Distance":"1352"},{"DartCampaignID":"5167576", "DartCampaignName":"G111048 Chevy Dallas", "MarketName":"Dallas", "CampaignThreshold":"25", "DealerID":"3394", "DealerName":"Stanley Chevrolet Pontiac", "Phone":"", "clickURL":"http://www.stanleykaufman.net/VehicleSearchResults?pageContext=VehicleSearch@search=new@bodyType=All@make=Chevrolet@model=Malibu@trim=All@minYear=2009@maxYear=2011@cs:pro=mrgw@cs:e=bp@cs:a=g111048chedal", "clickType":"DEALER", "Flight":"MARCH", "VersionID":"2", "VersionName":"MALIBU", "LogicCode":"3", "theZipCode":"10001", "Distance":"1353"}],[{"VersionID":"2", "VersionName":"MALIBU", "clickURL":"http://www.chevydealer.com", "clickType":"VERSION", "LogicCode":"3"}]]
Database Error Message

Database Error Message

1 TOTAL
LOW
Netsparker identified a database error message.

Impact

The error message may disclose sensitive information and this information can be used by an attacker to mount new attacks or to enlarge the attack surface. In rare conditions this may be a clue for an SQL Injection vulnerability. Most of the time Netsparker will detect and report that problem separately.

Remedy

Do not provide any error messages on production environments. Save error messages with a reference number to a backend storage such as a text file or database, then show this number and a static user-friendly error message to the user.
- /DDLImpression.asp

/DDLImpression.asp

http://cdn.goodwaygroup.com/DDLImpression.asp?IPAddress=%0D%0Ans:netsparker056650=vuln&flight=-&vers..

Parameters

Parameter Type Value
IPAddress GET ns:netsparker056650=vuln
flight GET -
versionId GET 2
DARTCampaignId GET 5167576
userZip GET 10001
onLoad GET [type Function]

Request

GET /DDLImpression.asp?IPAddress=%0D%0Ans:netsparker056650=vuln&flight=-&versionId=2&DARTCampaignId=5167576&userZip=10001&onLoad=%5Btype%20Function%5D HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: cdn.goodwaygroup.com
Cookie: ASPSESSIONIDSSBADBQR=IGGGDEOAOBKBFHNIBLCOEMJG
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 500 Internal Server Error
Cache-control: Public
Content-Type: text/html
Date: Sun, 06 Mar 2011 02:18:50 GMT
Expires: Sun, 06 Mar 2011 05:18:50 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 365


<font face="Arial" size=2><p>Microsoft OLE DB Provider for SQL Server</font> <font face="Arial" size=2>error '80040e07'</font><p><font face="Arial" size=2>Conversion failed when converting the nvarchar value '
ns:netsparker056650=vuln' to data type int.</font><p><font face="Arial" size=2>/DDLImpression.asp</font><font face="Arial" size=2>, line 117</font>
IIS Version Disclosure

IIS Version Disclosure

1 TOTAL
INFORMATION
Netsparker identified that the target web server is disclosing the web server's version in the HTTP response. This information can help an attacker to gain a greater understanding of the system in use and potentially develop further attacks targeted at the specific web server version.

Impact

An attacker can look for specific security vulnerabilities for the version identified through the SERVER header information.

Remediation

Configure your web server to prevent information leakage from the SERVER header of its HTTP response.
- /DDLImpression.asp

/DDLImpression.asp

http://cdn.goodwaygroup.com/DDLImpression.asp?IPAddress=173.193.214

Extracted Version

Microsoft-IIS/6.0

Request

HEAD /DDLImpression.asp?IPAddress=173.193.214 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Accept: netsparker/check
Cache-Control: no-cache
Host: cdn.goodwaygroup.com
Cookie: ASPSESSIONIDSSBADBQR=IGGGDEOAOBKBFHNIBLCOEMJG
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Cache-control: Public
Content-Type: text/html
Date: Sun, 06 Mar 2011 02:18:46 GMT
Expires: Sun, 06 Mar 2011 05:18:46 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 0


Crossdomain.xml Identified

Crossdomain.xml Identified

1 TOTAL
INFORMATION
Netsparker identified a Crossdomain.xml file on the target web site. This issue is reported as extra information.

Impact

This issue is reported as extra information, there is no direct impact resulting from this issue.
- /crossdomain.xml

/crossdomain.xml

http://cdn.goodwaygroup.com/crossdomain.xml

Policy Rules

  • motifcdn.doubleclick.net
  • m.doubleclick.net
  • m2.doubleclick.net
  • m3.doubleclick.net
  • m.2mdn.net
  • m1.2mdn.net
  • m2.2mdn.net
  • *.2mdn.net
  • betadfa.doubleclick.net
  • dfa.doubleclick.net
  • betadfp.doubleclick.net
  • dfp.doubleclick.net
  • motifcdn2.doubleclick.net
  • ad.doubleclick.net
  • *.doubleclick.net
  • *.doubleclick.com
  • 2mdn.aolcdn.com
  • *.aolcdn.com
  • testbed.goodwaygroup.com
  • *.goodwaygroup.com

Request

GET /crossdomain.xml HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: cdn.goodwaygroup.com
Cookie: ASPSESSIONIDSSBADBQR=IGGGDEOAOBKBFHNIBLCOEMJG
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Type: text/xml
Date: Sun, 06 Mar 2011 02:18:46 GMT
ETag: "3b1abd724087cb1:ee0"
Last-Modified: Thu, 18 Nov 2010 16:48:38 GMT
Server: ECS (dca/532A)
X-Cache: HIT
X-Powered-By: ASP.NET
Content-Length: 1219


<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="motifcdn.doubleclick.net"/>
<allow-access-from domain="m.doubleclick.net"/>
<allow-access-from domain="m2.doubleclick.net"/>
<allow-access-from domain="m3.doubleclick.net"/>
<allow-access-from domain="m.2mdn.net"/>
<allow-access-from domain="m1.2mdn.net"/>
<allow-access-from domain="m2.2mdn.net"/>
<allow-access-from domain="*.2mdn.net"/>
<allow-access-from domain="betadfa.doubleclick.net"/>
<allow-access-from domain="dfa.doubleclick.net"/>
<allow-access-from domain="betadfp.doubleclick.net"/>
<allow-access-from domain="dfp.doubleclick.net"/>
<allow-access-from domain="motifcdn2.doubleclick.net"/>
<allow-access-from domain="ad.doubleclick.net"/>
<allow-access-from domain="*.doubleclick.net"/>
<allow-access-from domain="*.doubleclick.com"/>
<allow-access-from domain="2mdn.aolcdn.com"/>
<allow-access-from domain="*.aolcdn.com"/>
<allow-access-from domain="testbed.goodwaygroup.com"/>
<allow-access-from domain="*.goodwaygroup.com"/>
</cross-domain-policy>