Tapestry 5
  1. Tapestry 5
  2. TAP5-1442

XSS vulnerability in calendar component

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.4
    • Fix Version/s: 5.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      All the XSS Vulnerabiliy (described here : https://issues.apache.org/jira/browse/TAP5-1057) is not solved.

      When we use a Software like Paros, we can change the value of Ajax Request parameters.

      We can run javascript code.

      I did a patch this morning. I just added the escapeHTML function in both of the errorHandler methods.

      Emmanuel

      1. datefield_js.patch
        0.9 kB
        Emmanuel DEMEY
      2. datefield_5_2_4_xss_fix.js
        4 kB
        Emmanuel DEMEY

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #590 (See https://builds.apache.org/job/tapestry-trunk-freestyle/590/)
        TAP5-1442: XSS vulnerability in calendar component

        hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186329
        Files :

        • /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/datefield.js
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #590 (See https://builds.apache.org/job/tapestry-trunk-freestyle/590/ ) TAP5-1442 : XSS vulnerability in calendar component hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186329 Files : /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/datefield.js

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Emmanuel DEMEY
          • Votes:
            6 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development