Foreman: authorization flaw in the mail-notification endpoints implemented by api::v2::mailnotificationscontroller
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.19 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.19 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.19 for RHEL 9 | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Redhat | Satellite |
|
||||||||
| Redhat | Satellite |
|
||||||||
| Redhat | Satellite |
|
||||||||
| Redhat | Satellite |
|
Vendor Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.378% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in Foreman’s Api::V2::MailNotificationsController, where authorization checks on user-specific mail-notification resources are insufficient. The GET /api/v2/users/:id/mail_notifications endpoint resolves the target account using User.find(params[:id]) without verifying that the authenticated user is authorized to access that user’s notification configuration. Additionally, the POST and PUT /api/v2/users/:user_id/mail_notifications paths call deny_access when the requester is unauthorized but fail to halt execution, allowing the request to continue and persist the unauthorized change despite a 403 response or subsequent DoubleRenderError. This can allow a user to disclose another user’s mail-notification configuration, including mail_query values, and, where write permissions apply, modify or create notification settings for another user. | A missing authorization check has been found in the user_mail_notifications function in mail_notifications_controller.rb of the mail notification API in the foreman package. The action returns another user's notification settings when only the generic view permission for mail notifications is present. A low-privileged network attacker or user who can view mail notifications can request any user id and read that user's subscription choices and stored mail search strings. |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:satellite:6.19::el9 cpe:/a:redhat:satellite_capsule:6.19::el9 cpe:/a:redhat:satellite_utils:6.19::el9 |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat satellite Capsule
Redhat satellite Maintenance Redhat satellite Utils |
|
| CPEs | cpe:/a:redhat:satellite:6.16::el8 cpe:/a:redhat:satellite:6.16::el9 cpe:/a:redhat:satellite:6.17::el9 cpe:/a:redhat:satellite:6.18::el9 cpe:/a:redhat:satellite_capsule:6.16::el8 cpe:/a:redhat:satellite_capsule:6.16::el9 cpe:/a:redhat:satellite_capsule:6.17::el9 cpe:/a:redhat:satellite_capsule:6.18::el9 cpe:/a:redhat:satellite_maintenance:6.17::el9 cpe:/a:redhat:satellite_maintenance:6.18::el9 cpe:/a:redhat:satellite_utils:6.16::el8 cpe:/a:redhat:satellite_utils:6.16::el9 cpe:/a:redhat:satellite_utils:6.17::el9 cpe:/a:redhat:satellite_utils:6.18::el9 |
|
| Vendors & Products |
Redhat satellite Capsule
Redhat satellite Maintenance Redhat satellite Utils |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in Foreman’s Api::V2::MailNotificationsController, where authorization checks on user-specific mail-notification resources are insufficient. The GET /api/v2/users/:id/mail_notifications endpoint resolves the target account using User.find(params[:id]) without verifying that the authenticated user is authorized to access that user’s notification configuration. Additionally, the POST and PUT /api/v2/users/:user_id/mail_notifications paths call deny_access when the requester is unauthorized but fail to halt execution, allowing the request to continue and persist the unauthorized change despite a 403 response or subsequent DoubleRenderError. This can allow a user to disclose another user’s mail-notification configuration, including mail_query values, and, where write permissions apply, modify or create notification settings for another user. | |
| Title | Foreman: authorization flaw in the mail-notification endpoints implemented by api::v2::mailnotificationscontroller | |
| First Time appeared |
Redhat
Redhat satellite |
|
| Weaknesses | CWE-639 | |
| CPEs | cpe:/a:redhat:satellite:6 | |
| Vendors & Products |
Redhat
Redhat satellite |
|
| References |
| |
| Metrics |
cvssV3_1
|