Skip to content

User access to Rudder remains valid until their session expires or the server restarts

Moderate
amousset published GHSA-h23f-jg8m-9jgr Oct 2, 2024

Package

rudder-jetty (rudder)

Affected versions

*

Patched versions

None
rudder-webapp (rudder)
< 8.1.7
8.1.7

Description

Impact

When logging in as an active user, another Rudder user with access to configure my user account could do so while I'm still using Rudder. They could disable or delete, change password and remove or add roles. These actions could be security-sensitive in many ways (I could still access or modify data in Rudder, or I could have changed password because my old one leaked). However my browser session is still the same and I can still use Rudder as long as it is open : until it expires or the Rudder server restarts.

A disabled or deleted user should have its session expire instantly and should not be able to still use Rudder.
This should also be enforced when changing password and changing rights in Rudder.
For users with administrator rights (at least administrator_read), the session is not required to expire instantly because they are considered to have a sufficient level of privileges in Rudder to take action, in that case restarting the Rudder server is the solution to expire administrator sessions.

Note: API access is not affected and a user's API tokens are immediately unusable after user is disabled or deleted.

Patches

Workarounds

Restarting the Web application service with systemctl restart rudder-jetty destroys all active sessions, thus preventing any access from disabled or removed user accounts.

References

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

CVE ID

No known CVE

Weaknesses

No CWEs