Axis
  1. Axis
  2. AXIS-2883

Insecure certificate validation CVE-2012-5784

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • 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

        Activity

        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
        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
        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 -

        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.

          People

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

            Dates

            • Created:
              Updated:

              Development