Forums / Bug Reports / [Done v1.3.9e] format string attack.

[Done v1.3.9e] format string attack.

Locked

Started by tbaquatics on 14 Jun 2010, 12:53 PM · Views: 3,264

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
14 Jun 2010, 12:53 PM
#1
tbaquatics avatar

tbaquatics

New Zenner

Join Date:
Jan 2008
Posts:
72
Plugin Contributions:
0

[Done v1.3.9e] format string attack.

Any ideas? Is this a false positive on a pci scan:

The remote web server hosts CGI scripts that fail to adequately sanitize request strings. They seem to be vulnerable to a 'format string' attack. By leveraging this issue, an attacker may be able to execute arbitrary code on the remote host subject to the privileges under which the web server operates.

Please inspect the results as this script is prone to false positives.

Solution:
Restrict access to the vulnerable application / scripts. And contact the vendor for a patch or upgrade.

CVSS Information:
Low Attack Complexity, Partial Confidentiality Impact, Partial Integrity Impact, Partial Availability Impact

Additional References:
http://en.wikipedia.org/wiki/Format_string_attack

Information from Target:
Using the GET HTTP method, Nessus found that :

  • The following resources may be vulnerable to format string :

/shop/pages/wholesale-clubs-group-buys-1.html?zenid=%08x

14 Jun 2010, 2:41 PM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,324
Plugin Contributions:
40

Re: [Done v1.3.9e] format string attack.

What version Zen Cart? Have a url for us?

~Melanie

14 Jun 2010, 2:47 PM
#3
tbaquatics avatar

tbaquatics

New Zenner

Join Date:
Jan 2008
Posts:
72
Plugin Contributions:
0

Re: [Done v1.3.9e] format string attack.

mprough:

What version Zen Cart? Have a url for us?

~Melanie

1.3.8 with all security patches. I rather not post a url if it really is an issue. If one of the devs wants the url I can pm it.

14 Jun 2010, 4:10 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: [Done v1.3.9e] format string attack.

tbaquatics:

Any ideas? Is this a false positive on a pci scan:

The remote web server hosts CGI scripts that fail to adequately sanitize request strings. They seem to be vulnerable to a 'format string' attack. By leveraging this issue, an attacker may be able to execute arbitrary code on the remote host subject to the privileges under which the web server operates.

Please inspect the results as this script is prone to false positives.

Solution:
Restrict access to the vulnerable application / scripts. And contact the vendor for a patch or upgrade.

CVSS Information:
Low Attack Complexity, Partial Confidentiality Impact, Partial Integrity Impact, Partial Availability Impact

Additional References:
http://en.wikipedia.org/wiki/Format_string_attack

Information from Target:
Using the GET HTTP method, Nessus found that :

  • The following resources may be vulnerable to format string :

/shop/pages/wholesale-clubs-group-buys-1.html?zenid=%08x

At its basic level, v1.3.9 already protects against that problem, since it automatically re-sets the cookie value once it discovers the invalid value.
It can be reported as a false-positive (ControlScan have already accepted it as such).
A small patch to mitigate against seeing the false-positive will be included in v1.3.9e.

.
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.

14 Jun 2010, 4:17 PM
#6
tbaquatics avatar

tbaquatics

New Zenner

Join Date:
Jan 2008
Posts:
72
Plugin Contributions:
0

Re: [Done v1.3.9e] format string attack.

What about in 1.3.8? Any patch?

14 Jun 2010, 5:05 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: [Done v1.3.9e] format string attack.

Threat-wise it's insignificant. There are no plans to backport it at present. Best to plan an upgrade to benefit from all the other important security benefits in 1.3.9 though.

.
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.

30 Jun 2010, 4:29 PM
#8
tbaquatics avatar

tbaquatics

New Zenner

Join Date:
Jan 2008
Posts:
72
Plugin Contributions:
0

Re: [Done v1.3.9e] format string attack.

DrByte:

Threat-wise it's insignificant. There are no plans to backport it at present. Best to plan an upgrade to benefit from all the other important security benefits in 1.3.9 though.

Control scan is asking for the following info to mark it as a false positive:

Is there any type of url/content filtering?

What pattern matching is done to prevent this vulnerability.