This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Failing PCI Scans because of outdated jQuery in User Portal - Is there a fix?

We are failing our PCI compliance scans on every XG firewall we have that has the user portal enabled.  Our PCI compliance scanning company is telling us this:

 

Description:  "jQuery is vulnerable to Cross-site Scripting (XSS) attacks when a cross-domain Asynchronous JavaScript and Extensible Markup Language (AJAX) Request is performed without the dataType option, causing text/javascript responses to be executed.  This finding indicates that either the root domain url, sub-domain url, or an imported/sourced version of jQuery is below jQuery version 3.0. All three scenarios allow an attacker to execute cross site scripting attacks on the root domain."

Evidence: jQuery appears to be '2.1.3' and needs to be at '3.0.0' or higher

 

This is ONLY happening on the port used by the User Portal.  To verify this we changed the port to another number, had a host rescanned, and the vulnerability was found on that new port.

 

Is there anything I can do to get this fixed or do I have to wait for Sophos to update the jQuery version they are using?  Is there a bug report place I can put this if that's the case or who do I contact?

 



This thread was automatically locked due to age.
Parents
  • Apparently this is patched.  Just dispute the finding with Trustwave. 

    See KB from Sophos here:

    https://community.sophos.com/kb/en-us/132741

  • I sent the link to the scanning company and they don't like it.  They asked me to provide the current version of jQuery actually running on the box.  So I opened our user portal in Chrome then opened up the developer tools.  On the console tab I typed in jQuery.fn.jQuery and it returned "2.1.3".

     

    Not sure how they are mitigating the problem but their explanation isn't going to work for my PCI scanning company.  Anyone running 7.5 that can try doing the same?

  • I'm having the same issue.  I've got an xg 450.  I recently updated to 17.5.  After the update I had to edit httpd config as well.

     

    For example the original cypher line:

    ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:ECDH+3DES:DH+3DES:RSA+3DES:!aNULL:!MD5:!DSS

    Modified cypher line:

    ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS

     

    SSLProtocol all -SSLv2 -SSLv3

    Modified protocols line:

    SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1

  • I'm sorry  but I don't believe this is an isolated issue. And the fact that is having the same issue should be some confirmation.  I have had this issue, again, for two years. It affects my XG310 which is what I just demonstrated above and also both of my XG125w's.  One of the 125 was just purchased last September so it probably started with a late version of 16 or a very early version of 17.  three different firewalls, all installed at different times, all having the same exact issue. This is not a bug with my hardware but something wrong with your software or the upgrade process.

  • I'm wondering if the hardware appliances only have the issue with editing httpd?  Maybe the VM's don't have the same issue. 

  • FYI:

    I just did the Qualsys SSL check with our XG210 and 17.5 GA:

     

    TLS seems to be ok

     

    But some weak cipher suites are enabled

     

    Overall rating is T but would be A if trust issues are ignored.

    I did not change anything in config files etc.

     

    Regards, Jelle

  •  of course spinning up a new VM is going to work, because it's not dragging around legacy configuration from successive upgrades since  installed his XG with whatever version it came with.

    There seems to be a common misconception that client systems like  are broken. They aren't. Their state is merely different from a clean install due to all those state changes made during each version upgrade.

    What's really needed is a full configuration export that allows for full configuration import to be performed from a clean install, which would help prevent artefacts from affecting configuration, make fault repeatability achievable (ideally) and enable fault analysis to be conducted on a non-production system.

    Until that's in place all these XGs are essentially sacred cow pets, rather than the cattle they should be. 

  • The real issue I see is on each firmware upgrade its going back to a non-secure configuration which to me means that's the default config within the firmware.  If it defaulted to what posted that would be great but it doesn't and has never done so.  It also should be noted that when I contacted support, again almost two years ago, they were aware of the issue and gave me the instructions on changing it manually.  So it's not like this isn't a known issue.

  • I believe what you are saying but how come that I don't see this? So it can't be a default config as it should be the same here then.

    I'd say there is more to this than only a default config. Maybe different configs in the firmware based upon some prerequisites?

  • We are talking about the WAF? 

    AllanD can you show us, which TLS Version you select in GUI?

  • TLS v1.2:

     

     

    I believe what you are saying but how come that I don't see this? So it can't be a default config as it should be the same here then.

    I'd say there is more to this than only a default config. Maybe different configs in the firmware based upon some prerequisites?

     

    I don't know.  But I can tell you, with two of my firewalls starting around 16.01 and the third starting around 17.00, and all the firmware upgrades in between, I've had to manually make this change around 30 times.  The httpd file gets reset every time to that old insecure version.

     

    FYI - We are way off topic from the original jQuery issue but this is definitely another issue that needs to be fixed.  I wonder how many other people have the same problem but just don't know since they arn't subject to PCI compliance scans and are assuming their firewall "just works".

  • FYI:

    I just did the Qualsys SSL check with our XG210 and 17.5 GA:

     

    TLS seems to be ok

     

    But some weak cipher suites are enabled

     

    Overall rating is T but would be A if trust issues are ignored.

    I did not change anything in config files etc.

     

    Regards, Jelle

     

    I saw the same results when I tested my XG135.  Haven't tested my XG210 yet, but I may later.

Reply
  • FYI:

    I just did the Qualsys SSL check with our XG210 and 17.5 GA:

     

    TLS seems to be ok

     

    But some weak cipher suites are enabled

     

    Overall rating is T but would be A if trust issues are ignored.

    I did not change anything in config files etc.

     

    Regards, Jelle

     

    I saw the same results when I tested my XG135.  Haven't tested my XG210 yet, but I may later.

Children
No Data