Restrict LDAP access via JNDI #608

102
Restrict LDAP access via JNDI #608

@ceki @remkop – it is not exactly true that it doesn’t suffer from lookup issue though.

If you look at how jndi works in 1.x you will find that there are two places where lookups are done – that is JMSAppender.java:207 and JMSAppender.java:222 – if you set TopicBindingName or TopicConnectionFactoryBindingName to something that JNDI can handle – for example “ldap://host:port/a” JNDI will do exactly the same thing it does for 2.x – so 1.x is vulnerable, just attack vector is “safer” as it depends on configuration rather than user input

Knowasiak
WRITTEN BY

Knowasiak

Hey! look, i give tutorials to all my users and i help them!