CVE-2022-28357

NATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended path to a management action from a management account

published September 19, 2023

CVSS
โ€”
EPSS
1%
Percentile
67.1
In the wild
Unconfirmed
What it is

โš ๏ธ A sneaky directory traversal flaw lurks in NATS nats-server versions 2.2.0 to 2.7.4, giving attackers an unexpected way to peek around the management closet! ๐Ÿ” Think of it as a hotel manager who accidentally leaves a side door open โ€” anyone with the right key could wander into restricted areas and snoop around. It's a small oversight with potentially big consequences. If exploited, an attacker could access sensitive files and configurations that should be kept under wraps. This means they could manipulate the server's behavior or extract critical information, opening a door to further attacks.

Put simply

Think of it as a hotel manager who accidentally leaves a side door open โ€” anyone with the right key could wander into restricted areas and snoop around. It's a small oversight with potentially big consequences. The vulnerability lies in unintended path access through management actions, allowing unauthorized users to traverse directories outside their intended scope. Essentially, the server fails to validate paths properly, making it possible to access restricted files.

What to do

If exploited, an attacker could access sensitive files and configurations that should be kept under wraps. This means they could manipulate the server's behavior or extract critical information, opening a door to further attacks. To mitigate this vulnerability, update your NATS nats-server to the latest version and ensure proper access controls are enforced. Additionally, review your server configurations to limit management actions only to authorized accounts. You've got this! By following these steps, you'll be one step closer to securing your server! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01168 ยท 67.1th percentile
Published
2023-09-19T00:00Z
EPSS history
Timeline
  • 19 SEP 00:00Z
    NATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended path to a management action from a management account
    cvelistv5