Page 1 of 4 123 ... LastLast
Results 1 to 10 of 39
  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,157
    Plugin Contributions
    11

    Default alleged blind sql injection

    Here's what I get from a PCI Compliance scan
    Possible blind sql injection on http://www.mysite.com/index.php?amp=&main_page=index wp --bsql "http://www.mysite.com/index.php?amp=&main_page=index" "http://www.mysite.com/index.php?amp=&main_page=index+and+1%3D1" "http://www.mysite.com/index.php?amp=&main_page=index+and+1%3D0" cat <<EOF > bsql.sh curl -L "http://www.mysite.com/index.php?amp=&main_page=index+and+1%3D1"> a curl -L "http://www.mysite.com/index.php?amp=&main_page=index+and+1%3D0"> b diff a b EOF sh bsql.sh This website may have other injection related vulnerabilities.
    Is this something that can be fixed by the change to application top?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: blind sql injection

    Who's the scanning company?
    .

    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.

  3. #3
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: blind sql injection

    hi,

    The PCI checking software is flawed.

    What it is doing is calling the index page with 2 slightly different urls, supposedly in the mistaken belief that any differences in the html output would be caused by errors generated by a blind sql injection.

    However the main page is dynamic, and even called twice with exactly the same url, will produce different html output, as some product information is chosen randomly.


    automated PCI Compliance software

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,157
    Plugin Contributions
    11

    Default Re: blind sql injection

    securitymetrics and, unfortunately one of my clients is being billed until I can prove them wrong.
    COMODO does not return this as a problem.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: blind sql injection

    Well, as wilt said, the method they're using is horribly flawed and smacks of being very amateurish if it's supposed to "confirm" the existence of some sort of sql injection matter. It's presuming that the site operates only using a static HTML page for their home page, and is thus entirely unreliable when used against a dynamically-driven site such as Zen Cart.

    Challenge them back ... ask them to actually prove that there really *is* any SQL injection happening. The method you quoted from them is only confirming that the built-in logic for displaying randomly-selected data on the home page ... is actually working properly. You can give them thanks for confirming correct operation. But if they want to slam you for being somehow not secure, ask them to provide REAL proof ... because their current "proof" is flawed. My 10-year-old neice could do what they're doing and billing you for, and all she'd want is a fresh batch of hot cookies. Chocolate please.
    .

    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.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: blind sql injection

    Cookies!!!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: blind sql injection

    we have never had any issues with security metrics and their scans...
    we deal with security metrics ALOT
    Zen cart PCI compliant Hosting

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,157
    Plugin Contributions
    11

    Default Re: blind sql injection

    Should've practiced what I preach and told the whole story.

    One of my customers discovered an extra $19.95 fee on their monthly statement from their merchant account provider (First Data Merchant Services). An inquiry to them brought, "You are being charged an extra fee for non-compliance with PCI requirements." They then suggested that my client contact securitymetricsDOTcom to "get the situation resolved."
    Of course, Security Metrics confirmed the problem and convinced the client to pay $$$ to "fix his server."
    Their version of fix turned out to be a scan that proceeded to show a false positive for FrontPage and the blind sql problem.
    I have done a scan with COMODO (our certificate provider) and it had the same false positive for FrontPage but did not show any sql injection problem. I reported the false positive to COMODO and will use their response on that front.
    For the sql injection false positive, thanks to all of you for providing ammunition for the next round of fire with these folks.
    Of course, the customer has just recently changed to First Data Merchant Services and would incur $$$ to leave them.
    Caveat Emptor was a VERY optimistic statement.

    TO THE LURKERS:
    There are sites that will perform a free PCI compliance check. The one run by COMODO has my vote.

  9. #9
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: blind sql injection

    We have had other reports (in the private Security Matters forum) that Security Metrics was actually telling the poster that the page is flagged because it produces different output based on the 2 different URL/Parameter combinations. The same issue as discussed above, but equally invalid reasoning.




    Edit: Link removed

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,157
    Plugin Contributions
    11

    Default Re: blind sql injection

    Quote Originally Posted by Merlinpa1969 View Post
    we have never had any issues with security metrics and their scans...
    we deal with security metrics ALOT
    What bothered me the most about this one is that the SM rep claimed to the customer that the $$$ fee would include their(SM) fixing the server!
    So far, they're not listening to the customer. Hopefully, they will listen to me now that I have some ammo.

 

 
Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR