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
    • 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-2019-25377

CVE-2019-25377: OPNsense 19.1 XSS Vulnerability

CVE-2019-25377 is a reflected XSS vulnerability in OPNsense 19.1 that enables attackers to inject malicious scripts via the system_advanced_sysctl.php endpoint. This article covers technical details, affected versions, and mitigation.

Published: February 20, 2026

CVE-2019-25377 Overview

CVE-2019-25377 is a reflected cross-site scripting (XSS) vulnerability in OPNsense 19.1 that affects the system_advanced_sysctl.php endpoint. This vulnerability allows attackers to inject malicious JavaScript code via the value parameter, which is then executed in the context of authenticated user sessions. Attackers can craft specially constructed POST requests containing script payloads to exploit this flaw, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of legitimate users.

Critical Impact

Attackers can execute arbitrary JavaScript in authenticated OPNsense administrator sessions, potentially leading to complete firewall compromise through session hijacking or credential theft.

Affected Products

  • OPNsense 19.1

Discovery Timeline

  • 2026-02-15 - CVE-2019-25377 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2019-25377

Vulnerability Analysis

This reflected XSS vulnerability exists due to insufficient input sanitization in the system_advanced_sysctl.php endpoint within OPNsense 19.1. The endpoint accepts user-supplied input through the value parameter without properly encoding or validating it before reflecting it back in the HTTP response. This allows attackers to inject arbitrary JavaScript code that executes within the security context of the victim's browser session.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), which encompasses cross-site scripting flaws. When exploited against an authenticated administrator, the attacker gains the ability to perform any action the administrator could perform, including modifying firewall rules, creating new administrative accounts, or exfiltrating sensitive configuration data.

Root Cause

The root cause of this vulnerability is improper input validation and output encoding in the system_advanced_sysctl.php script. The value parameter is accepted from POST requests and reflected in the page response without adequate sanitization. Specifically, the application fails to properly escape or encode special HTML characters such as <, >, ", and ' before including user input in the rendered page content. This allows script tags and JavaScript event handlers to be injected and executed by the browser.

Attack Vector

The attack requires an authenticated user to be tricked into submitting a malicious POST request to the vulnerable endpoint. This is typically achieved through social engineering tactics such as:

  1. Crafting a malicious HTML page that automatically submits a form to the target OPNsense instance when visited
  2. Embedding the malicious form in a phishing email or compromised website
  3. Using CSRF techniques in conjunction with the XSS payload to maximize impact

When the victim visits the attacker-controlled page while authenticated to OPNsense, the malicious JavaScript payload executes in the context of their session. The attack requires network access to the OPNsense management interface and depends on user interaction to trigger the payload.

The vulnerability is exploited via specially crafted POST requests to the system_advanced_sysctl.php endpoint. The value parameter accepts script payloads that are reflected without sanitization. Detailed technical information and proof-of-concept code is available in the Exploit-DB #46351 advisory.

Detection Methods for CVE-2019-25377

Indicators of Compromise

  • Unusual POST requests to system_advanced_sysctl.php containing <script> tags or JavaScript event handlers in the value parameter
  • HTTP access logs showing encoded script payloads (%3Cscript%3E, %22onclick%3D) targeting the sysctl endpoint
  • Browser console errors or unexpected JavaScript execution on OPNsense administrative pages
  • Administrative actions logged without corresponding legitimate user activity

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block requests containing common XSS payload patterns targeting the value parameter
  • Monitor HTTP POST requests to system_advanced_sysctl.php for suspicious characters or encoded script content
  • Deploy intrusion detection signatures to identify XSS attack patterns in network traffic to OPNsense management interfaces
  • Review OPNsense access logs for unusual patterns or requests from unexpected source IP addresses

Monitoring Recommendations

  • Enable detailed logging for all administrative interface access on OPNsense appliances
  • Configure SIEM alerts for requests containing script injection patterns targeting firewall management interfaces
  • Monitor for unauthorized configuration changes that may indicate successful exploitation
  • Implement network segmentation monitoring to detect unexpected access to management interfaces

How to Mitigate CVE-2019-25377

Immediate Actions Required

  • Upgrade OPNsense to a version newer than 19.1 that includes the security fix
  • Restrict access to the OPNsense management interface to trusted networks only using firewall rules
  • Implement network segmentation to limit exposure of administrative interfaces
  • Enable Content Security Policy (CSP) headers if supported by the OPNsense version

Patch Information

OPNsense users should upgrade to a version newer than 19.1 to address this vulnerability. The latest stable release can be obtained from the Official OPNsense Website. Additional discussion regarding this vulnerability can be found in the OPNsense Forum Discussion. The Vulncheck OPNsense XSS Advisory provides additional technical details about the vulnerability.

Workarounds

  • Restrict management interface access to localhost or specific trusted IP addresses using firewall rules
  • Implement a reverse proxy with WAF capabilities in front of the OPNsense management interface to filter malicious requests
  • Disable remote administrative access when not actively needed for management tasks
  • Train administrators to be cautious of suspicious links and avoid clicking untrusted URLs while authenticated to OPNsense
bash
# Configuration example - Restrict management interface access
# Add these rules to your OPNsense firewall to limit administrative access

# Allow management access only from trusted management network
# Navigate to: Firewall > Rules > LAN (or appropriate interface)
# Create rule: Pass | IPv4 | TCP | Source: Management_Network | Destination: This Firewall | Port: 443
# Create rule: Block | IPv4 | TCP | Source: Any | Destination: This Firewall | Port: 443

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechOpnsense

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • OPNsense Forum Discussion

  • Official OPNsense Website

  • Exploit-DB #46351

  • Vulncheck OPNsense XSS Advisory
  • Related CVEs
  • CVE-2019-25368: OPNsense 19.1 XSS Vulnerability

  • CVE-2019-25369: OPNsense Stored XSS Vulnerability

  • CVE-2019-25370: OPNsense 19.1 XSS Vulnerability

  • CVE-2019-25371: OPNsense 19.1 XSS 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