NagVis / nagvis

Visualization addon for your open source monitoring core
http://nagvis.org/
GNU General Public License v2.0
115 stars 73 forks source link

Security: Validate session cookie expiration #380

Closed lpetrora closed 2 months ago

lpetrora commented 2 months ago

The authentication logic in CoreLogonMultisite.php only verifies the cookie hash, but does not include any check for session expiration.

This change performs that validation by using the session cookie to authenticate against the Checkmk Rest API. If the session is expired, then that connection will fail and the session cookie will be invalid.