You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Duration filter of the executions: bind the values as DQL parameters #111
ProcessExecutionDurationFilter (duration filter of the process executions list) inserts the filter values (value, value2) in the DQL with sprintf() instead of binding them as parameters.
Not exploitable as is: the filter form field is numeric (NumericFilterType), and EasyAdmin does not apply a filter whose form is invalid; a value such as 3600, 'SECOND') OR (1=1 OR ... is handled as an invalid value. But the protection only relies on the form validation: hardening.
Bind the values as parameters (named after FilterDataDto::getParameterName() / getParameter2Name(), unique per filter); DQL date_add() accepts a parameter. Check the query on MySQL and PostgreSQL.
Activity
Merge pull request #112 from cleverage/111