A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI 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-3458

CVE-2024-3458: Netentsec Security Gateway SQLi Flaw

CVE-2024-3458 is a critical SQL injection vulnerability in Netentsec NS-ASG Application Security Gateway 6.3 affecting the TunnelId parameter in add_ikev2.php. This article covers technical details, impact, and mitigation.

Published: April 8, 2026

CVE-2024-3458 Overview

A critical SQL injection vulnerability has been identified in Netentsec NS-ASG Application Security Gateway version 6.3. This vulnerability exists in the /admin/add_ikev2.php file, where improper handling of the TunnelId parameter allows attackers to inject malicious SQL commands. The vulnerability can be exploited remotely without authentication, potentially allowing unauthorized access to sensitive data, database manipulation, and complete system compromise.

Critical Impact

This SQL injection vulnerability enables remote unauthenticated attackers to execute arbitrary SQL commands against the underlying database, potentially leading to data exfiltration, unauthorized administrative access, and full system compromise of the security gateway appliance.

Affected Products

  • Netentsec NS-ASG Application Security Gateway 6.3
  • Netentsec Application Security Gateway (version 6.3)

Discovery Timeline

  • 2024-04-08 - CVE-2024-3458 published to NVD
  • 2025-02-06 - Last updated in NVD database

Technical Details for CVE-2024-3458

Vulnerability Analysis

This vulnerability represents a classic SQL injection flaw (CWE-89) in the administrative interface of the Netentsec NS-ASG Application Security Gateway. The vulnerable endpoint /admin/add_ikev2.php accepts the TunnelId parameter without proper input validation or parameterized queries, allowing attackers to manipulate SQL queries executed by the application.

The vulnerability is particularly severe because it exists in an administrative function related to IKEv2 tunnel configuration, suggesting that successful exploitation could affect VPN infrastructure managed by the gateway. The attack requires no authentication and can be performed remotely over the network, making it highly accessible to potential attackers.

Root Cause

The root cause of this vulnerability is improper input validation and the lack of parameterized queries or prepared statements when handling the TunnelId parameter. User-supplied input is directly concatenated into SQL queries without sanitization, allowing attackers to break out of the intended query structure and inject arbitrary SQL commands.

Attack Vector

The attack can be initiated remotely against the administrative interface of the NS-ASG Application Security Gateway. An attacker can craft malicious HTTP requests to the /admin/add_ikev2.php endpoint with specially crafted TunnelId parameter values containing SQL injection payloads.

The vulnerability allows for various SQL injection techniques including:

  • Union-based injection to extract data from other database tables
  • Boolean-based blind injection to infer database contents
  • Time-based blind injection using database sleep functions
  • Stacked queries (depending on database configuration) for data modification or command execution

A proof-of-concept has been publicly disclosed, demonstrating the exploitation methodology. Technical details are available in the GitHub PoC Repository.

Detection Methods for CVE-2024-3458

Indicators of Compromise

  • Unusual SQL error messages in web server logs originating from /admin/add_ikev2.php
  • HTTP requests to /admin/add_ikev2.php containing SQL syntax characters such as single quotes, double dashes, UNION, SELECT, or OR 1=1 patterns in the TunnelId parameter
  • Unexpected database queries or database performance anomalies
  • Evidence of data exfiltration or unauthorized database access in audit logs

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect SQL injection patterns targeting the /admin/add_ikev2.php endpoint
  • Monitor HTTP request logs for suspicious payloads containing SQL injection signatures in the TunnelId parameter
  • Implement database activity monitoring to detect anomalous queries from the application
  • Use SentinelOne Singularity to detect and block exploitation attempts through behavioral analysis

Monitoring Recommendations

  • Enable detailed logging for all requests to the NS-ASG administrative interface
  • Configure alerting for SQL error patterns in application and database logs
  • Monitor for unusual outbound network connections from the gateway that may indicate data exfiltration
  • Implement network segmentation monitoring to detect lateral movement following potential compromise

How to Mitigate CVE-2024-3458

Immediate Actions Required

  • Restrict network access to the administrative interface (/admin/) to trusted IP addresses only
  • Implement a Web Application Firewall (WAF) with SQL injection detection rules in front of the vulnerable endpoint
  • Review database access logs for signs of exploitation
  • Consider temporarily disabling the affected functionality until a patch is available

Patch Information

No official vendor patch information has been published in the available CVE data. Organizations should contact Netentsec directly for security updates and patch availability. Monitor the VulDB entry for updates on remediation guidance.

Workarounds

  • Implement network-level access controls to limit access to the administrative interface to authorized IP ranges only
  • Deploy a reverse proxy or WAF with strict input validation rules for the TunnelId parameter
  • If possible, disable or restrict access to the /admin/add_ikev2.php endpoint until a vendor patch is available
  • Implement database-level security controls to minimize the impact of successful SQL injection attacks
bash
# Example: Restrict admin interface access using iptables
# Allow only trusted management network
iptables -A INPUT -p tcp --dport 443 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

# Alternative: Use nginx location block to restrict access
# location /admin/ {
#     allow 10.0.0.0/24;
#     deny all;
# }

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechNetentsec Application Security Gateway

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.05%

  • 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-89
  • Technical References
  • GitHub PoC Repository

  • VulDB Ctiid #259714

  • VulDB #259714

  • VulDB Submission #312186
  • Related CVEs
  • CVE-2024-3041: Netentsec Security Gateway SQL Injection

  • CVE-2024-3040: Netentsec ASG SQL Injection Vulnerability

  • CVE-2024-2647: Netentsec ASG SQL Injection Vulnerability

  • CVE-2024-5590: Netentsec Security Gateway SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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