-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2023.3144
         SVD-2023-0612: Role-based Access Control (RBAC) Bypass on
  '/services/indexing/preview' REST Endpoint Can Overwrite Search Results
                                2 June 2023

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Splunk Enterprise
                   Splunk Cloud Platform
Publisher:         Splunk
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Resolution:        Patch/Upgrade
CVE Names:         CVE-2023-32717  

Original Bulletin: 
   https://advisory.splunk.com//advisories/SVD-2023-0612

Comment: CVSS (Max):  4.3 CVE-2023-32717 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
         CVSS Source: Splunk
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

- --------------------------BEGIN INCLUDED TEXT--------------------

Role-based Access Control (RBAC) Bypass on '/services/indexing/preview' REST
Endpoint Can Overwrite Search Results

Advisory ID: SVD-2023-0612

CVE ID: CVE-2023-32717

Published: 2023-06-01

Last Update: 2023-06-01

CVSSv3.1 Score: 4.3, Medium

CVSSv3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

CWE: CWE-285

Bug ID: SPL-237454

Description

An unauthorized user can access the '/services/indexing/preview' REST endpoint
to overwrite search results if they know the search ID (SID) of an existing
search job. This is because the endpoint does not honor role-based access
controls (RBAC) with respect to SID ownership. The exploit requires that the
user hold a role that has the 'edit_monitor' and 'edit_upload_and_index'
capabilities assigned to it.

Solution

For Splunk Enterprise, upgrade to versions 9.0.5, 8.2.11, or 8.1.14 and higher.

For Splunk Cloud Platform, Splunk is monitoring and patching affected
instances.

Product Status

       Product        Version Component   Affected Version  Fix Version
Splunk Enterprise     8.1     Splunk Web 8.1.0 to 8.1.13    8.1.14
Splunk Enterprise     8.2     Splunk Web 8.2.0 to 8.2.10    8.2.11
Splunk Enterprise     9.0     Splunk Web 9.0.0 to 9.0.4     9.0.5
Splunk Cloud Platform         Splunk Web 9.0.2303 and below 9.0.2303.100

Mitigations and Workarounds

Remove the 'edit_monitor' and 'edit_upload_and_index' capabilities from roles
that low-privilege user accounts hold. Ensure that all REST endpoints have the
proper access control lists (ACLs) applied to them.

Detections

  o Splunk RBAC Bypass on indexing preview REST Endpoint

This detection search provides information on possible role-based access
control bypass exploits in versions of Splunk Enterprise below 9.0.5, 8.2.11,
and 8.1.14.

Severity

Splunk rated this vulnerability as Medium, 4.3, with a CVSSv3.1 vector of
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.

Acknowledgments

Scott Calvert, Splunk

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBZHmJLMkNZI30y1K9AQjK8RAApCqu6jIGiuDrw02KggQnmtVna4Nbfu7w
DFPhtRs555xA5d953Az1U6Th9+ql7JOy1yWzYN/KVkvRPnHB9S0hr5YBBu9pfIeZ
INEChpx3LYkecy3oiVpfK/yobz+NjJYWAtJW+2qBuGiYBRP8AlPc4nREq+BnWHHX
2Sgyy32MraUUIqJ7M5BzAH7q32NDQ50hEQvnnaahJFwnypXz7vd0Fjtcm2EiMmRM
G3XdveCog/ZQxhAwpsYYKUvYyWQg8fwq0DAR2LEf1BPr/Ka4hMgP1qVUmqSUQp1K
h4iUkMk4r+U4vC8mbC7EVwh6ZnZRwqmTvbwNMxEbvkfVs6bCRK0LZj6bQABz2jIM
YuVzn22Vq/cuOWoYJioFDDlFBdJhhnLdS66vNg2BhwVd23ofkoA+QMECWW/uDCL/
9HykOx27i3/Xpvj6YChLhfULuYkueDOq0+YHSSozXWv1ySVBtOuocg5fdysbZTna
AiU06U2hrhk+6EiJfJe3bLrGNArVvQ2k/7QMrIULG3TWk1Z+s8Lr+Myeg25f4UXN
5TXjzddAQwOJ6O9wLUm9QyRfWVBQafIVA2ejN7k3BfvzEvouhVC4D662ybPJBzEC
LZ0Zy2Myp/kmLE6UB5ycTnr6zsTUmojAig6pPRkhQURfvZkkFABUtZdOAQ3kDqwj
RK6glhTHkkg=
=CBLz
-----END PGP SIGNATURE-----