Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-4879

Apache Struts 2 Remote Code Execution (CVE-2017-5638)

    XMLWordPrintable

Details

    Description

      Description
      Crowd used a version of Struts 2 that was vulnerable to CVE-2017-5638. Attackers can use this vulnerability to execute Java code of their choice on systems that have a vulnerable version of Crowd.

      Affected versions:

      • All versions of Crowd from 2.8.3 before 2.9.7 (the fixed version for 2.9.x), from version 2.10.1 before 2.10.3 (the fixed version for 2.10.x) and from version 2.11.0 before 2.11.1 (the fixed version for 2.11.x) are affected by this vulnerability.

      Fix:

       Hotfix:
      The preferred fix is to upgrade Crowd to a version that's not vulnerable (see the Fix section). If you cannot schedule an upgrade immediately, and are using Crowd 2.10 or 2.11, you can replace the affected library as a temporary workaround.

      To replace the library:

      1. Stop Crowd
      2. Download struts2-core-2.3.32.jar
      3. Remove all existing copies of struts2-core-2.3.29.jar:
        ./crowd-openidclient-webapp/WEB-INF/lib/struts2-core-2.3.29.jar
        ./crowd-openidserver-webapp/WEB-INF/lib/struts2-core-2.3.29.jar
        ./crowd-webapp/WEB-INF/lib/struts2-core-2.3.29.jar
        ./demo-webapp/WEB-INF/lib/struts2-core-2.3.29.jar
        
      4. Copy the downloaded struts2-core-2.3.32.jar into each of the lib/ directories you removed the jar from
      5. Restart Crowd

      This temporary solution is provided only for your convenience and an upgrade to an official Crowd release should be scheduled as soon as possible.

      For additional details see the full advisory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aminozhenko alexmin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: