Missing Authorization Affecting github.com/0xjacky/nginx-ui/internal/nginx package, versions <2.0.0-beta.36


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.09% (39th 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-GOLANG-GITHUBCOM0XJACKYNGINXUIINTERNALNGINX-8237613
  • published 22 Oct 2024
  • disclosed 21 Oct 2024
  • credit unam4

How to fix?

Upgrade github.com/0xJacky/nginx-ui/internal/nginx to version 2.0.0-beta.36 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authorization through the log path configuration and the directory traversal at /api/configs. An attacker can read directories and file contents on the server by manipulating the log path to point to arbitrary directories.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

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