semgrep-rules icon indicating copy to clipboard operation
semgrep-rules copied to clipboard

pattern-source - fix parameter order = Update ldap-injection.yaml

Open 1lyasam opened this issue 11 months ago • 3 comments

Expanding the detection to support vulnerable parameter at any order. The previous pattern will only match if the vulnerable parameter is the first parameter in the function declaration. As the vulnerable parameter can be at any place, I added "..." padding before and after

1lyasam avatar Jul 28 '23 17:07 1lyasam