Zen Cart Logo
Forums / Reports of Security Problems / The remote web server is prone to cross-site scripting attacks

The remote web server is prone to cross-site scripting attacks

Views: 23

Results 1 to 4 of 4
31 Mar 2012, 17:03
#1
johnnycopilot avatar

johnnycopilot

Zen Follower

Join Date:
Mar 2012
Posts:
325
Plugin Contributions:
0

The remote web server is prone to cross-site scripting attacks

as scanned by godaddy website protection on 3-31-2012, here is what it says. Can someone please help me fix this? !! Thanks!! note: there are 2 issues, I will post them separate:
1st issue

Description:
The remote web server hosts cgi scripts that fail to adequately
sanitize parameters name of malicious JavaScript. By leveraging this
issue, an attacker may be able to cause arbitrary HTML and script code
to be executed in a user's browser within the security context of the
affected site.

Risk Factor:
Medium / CVSS Base Score : 4.3(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)

Solution:
Contact the vendor for a patch or upgrade
Output:
Using the GET HTTP method, Site Scanner found that :

  • The following resources may be vulnerable to XSS (on parameters names) :
    /index.php?<<<<<<<<<<foo"bar'314>>>>>=1
    -------- request --------
    GET /index.php?<<<<<<<<<<foo"bar'314>>>>>=1 HTTP/1.1\r
    Host: stageandtheaterlighting.com\r
    Accept-Charset: iso-8859-1,utf-8;q=0.9,*;q=0.1\r
    Accept-Language: en\r
    Connection: Close\r
    User-Agent: Mozilla/5.0 (compatible; MSIE 7.0; MSIE 6.0; Site Scanner Bot; +http://www.websiteprotection.com) Firefox/2.0.0.3\r
    Pragma: no-cache\r
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, /

-------- output --------
<img id="close-pic" class="close-pic float-right" src="includes/te [...]

<ul class="list-popup"> <li><a href="/index.php?<<<<<<<<<<foo"bar'314>>>>>=1&currency=USD">U S Dollar ($)</a></li> <li><a href="/index.php?<<<<<<<<<<foo"bar'314>>>>>=1&currency= [...] <li><a href="/index.php?<<<<<<<<<<foo"bar'314>>>>>=1&currency= [...] ------------------------ Clicking directly on these URLs should exhibit the issue : (you will probably need to read the HTML source) http://stageandtheaterlighting.com/index.php?<<<<<<<<<<foo"bar'314>>>>>=1 Other references : CWE:79, CWE:80, CWE:81, CWE:83, CWE:20, CWE:74, CWE:442, CWE:712, CWE:722, CWE:725, CWE:811, CWE:751, CWE:801, CWE:116
31 Mar 2012, 17:06
#2
johnnycopilot avatar

johnnycopilot

Zen Follower

Join Date:
Mar 2012
Posts:
325
Plugin Contributions:
0

Re: The remote web server is prone to cross-site scripting attacks

I left out one bit of info... at the top of the warning message it says .. Port: http (80/tcp)

01 Apr 2012, 13:34
#3
qdixon avatar

qdixon

Support Team

Join Date:
Feb 2004
Location:
Simcoe, Ontario, Canada
Posts:
1,906
Plugin Contributions:
1

Re: The remote web server is prone to cross-site scripting attacks

This particular issue stems from the template you are using. Contact the template creator to see if there is an update.

01 Apr 2012, 16:24
#4
johnnycopilot avatar

johnnycopilot

Zen Follower

Join Date:
Mar 2012
Posts:
325
Plugin Contributions:
0

Re: The remote web server is prone to cross-site scripting attacks

Thank you