Security Advisory 2022-09
Summary | Sensitive variable value displayed in Variable Preview (CVE-2022-1901) |
Advisory Number | 2022-09 |
Discovery Date | 26 May 2022 |
Patch Release Date | 11 Jul 2022 |
Advisory Release Date | 19 Aug 2022 |
Product | Octopus Server |
Operating System | Linux and Microsoft Windows |
Severity | Medium |
CVE ID | CVE-2022-1901 |
Customers who have downloaded and installed any of the Octopus Server versions listed below ("Details") are affected.
Please upgrade your Octopus Server immediately to fix this vulnerability.
Customers who have upgraded Octopus Server to version 2022.2.7244 or higher are not affected.
Severity
Octopus Deploy has given this vulnerability a medium rating. This rating was given according to the Octopus Deploy severity levels, which ranks vulnerabilities as critical, high, medium, or low severity.
This is our assessment and you should evaluate its applicability to your own environment.
Details
In affected versions of Octopus Deploy it is possible to unmask sensitive variables by using variable preview.
The versions of Octopus Server affected by this vulnerability are:
- All 2019.x versions after 2019.7.3
- All 2020.x and 2021.x versions
- All 2022.1.x versions before 2022.1.3009
- All 2022.2.x versions before 2022.2.7244
- All 2022.3.x versions before 2022.3.4953
As of the 19/08/2022 Octopus Server version 2022.3.x is only available on Octopus Cloud.
Fix
To address this vulnerability, we have released Octopus Server version:
- 2022.1.3009
- 2022.2.7244
- 2022.3.4953
The latest versions of Octopus Deploy products can be downloaded from https://octopus.com/downloads and previous versions can be downloaded from https://octopus.com/downloads/previous
What You Need to Do
Octopus Deploy recommends that you upgrade to the latest version (2022.2.7239). You can download the latest version of Octopus Server from https://octopus.com/downloads
If you can't upgrade to the latest version (2022.2.7239):
If you have feature version... | ...then upgrade to this version |
---|---|
2019.x versions after 2019.7.3 | 2022.1.2849 or greater |
2020.x, 2021.x | 2022.1.2849 or greater |
2022.1.x | 2022.1.2849 or greater |
2022.2.x | 2022.2.6729 or greater |
2022.3.x | 2023.3.2387 or greater |
Mitigation
This vulnerability can be mitigated by removing the VariableEdit permission from roles that do not require the ability to edit Variables. The permissions cannot cross scope into other projects or environments (test permissions cant unmask prod variables).
We have reviewed the default user roles and determined that the following roles have VariableEdit (and VariableView) permission.
- Project Contributor
- Project Deployer
- Project Lead
- Runbook Producer
- Space Manager
The following role also has the VariableView permission. While this permission won't allow the unmasking of secret variables, it will allow the users with this role the ability to see variables that have been unmasked.
- Runbook Consumer
The above roles can be modified by clearing the checkbox for the VariableEdit permission in the space permissions page of the role.
Support
If you have any questions or concerns regarding this advisory, please contact our support team https://octopus.com/support.
Exploitation and Public Announcements
The Octopus Deploy security team is not aware of any public announcements or malicious use of the vulnerability that is described in this advisory.
Source
This vulnerability was identified by a customer