Remote Code Execution (RCE) Affecting github.com/0xjacky/nginx-ui/settings package, versions <2.0.0-beta.9


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.36% (74th 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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOM0XJACKYNGINXUISETTINGS-6156637
  • published14 Jan 2024
  • disclosed11 Jan 2024
  • creditjorgectf

Introduced: 11 Jan 2024

CVE-2024-22198  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/0xJacky/Nginx-UI/settings to version 2.0.0-beta.9 or higher.

Overview

github.com/0xJacky/Nginx-UI/settings is a yet another Nginx Web UI

Affected versions of this package are vulnerable to Remote Code Execution (RCE) on the Preference page, via the SaveSettings function, which can be triggered by any user. Such an an attacker can execute arbitrary commands and by crafting a malicious request to change the Terminal Start Command setting via API.

CVSS Scores

version 3.1