Commit 1b5aeea
[PATCH] fix(soap): fix SQL injection in searchUser via query_operator
searchUser() validated query_operator with || instead of &&, making the
condition always true. raiseError() was also called without return, so
execution continued regardless. Combined, this allowed any authenticated
user with read_users permission to inject arbitrary SQL via the
query_operator parameter (full user table disclosure, credential
extraction via boolean blind SQLi).
Fix: change || to && and add return before raiseError().
Affected: components/ILIAS/soap/classes/class.ilSoapUserAdministration.php
Signed-off-by: Releasemanager <webmaster@ilias.de>1 parent 1843d90 commit 1b5aeea
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
688 | | - | |
| 687 | + | |
| 688 | + | |
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| |||
0 commit comments