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-2024-0535

CVE-2024-0535: Tenda PA6 Buffer Overflow Vulnerability

CVE-2024-0535 is a critical stack-based buffer overflow in Tenda PA6 firmware that allows remote attackers to exploit the httpd service. This post covers technical details, affected versions, impact, and mitigation.

Published: April 8, 2026

CVE-2024-0535 Overview

A critical stack-based buffer overflow vulnerability has been identified in Tenda PA6 firmware version 1.0.1.21. This vulnerability exists within the cgiPortMapAdd function located in the /portmap component of the httpd service. The flaw allows attackers to manipulate the groupName argument, leading to a stack-based buffer overflow condition that can be exploited remotely without authentication.

The exploit for this vulnerability has been publicly disclosed, significantly increasing the risk of active exploitation. The vendor (Tenda) was contacted regarding this security issue but did not provide any response, leaving affected devices potentially unpatched and vulnerable.

Critical Impact

This remotely exploitable buffer overflow vulnerability allows unauthenticated attackers to potentially achieve complete system compromise on affected Tenda PA6 devices, including arbitrary code execution with device-level privileges.

Affected Products

  • Tenda PA6 Firmware version 1.0.1.21
  • Tenda PA6 Hardware devices running vulnerable firmware
  • Tendacn PA6 series routers

Discovery Timeline

  • 2024-01-15 - CVE-2024-0535 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-0535

Vulnerability Analysis

This vulnerability is classified as CWE-121 (Stack-based Buffer Overflow), a memory corruption flaw that occurs when the cgiPortMapAdd function fails to properly validate the length of user-supplied input for the groupName parameter. The affected function resides in the httpd component, which handles HTTP requests to the /portmap endpoint on the device.

Stack-based buffer overflows are particularly dangerous in embedded devices like routers because they often lack modern memory protection mechanisms such as Address Space Layout Randomization (ASLR) or stack canaries. This makes exploitation more reliable and increases the likelihood of successful arbitrary code execution.

The network-accessible nature of this vulnerability means any attacker who can reach the device's web interface can attempt exploitation without requiring any prior authentication or user interaction.

Root Cause

The root cause of this vulnerability is improper input validation within the cgiPortMapAdd function. When processing HTTP requests to the /portmap endpoint, the function copies the user-supplied groupName parameter into a fixed-size stack buffer without properly checking the input length against the allocated buffer size. This allows an attacker to provide an overly long groupName value that exceeds the buffer boundaries, overwriting adjacent stack memory including the return address.

Attack Vector

The attack is network-based and can be launched remotely against any Tenda PA6 device exposing its web management interface. An attacker crafts a malicious HTTP request to the /portmap endpoint containing an oversized groupName parameter. When the cgiPortMapAdd function processes this request, the buffer overflow occurs, potentially allowing the attacker to hijack program execution.

Successful exploitation could enable an attacker to execute arbitrary code with the privileges of the httpd process, typically root on embedded devices. This could lead to complete device compromise, including the ability to modify device configuration, intercept network traffic, or use the device as a pivot point for further attacks within the network.

The vulnerability does not require authentication, and since the exploit has been publicly disclosed via the GitHub PoC Repository, the barrier to exploitation is significantly lowered.

Detection Methods for CVE-2024-0535

Indicators of Compromise

  • Unusual or malformed HTTP requests to the /portmap endpoint on Tenda PA6 devices
  • HTTP requests containing abnormally long groupName parameter values
  • Unexpected crashes or restarts of the httpd service on affected devices
  • Suspicious network connections originating from the Tenda PA6 device

Detection Strategies

  • Implement network intrusion detection rules to identify HTTP requests with oversized parameters targeting the /portmap endpoint
  • Monitor for anomalous traffic patterns to and from Tenda PA6 device management interfaces
  • Deploy deep packet inspection to detect exploitation attempts containing buffer overflow payloads
  • Audit device logs for httpd crashes or segmentation faults that may indicate exploitation attempts

Monitoring Recommendations

  • Restrict access to the device web management interface to trusted administrative networks only
  • Implement logging for all HTTP requests to the management interface
  • Set up alerts for any access to the /portmap endpoint from non-administrative sources
  • Monitor device behavior for signs of compromise such as unexpected configuration changes or outbound connections

How to Mitigate CVE-2024-0535

Immediate Actions Required

  • Disable remote access to the Tenda PA6 web management interface if not required
  • Place affected devices behind a firewall and restrict access to the management interface to trusted IP addresses only
  • Monitor devices for signs of compromise and consider replacing devices with models from vendors with active security response programs
  • Segment network to isolate IoT and network devices from critical systems

Patch Information

No vendor patch is currently available. The vendor (Tenda) was contacted about this vulnerability but did not respond. Users should implement workarounds and consider replacing affected devices with alternatives from vendors who provide timely security updates.

Additional technical information is available through the following resources:

  • GitHub PoC Repository
  • VulDB CTI ID #250705
  • VulDB #250705

Workarounds

  • Disable the web management interface entirely if device administration is not required
  • Use network ACLs or firewall rules to restrict access to the management interface (port 80/443) from untrusted networks
  • Implement a VPN requirement for any remote device management needs
  • Consider replacing the device with a model from a vendor with active security support and patch management
bash
# Example firewall rules to restrict access to Tenda PA6 management interface
# Block external access to web management ports
iptables -A FORWARD -d <PA6_IP> -p tcp --dport 80 -j DROP
iptables -A FORWARD -d <PA6_IP> -p tcp --dport 443 -j DROP

# Allow only trusted admin network
iptables -A FORWARD -s <ADMIN_NETWORK> -d <PA6_IP> -p tcp --dport 80 -j ACCEPT

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechTendacn Pa6

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Technical References
  • GitHub PoC Repository

  • VulDB CTI ID #250705

  • VulDB #250705
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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