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

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

                               ESB-2023.1007
           SVD-2023-0210: SPL Command Safeguards Bypass via the
            'collect' SPL Command Aliases in Splunk Enterprise
                             17 February 2023

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

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

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

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

Comment: CVSS (Max):  6.3 CVE-2023-22940 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/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:R/S:U/C:H/I:L/A:N

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

SPL Command Safeguards Bypass via the 'collect' SPL Command Aliases in Splunk
Enterprise

Advisory ID: SVD-2023-0210

CVE ID: CVE-2023-22940

Published: 2023-02-14

Last Update: 2023-02-14

CVSSv3.1 Score: 6.3, Medium

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

CWE: CWE-20

Bug ID: SPL-232369

Description

In Splunk Enterprise versions below 8.1.13, 8.2.10, and 9.0.4, aliases of the
'collect' search processing language (SPL) command, including 'summaryindex',
'sumindex', 'stash',' mcollect', and 'meventcollect', were not designated as
safeguarded commands. The commands could potentially allow for the exposing of
data to a summary index that unprivileged users could access. The vulnerability
requires a higher privileged user to initiate a request within their browser,
and only affects instances with Splunk Web enabled.

Solution

For Splunk Enterprise, upgrade versions to 8.1.13, 8.2.10, 9.0.4, or higher.

For Splunk Cloud Platform, Splunk is actively patching and monitoring the
Splunk Cloud instances.

Product Status

       Product        Version Component   Affected Version  Fix Version
Splunk Enterprise     8.1     Splunk Web 8.1.12 and lower   8.1.13
Splunk Enterprise     8.2     Splunk Web 8.2.0 to 8.2.9     8.2.10
Splunk Enterprise     9.0     Splunk Web 9.0.0 to 9.0.3     9.0.4
Splunk Cloud Platform -       Splunk Web 9.0.2209 and lower 9.0.2212

Mitigations and Workarounds

If users do not log in to Splunk Web on indexers in a distributed environment,
disable Splunk Web on those indexers. See Disable unnecessary Splunk Enterprise
components and the web.conf configuration specification file for more
information on disabling Splunk Web.

Detections

  o Splunk Risky Command Abuse disclosed February 2023

This hunting search provides information on potential abuse of the 'collect'
SPL command.

Severity

Splunk rated the vulnerability as Medium, 6.3, with a CVSSv3.1 vector of
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N. The 'collect' aliases have
limited write capabilities, but could write confidential data to a summary
index that all users can access, such as the default summary index.

If the Splunk Enterprise instance does not run Splunk Web, there is no impact
and the severity is Informational.

Acknowledgments

James Ervin, 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/

iQIVAwUBY+8fl8kNZI30y1K9AQjjFA/+OymLYqfz1tl3QzC7P1NuuxxXZu+kUwad
tKIu1GMHmL3yITrZdlq3fVonrrlXgr2wkr5XzRKTMIqohlWJRIYJuPt02bFf0jhA
wK8rbDLUaL1pUn57qkKJjFUMKDeVd+W+fxqFvlh3fUInidRwwqsqBQ0FbOUD3lg6
9ABh+XH+Djlw6c0mTzT8ZFKUT8rxegrVVZwgR5bQLFEoMPNbu+dVzJFI7+C9NdJn
jzauLDDHLwSY03l5M+f8lg3K1WG44tbOXxy2vQLbMaFV/eVncuvNRuyIYcrkuIVI
ozfgu8ZwD94ZBc0jqzNjSNL9nzr1yMxtxdJZHy2+er4rAyWYHmrfuFxY3qTLUOHy
EjJYsr45Sp0uR2TVguUeyfOwyft3BI5LitqnHjnFyt+crIM45lIDq7If0whT9rqO
BbpUCKCC2lqkUwcEO0EdEOKXbhuqAk+wNEdy8J6kFNyWCgiXQIOyXCb5WNNGsyyD
Zi9wkdRmqhWAQNbmlR7WoX86BB44ym9H5k2TCW/qfegrsUGQj+jlJz+1Ir3BVTyN
ouY4s7BstIfuGWGeINjjirt440bd4cv7C2pSovjc7R9ESAORYmX95GdfxqXffFdB
oGz9jj2tZlJ5OVwPDcC8O0ZE0Dq6FZolbMq+Tfi1nl24pIho9hLitBvTX1JVmQHm
VomX479HRSw=
=yoz6
-----END PGP SIGNATURE-----