mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Merge branch 'ent-5322-SQL-Injection-leads-to-Login-Bypass' into 'develop'
Fixed injection sql in chart_generator See merge request artica/pandorafms!3024
This commit is contained in:
commit
6a35ffa01b
@ -70,7 +70,7 @@ class User
|
||||
$this->sessions[$data['phpsessionid']] = 1;
|
||||
$info = \db_get_row_filter(
|
||||
'tsessions_php',
|
||||
['id_session' => $data['phpsessionid']]
|
||||
['id_session' => io_safe_input($data['phpsessionid'])]
|
||||
);
|
||||
|
||||
if ($info !== false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user