ILIAS: Read Permission Bypass in the SOAP Read Methods via user_id
The read methods of the SOAP web service check read permission for the account named in the user_id parameter; a caller names another account and receives object data that their own account may not read.
Advisory ID: TP-2026-169
Product: ILIAS (open-source learning management system)
Vulnerability type: Authorization bypass through a user-controlled key (CWE-639)
CVE: not requested
CVSS 4.0: 7.5 (High)
Affected versions: 9.20, 10.8 and 11.1 (as stated by the vendor)
Fixed in: 9.21, 10.9 and 11.2
Reported: 1 July 2026
Summary
ILIAS is an open-source learning management system with a SOAP web service for connecting external systems. Several read methods of the web service accept an optional user_id parameter next to the session ID and check read permission on the requested objects for that account instead of the session's account. A caller who names the ID of an account with broader rights receives the XML description of objects that their own account may not read. Affected are getObjectByReference, getObjectsByTitle, searchObjects and getTreeChilds; the SOAP web service has to be enabled in the administration.
Root cause
Line numbers refer to version 9.20: getObjectByReference checks only the session with checkSession($sid) (webservice/soap/classes/class.ilSoapObjectAdministration.php:165) and then sets the caller-supplied value with $xml_writer->setUserId($user_id) (webservice/soap/classes/class.ilSoapObjectAdministration.php:180).
ilObjectXMLWriter::start() decides with checkAccessOfUser($this->getUserId(), 'read', '', $object->getRefId()) whether an object enters the output (webservice/soap/classes/class.ilObjectXMLWriter.php:129-134), so for the named account and not for the authenticated one.
The same pattern is present in getObjectsByTitle (class.ilSoapObjectAdministration.php:227, class.ilSoapObjectAdministration.php:253), searchObjects (class.ilSoapObjectAdministration.php:346, class.ilSoapObjectAdministration.php:375) and getTreeChilds (class.ilSoapObjectAdministration.php:438).
getXMLTree, by contrast, filters the objects with $access->checkAccess("read", "", (int) $node['ref_id']) for the session's account (class.ilSoapObjectAdministration.php:483).
checkSession admits the methods only when the setting soap_user_administration has the value 1 (webservice/soap/classes/class.ilSoapAdministration.php:96-100).
Proof of Concept
Schematically:
POST /webservice/soap/server.php HTTP/1.1
Content-Type: text/xml
<getObjectByReference>
<sid>SESSION_ID</sid>
<reference_id>REF_ID_WITHOUT_OWN_READ_PERMISSION</reference_id>
<user_id>ID_OF_AN_ACCOUNT_WITH_READ_PERMISSION</user_id>
</getObjectByReference>
The parameters sid, reference_id and user_id match the registration of the method in the SOAP server. If the account named in user_id may read the object, the response contains the Object element with Title, Description, Owner, CreateDate, LastUpdate and ImportId, regardless of the rights of the session's account. The fixed versions additionally filter the object list with checkAccess("read", ...) for the session's account.
Impact
- Disclosure of title, description, owner, timestamps and import ID of objects for which the caller's own account has no read permission.
getObjectsByTitle,searchObjectsandgetTreeChildssearch and list the object tree with the read permissions of a freely chosen account.- The vendor tracks the vulnerability as Mantis entry 0047887 with a CVSS 4.0 score of 7.5.
References
Is Something Like This in Your Software?
Our team found this vulnerability during its work. Have your applications tested by the same specialists, with a penetration test from turingpoint.
