Path Traversal Affecting tgstation.server.api package, versions [,13.6.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DOTNET-TGSTATIONSERVERAPI-7573298
  • published 30 Jul 2024
  • disclosed 29 Jul 2024
  • credit SandPoot

How to fix?

Upgrade Tgstation.Server.Api to version 13.6.0 or higher.

Overview

Tgstation.Server.Api is a package that defines HTTP headers, default credentials, models, rights, and routes for communicating with the tgstation-server API

Affected versions of this package are vulnerable to Path Traversal that allows low privileged users to set .dme files on the host to be executable, via the Set .dme Path privilege. If those files are compromised by other means and contain malicious code and then executed by a user with sufficient privileges, this allows the user to cause code execution on the host.

Note: This possibility is unintended, described by the maintainers as dangerous because it "does not require control over the where deployment code is sourced from and may not require remote write access to an instance's Configuration directory."

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
7.7 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None