Bug 2312524 (CVE-2024-8553) - CVE-2024-8553 foreman: Read-only access to entire DB from templates
Summary: CVE-2024-8553 foreman: Read-only access to entire DB from templates
Keywords:
Status: NEW
Alias: CVE-2024-8553
Deadline: 2024-12-06
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-16 07:39 UTC by OSIDB Bzimport
Modified: 2024-10-31 18:47 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in Foreman's loader macros introduced with report templates. These macros may allow an authenticated user with permissions to view and create templates to read any field from Foreman's database. By using specific strings in the loader macros, users can bypass permissions and access sensitive information.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:8717 0 None None None 2024-10-31 18:46:00 UTC
Red Hat Product Errata RHSA-2024:8718 0 None None None 2024-10-31 18:46:37 UTC
Red Hat Product Errata RHSA-2024:8719 0 None None None 2024-10-31 18:47:13 UTC

Description OSIDB Bzimport 2024-09-16 07:39:15 UTC
An issue in templates related to loader macros which were introduced together with report templates. These allow an authenticated user having permission to view any of the resources which have loader macros and permissions to view and create (probably) any kind of templates that allows this user to read any field from Foreman's database by passing in strings to the loader macros and remapping fields from the result to the original object class.

Refer: https://github.com/theforeman/foreman/blob/da504c8a2599b325853066b5099493e0c

Comment 3 errata-xmlrpc 2024-10-31 18:45:59 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.13 for RHEL 8

Via RHSA-2024:8717 https://access.redhat.com/errata/RHSA-2024:8717

Comment 4 errata-xmlrpc 2024-10-31 18:46:35 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.14 for RHEL 8

Via RHSA-2024:8718 https://access.redhat.com/errata/RHSA-2024:8718

Comment 5 errata-xmlrpc 2024-10-31 18:47:12 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.15 for RHEL 8

Via RHSA-2024:8719 https://access.redhat.com/errata/RHSA-2024:8719


Note You need to log in before you can comment on or make changes to this bug.