LdapCtx does not check if java.naming.ldap.factory.socket refers to a SocketFactory

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 8
    • Component/s: core-libs
    • None

      com.sun.jndi.ldap.LdapCtx accepts a user customizable socket factory setting through the "java.naming.ldap.factory.socket" environment property. This property should be assigned a class name which extends SocketFactory. However, this is not always checked, and the user can simply provide a non SocketFactory class as long as it includes the correct method names.

            Assignee:
            Aleksej Efimov
            Reporter:
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: