New Zenner
- Join Date:
- Nov 2006
- Posts:
- 94
- Plugin Contributions:
- 0
PCI Cross Site Scripting false pos?
My site:
1.39c
clean install
PHP 5.3.2
PCI Scanner: Trustwave
One of my stores was scanned yesterday, while still at 1.39b, following result:
• Virtual Host: https://www.jerkynet.com
• Date: 2010-05-19 09:47:52.92
• Vulnerable Page:
http://38.113.114.131:80/
store/index.php?main_page=contact_u
s&action=send&zenid=8a3482c20d34fa03da9ed1e8da5021d1
• HTTP Request Mode: post
• HTTP Status Code: 200
• Test Input String: %22%3E%27%3E%3CIfRaME%3E
• Search Pattern: (?i)(?<!")>'><IfRaME>
• Pattern Match: >'><IfRaME>
• Referrer Page:
http://www.jerkynet.com/
store/index.php?main_page=contact_us
&zenid=ed5b5ff24318ed527d3fdf1bdbb20e26
• Vulnerable Parameter: contactname
• Vulnerable Parameter: email
I double checked the patches in extra_configures, all seems to be present there:
771 May 8 08:54 email_use_8bit.php
1972 May 8 08:54 enable_error_logging.php
432 May 8 08:54 media_manager.php
855 May 8 08:54 pci_patch_13x_search.php
2022 May 8 08:54 security_patch_v138_20080919.php
I then updated to 1.39c, and the second store was scanned last night and caught the same PCI MED fail on scripting..... details here:
Evidence:
• Virtual Host: https://www.newgrowth.com
• Date: 2010-05-20 07:54:51.007
• Vulnerable Page:
http://38.113.114.130:80/
ng/index.php?main_page=contact_us&a
ction=send&zenid=f5a36dd26b85b3e8b4abc6af4941708b
• HTTP Request Mode: post
• HTTP Status Code: 200
• Test Input String: %3CScRipT%20%3Ealert%28%27test
%27%29%3B%3C%2FScRipT%20%3E
• Search Pattern: <ScRipT >alert('test');</ScRipT >
• Pattern Match: <ScRipT >alert('test');</ScRipT >
• Referrer Page:
http://www.newgrowth.com/
ng/index.php?main_page=contact_us&a
mp;zenid=4d6e4f5d077b8098e028e376ce500a3d
• Vulnerable Parameter: contactname
• Vulnerable Parameter: email
I also checked that the patch originally found here:
http://www.zen-cart.com/forum/showthread.php?t=125636
is still active and included in my template file.....
Question is, obviously, looking at the result of this scan and running myself, , this is a false pos,, actual email sent looks like this:
From: _ScRipT alert('test');/ScRipT _
Email: [email protected]
alert('test');
Office Use Only:
From: _ScRipT alert('test');/ScRipT _
Email: [email protected]
Login Name: Not logged in
Login Email: Not logged in
IP Address: 66.78.86.78 - 66.78.86.78
Host Address: 66.78.86.78
Date and Time: Thu May 20 2010 6:39:07 PDT
===========
Were we expecting this false pos after 1.39c?
Thought I should bring it here, in the event it meant something to one of you guys......
If there is something I have missed, please let me know.
Thanks!
Dave.......