CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2025-20290

Cisco NX-OS: The Call is Coming From Inside the Logs

Amit Schendel
Amit Schendel
Senior Security Researcher

Feb 11, 2026·7 min read·20 visits

Executive Summary (TL;DR)

Cisco NX-OS and UCS devices were caught logging sensitive credentials in cleartext. An attacker with local, low-privileged access (like a guest shell) can simply grep the logs to find admin passwords and take over the device.

A classic but deadly instance of CWE-532 (Insertion of Sensitive Information into Log File) within Cisco's NX-OS and UCS Fabric Interconnects. While categorized as 'Medium' severity due to the local access requirement, this vulnerability serves as a trivial privilege escalation path for any insider or compromised low-level account. By simply reading the system's own diary—its log files—an attacker can recover cleartext credentials and elevate to full administrative control.

The Hook: Verbose Mode is a Drug

Every developer has been there. You're debugging a complex authentication flow, nothing is working, and out of frustration, you flip the logging switch to 'ALL'. You need to see exactly what's hitting the wire. It works, you fix the bug, and you go home. But did you remember to turn the logging back down? Did you sanitize the input variables before writing them to disk?

CVE-2025-20290 is the architectural equivalent of leaving that debug switch taped to the 'ON' position. Cisco's NX-OS, the operating system powering the backbone of countless data centers via Nexus switches, decided that secrets were meant to be shared—specifically with the local filesystem. This isn't a complex heap overflow or a race condition in the kernel. It is a failure of discipline.

The vulnerability resides in the logging mechanism itself. When specific system operations occur—likely during provisioning, authentication handshakes, or configuration merges—the system writes sensitive data into log files. These aren't encrypted vaults; they are standard text files sitting in directories like /var/sysmgr/log/. For a hacker, this is the best kind of vulnerability: no ROP chains, no heap grooming, just cat and grep.

The Flaw: A Diary of Secrets

The root cause here is mapped to CWE-532: Insertion of Sensitive Information into Log File. It sounds mundane, but in the context of a network appliance, it is catastrophic. Network devices are fortresses; the outer walls are thick, but the interior assumes a level of trust. The flaw specifically affects how NX-OS handles data sanitation before writing to the syslog or internal component logs.

In a correct implementation, sensitive parameters like passwords, API tokens, or SNMP community strings should be masked (e.g., ******) or redacted entirely before being passed to the logging daemon. In the affected versions of NX-OS (spanning 7.x to 10.x) and UCS software, this sanitation step was missed in certain code paths.

What makes this dangerous is the persistence. Logs aren't ephemeral; they persist on disk until rotated. A credential logged three days ago is just as valid as one logged three seconds ago. If an attacker gains a foothold today, they can scroll back through time to find the keys to the kingdom.

The Code: Anatomy of a Log Leak

Because Cisco NX-OS is proprietary, we don't have the public git commit to point and laugh at. However, we can reconstruct the logic failure with high fidelity based on the behavior. This is a logic bug, not a memory safety bug, so the code looks deceptively normal.

The Vulnerable Logic (Conceptual):

// A hypothetical logging function in the auth manager
void handle_auth_request(char *username, char *password) {
    // MISTAKE: Logging raw inputs for "debugging"
    syslog(LOG_INFO, "Processing auth for user: %s with pass: %s", username, password);
    
    if (authenticate(username, password)) {
        grant_access();
    } else {
        log_failure(username);
    }
}

In the snippet above, the developer likely intended to remove the %s for the password before shipping, or assumed that the log level LOG_INFO wouldn't be captured in production.

The Patched Logic:

// The fixed implementation sanitizes data first
void handle_auth_request(char *username, char *password) {
    // FIX: Never log the raw secret. 
    syslog(LOG_INFO, "Processing auth for user: %s", username);
    
    if (authenticate(username, password)) {
        grant_access();
    } else {
        log_failure(username);
    }
}

The patch likely involves searching the codebase for every instance of logging functions and ensuring that variables holding CREDENTIAL, TOKEN, or PASSWORD types are passed through a mask_secret() function or omitted entirely. In the context of the Cisco fix, they likely also had to implement a log scrubber to clean up existing logs on update, ensuring that applying the patch creates a clean slate.

The Exploit: Grepping for Gold

Exploiting CVE-2025-20290 is delightfully low-tech. The barrier to entry isn't technical skill; it's access. You need to be authenticated, but you only need low privileges. Let's look at the attack path for a Cisco Nexus 9000.

Step 1: Gain Shell Access

First, we need to get to the underlying Linux shell. On NX-OS, this is often done via the guestshell feature or, if we have a basic operator account, dropping into bash.

switch> enable
switch# guestshell
[guestshell@guestshell ~]$ whoami
guest_user

Step 2: The Treasure Hunt

Once we are in the shell, we are effectively on a Linux box. We want to look where the system manager (sysmgr) keeps its notes. The advisory points to system logs. A simple grep command can reveal the jewels.

# Searching recursively for common credential patterns
grep -rE "password|secret|token|key" /var/sysmgr/log/ 
 
# Output might look like:
# /var/sysmgr/log/auth_debug.log: 2025-08-20 10:00:01: User 'admin' password set to 'SuperSecretCisco123!'

Step 3: The UCS Variation

On Cisco UCS Fabric Interconnects, you might not get a direct shell easily. However, the vulnerability disclosure notes that the logs are included in Tech Support Files.

  1. Log in with a low-priv user allowed to generate reports.
  2. Trigger a "Show Tech-Support" generation.
  3. Download the tarball to your local machine.
  4. Extract and search: tar -xvf tech-support.tar && grep -r "password" .

This is a "delayed read" exploit. You don't need to be on the box to parse the logs if the box kindly packages them up and lets you download them.

The Impact: From Guest to God

Why is a CVSS 5.5 dangerous? Because metrics lie. The AV:L (Local Attack Vector) pulls the score down significantly, implying you need physical access or a prior compromise to use this. While true, it ignores the reality of modern network administration.

In many environments, "Level 1" support engineers or automated monitoring scripts have low-level access to these switches to check interface statuses. If any of those accounts are compromised—or if a disgruntled employee decides to look around—this vulnerability turns that limited access into full root or admin control.

Once an attacker recovers the admin credentials from the log:

  1. They can pivot to other devices (admin passwords are notoriously reused across fleet devices).
  2. They can redirect traffic, mirroring sensitive flows to a collection point.
  3. They can install persistent backdoors that survive the inevitable firmware update.

It is a classic Privilege Escalation. You start in the lobby, read the sticky note with the safe code, and walk into the vault.

The Fix: Scrubbing the Evidence

Mitigation here is binary: you patch, or you remain vulnerable. There is no configuration workaround because you cannot easily instruct a closed-source binary to stop logging specific lines without breaking the binary itself.

Remediation Steps:

  1. Upgrade NX-OS: Move to the fixed releases specified in Cisco Advisory cisco-sa-nxos-infodis-TEcTYSFG. Typically, this means jumping to the latest maintenance release of the 9.x or 10.x train.
  2. Upgrade UCS Manager: Ensure Fabric Interconnects are running versions > 4.2(3) or 4.3(2) as appropriate.
  3. Log Rotation/Deletion: This is critical. Applying the patch stops future leaks, but it might not delete past logs. After patching, force a log rotation or manually clear the log directories (clear logging logfile or similar CLI commands) to ensure the historical evidence is destroyed.
  4. Credential Rotation: Assume your admin passwords have been read. If you find your device was running a vulnerable version, rotate all administrative credentials immediately after patching. Do not skip this step.

Official Patches

CiscoCisco Security Advisory: Cisco NX-OS Software Information Disclosure Vulnerability

Technical Appendix

CVSS Score
5.5/ 10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Probability
0.02%
Top 97% most exploited

Affected Systems

Cisco Nexus 3000 Series SwitchesCisco Nexus 9000 Series Switches (Standalone)Cisco UCS 6400 Series Fabric InterconnectsCisco UCS 6500 Series Fabric InterconnectsCisco UCS 9108 100G Fabric Interconnects

Affected Versions Detail

Product
Affected Versions
Fixed Version
Cisco NX-OS Software
Cisco
7.0(3)I4(x) - 10.5(3o)See Vendor Advisory
Cisco UCS Manager
Cisco
4.0(1a) - 4.3(6b)4.3(6c) or later
AttributeDetail
CWE IDCWE-532
Attack VectorLocal
CVSS v3.15.5 (Medium)
EPSS Score0.00016
Exploit StatusPoC Not Public (Logic Trivial)
ImpactConfidentiality High

MITRE ATT&CK Mapping

T1005Data from Local System
Collection
T1552.001Unsecured Credentials: Credentials in Files
Credential Access
T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-532
Information Exposure Through Log Files

Insertion of Sensitive Information into Log File

Known Exploits & Detection

N/ANo public exploit code available; exploit relies on standard system tools (grep/cat).

Vulnerability Timeline

Vulnerability Published by Cisco
2025-08-27
NVD Analysis Completed
2025-08-29

References & Sources

  • [1]Cisco Advisory cisco-sa-nxos-infodis-TEcTYSFG
  • [2]CWE-532: Insertion of Sensitive Information into Log File

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•43 minutes ago•CVE-2026-71308
8.1

CVE-2026-71308: Missing Authorization and Lifecycle Hijacking in Netflix Lemur

Netflix Lemur before 1.9.3 contains a missing authorization vulnerability (CWE-862, CWE-639) when handling certificate creation, upload, or modification. Authenticated non-read-only users can manipulate the replaces parameter to silence expiration notifications and hijack certificate rotation tasks for arbitrary targets, leading to unauthorized TLS certificate deployment and traffic interception.

Alon Barad
Alon Barad
2 views•7 min read
•about 2 hours ago•CVE-2026-71317
6.5

CVE-2026-71317: Missing Authorization in Netflix Lemur Allows Unauthorized Subordinate CA Creation

CVE-2026-71317 is a critical Broken Object-Level Authorization (BOLA) / Missing Authorization vulnerability in Netflix Lemur versions prior to 1.9.3. When the self-service authority creation option is enabled (ADMIN_ONLY_AUTHORITY_CREATION = False), Lemur allows authenticated non-read-only users to request the creation of a subordinate Certificate Authority (sub-CA) chained to any internal parent authority, even if the requesting user lacks administrative or usage permissions over that parent CA. This allows attackers to generate subordinate CAs signed by trusted root certificates, exposing private keys and compromising the organizational PKI trust chain.

Alon Barad
Alon Barad
3 views•7 min read
•about 3 hours ago•CVE-2026-71322
4.3

CVE-2026-71322: Missing Authorization Check in Netflix Lemur Certificate Export

Netflix Lemur, a TLS/SSL certificate management framework, contains a missing authorization check in its certificate export endpoint. Prior to version 1.9.3, the validation logic verifying whether a user had permission to export a certificate was incorrectly placed inside a block that executed only if the selected plugin required a private key. When an authenticated user attempted to export a certificate using a plugin that did not require the private key, the authorization check was bypassed, allowing unauthorized access to the public portions of the certificate and producing misleading audit logs.

Alon Barad
Alon Barad
3 views•6 min read
•about 4 hours ago•GHSA-JF24-8G2H-2WG7
7.2

GHSA-JF24-8G2H-2WG7: Remote Code Execution in LibreNMS AboutController via Binary Path Substitution

A critical security flaw in LibreNMS allows authenticated administrators to execute arbitrary commands by modifying the configured binary path for snmpget and accessing the About page. This occurs due to insufficient verification of the executable file's identity and integrity prior to executing it with shell_exec.

Amit Schendel
Amit Schendel
2 views•6 min read
•about 5 hours ago•GHSA-7CJ5-V4PP-V632
4.8

GHSA-7cj5-v4pp-v632: Stored Cross-Site Scripting in LibreNMS Graph Descriptions

LibreNMS versions prior to 26.7.0 are vulnerable to a stored Cross-Site Scripting (XSS) vulnerability. An authenticated administrator can inject arbitrary HTML or JavaScript into graph descriptions via specific administrative configuration endpoints. When another authenticated user views the affected graph, the unescaped payload executes within their browser context.

Alon Barad
Alon Barad
3 views•5 min read
•about 6 hours ago•GHSA-7GWW-X7FH-JF9J
8.1

GHSA-7GWW-X7FH-JF9J: SSRF-Driven Stored Cross-Site Scripting in LibreNMS Oxidized Integration

An injection vulnerability in LibreNMS's Oxidized integration component allows administrative or network-positioned attackers to achieve stored cross-site scripting (XSS). By setting a malicious oxidized.url endpoint, the server makes outbound queries and processes returned JSON fields containing malicious HTML or JavaScript. These payloads are outputted directly in the web UI without appropriate output encoding.

Amit Schendel
Amit Schendel
2 views•6 min read