Security Advisory 2023-01
Summary | Stored Cross-Site Scripting (XSS) in Octopus Server help sidebar (CVE-2022-4898) |
Advisory Number | 2023-01 |
Discovery Date | 05 OCT 2022 |
Patch Release Date | 11 JAN 2023 |
Advisory Release Date | 30 JAN 2023 |
Product | Octopus Server |
Operating System | Linux and Microsoft Windows |
Severity | Medium |
CVE ID | CVE-2022-4898 |
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.4.8377 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 Server the help sidebar can be customized to include a Cross-Site Scripting payload in the support link. This was initially resolved in advisory 2022-07 however it was identified that the fix could be bypassed in certain circumstances. A different approach was taken to prevent the possibility of the support link being susceptible to XSS
The versions of Octopus Server affected by this vulnerability are:
- All 2019.7.x, 2019.8.x, 2019.9.x, 2019.10.x, 2019.11.x, 2019.12.x, 2019.13.x versions
- All 2020.x.x, 2021.x.x and 2022.1.x versions
- All 2022.2.x versions before 2022.2.8552
- All 2022.3.x versions before 2022.3.10750
- All 2022.4.x versions before 2022.3.8319
Fix
To address this vulnerability, we have released Octopus Server version:
- 2022.2.8552
- 2022.3.10750
- 2022.4.8319
- 2023.1.4189
As of the 30/01/2023 Octopus Server version 2023.1.x is only available on Octopus Cloud.
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.4.8377). You can download the latest version of Octopus Server from https://octopus.com/downloads
If you can't upgrade to the latest version (2022.4.8377):
If you have feature version... | ...then upgrade to this version |
---|---|
2019.7.x, 2019.8.x, 2019.9.x, 2019.10.x, 2019.11.x, 2019.12.x, 2019.13.x, 2020.x.x | 2022.2.8552 or greater |
2021.x.x, 2022.1.x | 2022.2.8552 or greater |
2022.2.x | 2022.2.8552 or greater |
2022.3.x | 2022.3.10750 or greater |
2022.4.x | 2022.4.8319 or greater |
Mitigation
There is no known mitigation for CVE-2022-4898, it is important to upgrade to a fixed version as soon as possible.
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 found by Bugcrowd researcher alicanact60