If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / PCI scan failure

PCI scan failure

Locked

Started by keithz on 12 May 2012, 10:52 PM · Views: 3,988

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 May 2012, 10:52 PM
#1
keithz avatar

keithz

New Zenner

Join Date:
Mar 2011
Posts:
8
Plugin Contributions:
0

PCI scan failure

I continue to get emails from Security Metrics about PCI compliance. It seems most of this is ok but I am failing in 3 areas. I have no idea how to make the changes they are asking for. Wonder if anyone has had a similar experience. Here are the failing messages:

  1. TCP 80 http 10 Description: (guestbook.cgi) is present Severity: Potential Problem CVE: CVE-1999-0237 CVE-2003-1425 CVE-2003-1426 Impact: The web server contains an application which may have a vulnerability. If [More]

  2. TCP 80 4 Description: Cross-site scripting vulnerability in lookup_discount_coupon parameter to /index.php?main_page=discount_coupon&amp ;action=lookup Severity: Area of Concern Impact: A malicious web [More]

  3. TCP 80 http 4 Description: Apache ETag header discloses inode numbers Severity: Potential Problem CVE: CVE-2003-1418 Impact: A remote attacker could determine inode numbers on the server. Resolution Use the [More]

Thank you!

13 May 2012, 6:44 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: PCI scan failure

In your list, numbers 1 and 3 are something your hosting company's server administrator must resolve. They have nothing to do with Zen Cart.

For number 2, while minor, you could get their scanner to stop complaining about it by upgrading to the latest version of Zen Cart (which is the SMARTEST solution you should choose) which has specifically addressed that issue as follows:

/includes/modules/pages/discount_coupon/header_php.php
at line 18, insert the highlighted line, as shown:```
$coupon = $db->Execute("select * from " . TABLE_COUPONS . " where coupon_code = '" . zen_db_input($_POST['lookup_discount_coupon']) . "' and coupon_type != 'G'");
[B] $_POST['lookup_discount_coupon'] = zen_sanitize_string($_POST['lookup_discount_coupon']);
[/B] if ($coupon->RecordCount() < 1) {

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 May 2012, 12:38 AM
#3
keithz avatar

keithz

New Zenner

Join Date:
Mar 2011
Posts:
8
Plugin Contributions:
0

Re: PCI scan failure

Thank you for your help. I am now PCI compliant!