Axis
  1. Axis
  2. AXIS-2883

Insecure certificate validation CVE-2012-5784

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      All

      Description

      See.
      http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf

      Using JSSE you must manually validate server name you're connecting to matches one of the names provided by the certificate. So you can detect a man-in-the-middle type attack with a valid certificate for other site.

      http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5784

      1. CVE-2012-5784-2.patch
        10 kB
        Alberto Fernández

        Issue Links

          Activity

          Hide
          Andreas Veithen added a comment -

          As shown in AXIS-2905, the patch provided in the present issue is incomplete.

          Show
          Andreas Veithen added a comment - As shown in AXIS-2905 , the patch provided in the present issue is incomplete.
          Hide
          Markus Brakweh added a comment -

          Are there any plans to fix this vulnerability?

          Show
          Markus Brakweh added a comment - Are there any plans to fix this vulnerability?
          Hide
          Alberto Fernández added a comment -

          It's the same thing.
          CVE-2012-5784 is for axis 1.4 and CVE-2012-5785 is for axis2.

          Show
          Alberto Fernández added a comment - It's the same thing. CVE-2012-5784 is for axis 1.4 and CVE-2012-5785 is for axis2.
          Hide
          Mark Sigler added a comment -

          Is this also related to CVE-2012-5785?

          Show
          Mark Sigler added a comment - Is this also related to CVE-2012-5785?
          Hide
          Alberto Fernández added a comment -

          Hi.

          I'm not sure in witch cases axis uses JSSESocketFactory instead of calling commons-httpclient, but this patch do the hostname validation in axis.

          Show
          Alberto Fernández added a comment - Hi. I'm not sure in witch cases axis uses JSSESocketFactory instead of calling commons-httpclient, but this patch do the hostname validation in axis.
          Hide
          Alberto Fernández added a comment -

          Patch that validates certificate DNSSubjectAlts/CN matches the server name we are trying to connect to

          Show
          Alberto Fernández added a comment - Patch that validates certificate DNSSubjectAlts/CN matches the server name we are trying to connect to

            People

            • Assignee:
              Unassigned
              Reporter:
              Alberto Fernández
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development