Starting from version 3.1.0 of the Splunk Supporting Add-on for Active Directory, support for base64-encoded passwords has been removed. As part of this change, the list_storage_passwords capability must be assigned to any user who works with this add-on.
This capability is required because the configuration page of the add-on saves passwords as storage passwords. Without this permission, users will not be able to save the configuration.
However, assigning the list_storage_passwords capability also grants the ability to run the |rest /services/storage/passwords command. This command can reveal the clear-text versions of all stored passwords, which may raise security concerns.
During an investigation into the earlier mechanism that supported plaintext and base64-encoded passwords, several vulnerabilities were identified. This method allowed standard users on a Splunk instance to retrieve credentials through script handlers and perform Active Directory queries using SPL commands—functions that should typically be restricted to administrative users (as handled by password.conf).
The Security team also advised that storing passwords in plaintext—even in on-premises environments—is not secure. Additionally, using base64 encoding as a form of "obfuscation" was found to be ineffective and not a reliable method for protecting sensitive data.
Limitations in the Previous Mechanism:
Passwords were stored in plaintext, making them easily accessible.
Base64 encoding offered weak protection and failed to secure stored credentials.
Non-administrative users could access Active Directory credentials through script handlers and SPL queries.
Other applications within Splunk could potentially access these credentials, increasing overall security risk.
Improvements in Version 3.1.0 and Later:
From version 3.1.0 onward, the mechanism was updated to enhance security:
Support for base64-encoded or clear-text passwords was removed.
Passwords are now stored securely as storage passwords.
The list_storage_passwords capability is required for users to access stored credentials.
These changes offer the following benefits:
Improved security through encrypted password storage.
Restricted access via the list_storage_passwords capability.
Ensures only authorized users can retrieve credentials, while preserving LDAP query functionality.
Important Consideration:
While the list_storage_passwords capability is necessary for the add-on to function correctly, it also allows users to run the |rest /services/storage/passwords command. This command can reveal clear-text versions of all stored passwords, which may introduce security risks.
To mitigate this, knowledge object-based access to the secret storage account can be configured. This ensures that application passwords are not shared globally, and even if a user runs the REST API command, they will not be able to view all passwords in clear text.
Granting the list_storage_passwords capability enables users to run the |rest /services/storage/passwords command, which can display clear-text versions of all stored passwords.
To mitigate this, knowledge object-based access to the secret storage account can be configured. This ensures that application passwords are not shared globally, and even if a user runs the REST API command, they will not be able to view all passwords in clear text.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |