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
[Security] Global notification settings can be changed with config READ (front/setup.notification.php) #26600
Version: 12.0.3 and 11.0.14 (also present on main as of 2026-12-03)
Setup
Clean install, default settings.
Attacker: a standard-interface profile with notification READ and config READ but no config UPDATE, for example the built-in Read-Only profile.
Description
front/setup.notification.php lets in users with notification READ or config UPDATE (line 40) and only redirects users who lack config READ (lines 46-51). It then passes any POST straight to NotificationSettingConfig::update() (lines 58-59) without checking config UPDATE. update() writes use_notifications and every notifications_* key to the core configuration, and use_notifications=0 also sets every notification mode to 0. The settings form is only rendered for users with config UPDATE, but the POST handler doesn't enforce it. https://github.com/glpi-project/glpi/blob/12.0.3/front/setup.notification.php#L40-L60
This is the same pattern GHSA-p592-vf38-pm66 (fixed in 10.0.25 / 11.0.7) fixed for configuration updates with config READ; this endpoint wasn't covered.
Impact: a read-only user can turn off all notifications (email, browser and the other modes) for the whole instance, or change individual notification modes.
Exploit scenario
Log in as a Read-Only user.
POST to /front/setup.notification.php with a valid _glpi_csrf_token and use_notifications=0.
Notifications are now disabled globally (Setup > Notifications shows them off).
Pavel has a dockerised proof of concept for this and can attach it if useful.
Recommendation
Require config UPDATE before calling $settingconfig->update($_POST), for example Session::checkRight('config', UPDATE) inside the POST branch.
Found by Pavel Kohout, AISLE Research (AISLE-2026-0340-0095).
Activity