Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.
This repository was archived by the owner on May 14, 2020. It is now read-only.

LDAP Injection Rule #276

@dnkolegov

Description

@dnkolegov

The following LDAP injection vectors from Alonso-Parada research are not detected by current LDAP Injection Rule:

  • foo)(sn=100
  • printer)(uid=*)
  • printer)(department=fa*)
  • printer)(department=*fa*)

Burp Suite uses the following vectors to test an LDAP Injection and they are also not detected:

  • eb9adbd87d)(sn=*
  • eb9adbd87d)!(sn=*
  • *)(sn=*
  • *)!(sn=*

Also it is not obvious the purpose of the top and middle parts of regular expression that check values beginning with (:

(?:\((?:\W*?(?:objectc(?:ategory|lass)|homedirectory|[gu]idnumber|cn)\b\W*?=|[^\w\x80-\xFF]*?[\!\&\|][^\w\x80-\xFF]*?\()) 

Which LDAP injection context is supposed here?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions