Security Advisory 2022-21

Summary Session cookie date isn't validated against server policy (CVE-2022-2782)
Advisory Number 2022-21
Discovery Date 11 Aug 2022
Patch Release Date 29 Sep 2022
Advisory Release Date 25 Oct 2022
Product Octopus Server
Operating System Linux and Microsoft Windows
Severity Medium
CVE ID CVE-2022-2782

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.3.10686 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 it is possible for a session token to be valid indefinitely due to improper validation of the session token parameters.

The versions of Octopus Server affected by this vulnerability are:

  • All 0.x.x, 1.x.x, 2.x.x, 3.x.x, 4.x.x versions
  • All 2018.x.x, 2019.x.x, 2020.x.x, 2021.x.x, 2022.1.x versions
  • All 2022.2.x versions before 2022.2.8351
  • All 2022.3.x versions before 2022.3.10586
  • All 2022.4.x versions before 2022.4.2898

As of the 27/09/2022 Octopus Server version 2022.4.x is only available on Octopus Cloud.

Fix

To address this vulnerability, we have released Octopus Server version:

  • 2022.2.8351
  • 2022.3.10586
  • 2022.4.2898

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.3.10686). You can download the latest version of Octopus Server from https://octopus.com/downloads

If you can't upgrade to the latest version (2022.3.10686):

If you have feature version... ...then upgrade to this version
0.x.x, 1.x.x, 2.x.x, 3.x.x, 4.x.x 2022.2.8351 or greater
2018.x, 2019.x, 2020.x, 2021.x, 2022.1.x 2022.2.8351 or greater
2022.2.x 2022.2.8351 or greater
2022.3.x 2022.3.10586 or greater
2022.4.x 2022.4.2898 or greater

Mitigation

There is no known mitigation for CVE-2022-2782, 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 Justin Steven