Skip to content

Remote Code Execution via malicious YAML configurations in some versions #5042

Closed
@jburger

Description

@jburger

Description

An authenticated user with permission to modify deployment processes could upload a maliciously crafted YAML configuration, potentially allowing for remote execution of arbitrary code, running in the same context as the Octopus Server (for self-hosted installations by default, SYSTEM).

If this issue is of concern to you and your team, we strongly recommend upgrading to version 2018.9.1.

CVE-2018-18850

Affected versions

Octopus Server:
versions 2018.8.0-2018.9.0, inclusive.

Mitigation

In any version affected by this issue, we recommend upgrading to version 2018.9.1.

Workarounds

In situations where upgrade is not possible, running the octopus server built in worker as a service account with limited privileges may help to minimize the potential impact of such an occurrence, however this will not prevent attackers from attempting to chain other attacks against the server.

https://octopus.com/docs/administration/security/hardening-octopus#prevent-user-provided-scripts-from-doing-harm

https://octopus.com/docs/administration/workers/built-in-worker#running-tasks-on-the-octopus-server-as-a-different-user

Metadata

Metadata

Assignees

Labels

area/securitykind/bugThis issue represents a verified problem we are committed to solving

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions