The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-15862

CVE-2020-15862: Net-SNMP Privilege Escalation Vulnerability

CVE-2020-15862 is a privilege escalation vulnerability in Net-SNMP through version 5.8 that allows attackers with SNMP WRITE access to execute commands as root. This article covers technical details, impact, and mitigation.

Published: March 4, 2026

CVE-2020-15862 Overview

CVE-2020-15862 is a privilege escalation vulnerability affecting Net-SNMP through version 5.8. The vulnerability stems from improper privilege management in the SNMP EXTEND MIB implementation, which allows authenticated users with SNMP WRITE access to execute arbitrary commands with root privileges on affected systems.

The vulnerability exists because the EXTEND MIB was writable by default, enabling any user with SNMP write permissions to configure and execute arbitrary shell commands. Since the SNMP daemon typically runs with elevated privileges, these commands execute as root, providing complete system compromise.

Critical Impact

Authenticated attackers with SNMP WRITE access can achieve full root-level command execution on vulnerable systems, leading to complete system compromise.

Affected Products

  • Net-SNMP through version 5.8
  • Canonical Ubuntu Linux 12.04, 14.04 ESM, 16.04 ESM, 18.04 ESM, 20.04 LTS
  • NetApp Cloud Backup, HCI Management Node, SMI-S Provider, and SolidFire

Discovery Timeline

  • 2020-08-20 - CVE-2020-15862 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-15862

Vulnerability Analysis

This vulnerability is classified as CWE-269 (Improper Privilege Management). The root cause lies in the Net-SNMP daemon's handling of the EXTEND MIB, which provides a mechanism for administrators to define and execute external programs through SNMP operations.

The EXTEND MIB was designed to allow system administrators to extend SNMP functionality by running custom scripts or commands. However, the default configuration allowed SNMP WRITE operations to modify this MIB, meaning any authenticated user with write access could inject arbitrary commands. Since the snmpd daemon typically runs as root to access system information, any commands executed through the EXTEND MIB inherit these root privileges.

An attacker exploiting this vulnerability would need valid SNMP credentials with write access to the target system. Once authenticated, they can use standard SNMP SET operations to configure a new extension entry with malicious commands, then trigger execution through the MIB interface.

Root Cause

The vulnerability originates from a design decision to make the EXTEND MIB writable by default. The agent/mibgroup/agent/extend.c file did not enforce read-only access to the EXTEND MIB tables, allowing any authenticated user with SNMP WRITE permissions to configure arbitrary command execution entries. This represents a failure to apply the principle of least privilege, as most deployments do not require remote SNMP users to modify extension configurations.

Attack Vector

The attack requires local access to the system or network-level access to the SNMP service (typically UDP port 161). An attacker must possess valid SNMP credentials with write access. The exploitation flow involves:

  1. Authenticate to the SNMP daemon using valid credentials with write access
  2. Use SNMP SET operations to create or modify an EXTEND MIB entry
  3. Configure the entry to execute arbitrary shell commands
  4. Trigger execution of the configured command
  5. Commands execute with root privileges, achieving full system compromise

The following patch was applied to address this vulnerability by making the EXTEND MIB read-only by default:

c
 #define SHELLCOMMAND 3
 #endif
 
+/*  This mib is potentially dangerous to turn on by default, since it
+ *  allows arbitrary commands to be set by anyone with SNMP WRITE
+ *  access to the MIB table.  If all of your users are "root" level
+ *  users, then it may be safe to turn on. */
+#define ENABLE_EXTEND_WRITE_ACCESS 0
+
 netsnmp_feature_require(extract_table_row_data);
 netsnmp_feature_require(table_data_delete_table);
 #ifndef NETSNMP_NO_WRITE_SUPPORT

Source: GitHub Net-SNMP Commit

Detection Methods for CVE-2020-15862

Indicators of Compromise

  • Unexpected modifications to EXTEND MIB entries in SNMP configurations
  • Unusual process execution spawned by the snmpd daemon process
  • SNMP SET operations targeting OIDs within the EXTEND MIB namespace (.1.3.6.1.4.1.8072.1.3.2)
  • Unexpected commands or scripts configured in /etc/snmp/snmpd.conf extend directives

Detection Strategies

  • Monitor SNMP traffic for SET operations targeting the EXTEND MIB OID tree
  • Implement file integrity monitoring on SNMP configuration files and extension scripts
  • Review snmpd process child spawning activity for unexpected command execution
  • Audit SNMP user accounts and their assigned access levels, flagging unnecessary write permissions

Monitoring Recommendations

  • Enable detailed SNMP daemon logging to capture all SET operations
  • Deploy network monitoring to detect SNMP write operations from unexpected sources
  • Implement process execution monitoring on systems running snmpd to detect suspicious child processes
  • Configure alerts for modifications to Net-SNMP configuration files

How to Mitigate CVE-2020-15862

Immediate Actions Required

  • Update Net-SNMP to the latest patched version immediately
  • Review and restrict SNMP user accounts, removing unnecessary write permissions
  • Audit existing EXTEND MIB configurations for any unauthorized or suspicious entries
  • Implement network segmentation to limit SNMP access to authorized management systems only

Patch Information

The vulnerability has been addressed by Net-SNMP maintainers through a patch that disables write access to the EXTEND MIB by default. The fix introduces the ENABLE_EXTEND_WRITE_ACCESS compile-time flag set to 0, requiring explicit opt-in for write access functionality.

Security patches are available from multiple sources:

  • GitHub Net-SNMP Commit
  • Debian Net-SNMP Commit
  • Ubuntu Security Notice USN-4471-1
  • Gentoo GLSA 202008-12
  • NetApp Security Advisory

Workarounds

  • Disable SNMP write access entirely if not required for operations
  • Configure SNMP ACLs to restrict write access to trusted management hosts only
  • Remove or comment out any extend directives in snmpd.conf that are not essential
  • Run snmpd with reduced privileges using the -u flag to specify a non-root user where possible
bash
# Configuration example - Restrict SNMP write access in snmpd.conf
# Allow read-only access from management network
rocommunity public 10.0.0.0/24

# Disable write access entirely (remove or comment out rwcommunity lines)
# rwcommunity private

# If write access is required, restrict to specific trusted hosts
# rwcommunity private 10.0.0.5

# Review and remove unnecessary extend directives
# extend test /usr/bin/example_script

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechNet Snmp

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-269
  • Technical References
  • Debian Bug Report #965166

  • Debian CVE-2020-15862 Tracker

  • Gentoo GLSA 202008-12

  • NetApp Security Advisory

  • Ubuntu Security Notice USN-4471-1
  • Vendor Resources
  • GitHub Net-SNMP Commit

  • Debian Net-SNMP Commit
  • Related CVEs
  • CVE-2026-28775: IDC SFX Series SNMP RCE Vulnerability

  • CVE-2025-68615: Net-SNMP Buffer Overflow Vulnerability

  • CVE-2022-24806: Net-SNMP Input Validation Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English