Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-25384

CVE-2019-25384: Smoothwall Express XSS Vulnerability

CVE-2019-25384 is a reflected cross-site scripting flaw in Smoothwall Express 3.1-SP4 that allows attackers to inject malicious scripts via portfw.cgi parameters. This article covers technical details, impact, and mitigation.

Published: February 20, 2026

CVE-2019-25384 Overview

CVE-2019-25384 is a reflected Cross-Site Scripting (XSS) vulnerability affecting Smoothwall Express 3.1-SP4. The vulnerability exists within the portfw.cgi script, which fails to properly validate and sanitize user-supplied input across multiple parameters. Attackers can exploit this flaw by submitting specially crafted POST requests containing malicious JavaScript payloads, which are then reflected back to users and executed in their browser context.

Critical Impact

Successful exploitation allows attackers to execute arbitrary JavaScript in the context of authenticated user sessions, potentially leading to session hijacking, credential theft, or unauthorized actions on the Smoothwall firewall appliance.

Affected Products

  • Smoothwall Express 3.1-SP4-polar-x86_64-update9
  • Smoothwall Express 3.1 with vulnerable portfw.cgi script

Discovery Timeline

  • 2026-02-16 - CVE-2019-25384 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2019-25384

Vulnerability Analysis

The vulnerability resides in the port forwarding configuration interface (portfw.cgi) of Smoothwall Express. This CGI script processes user input from multiple form parameters without implementing proper output encoding or input validation. When an attacker submits a POST request containing JavaScript code in any of the vulnerable parameters, the script reflects this input directly into the HTML response without sanitization, causing the malicious script to execute in the victim's browser.

The affected parameters include EXT, SRC_PORT_SEL, SRC_PORT, DEST_IP, DEST_PORT_SEL, and COMMENT. Each of these parameters accepts arbitrary input that is subsequently rendered in the web interface, creating multiple injection points for potential exploitation.

Root Cause

The root cause is insufficient input validation and output encoding in the portfw.cgi script (CWE-79: Improper Neutralization of Input During Web Page Generation). The script fails to sanitize user-supplied data before incorporating it into dynamically generated HTML content, allowing attackers to inject and execute arbitrary client-side scripts.

Attack Vector

The attack is conducted over the network and requires user interaction. An attacker must craft a malicious URL or form submission containing JavaScript payloads in one or more of the vulnerable parameters. The attacker then needs to convince an authenticated administrator to click the malicious link or submit the crafted form. Upon doing so, the injected script executes with the privileges of the authenticated user, potentially allowing the attacker to:

  • Steal session cookies and authentication tokens
  • Perform administrative actions on behalf of the user
  • Modify firewall rules and port forwarding configurations
  • Redirect users to malicious websites
  • Capture keystrokes and form data

Technical details and proof-of-concept code for this vulnerability can be found in the Exploit-DB #46333 entry. The attack leverages reflected XSS where malicious payloads submitted via POST requests to the portfw.cgi endpoint are echoed back to the user without proper sanitization.

Detection Methods for CVE-2019-25384

Indicators of Compromise

  • Unexpected POST requests to /cgi-bin/portfw.cgi containing script tags or JavaScript event handlers in form parameters
  • Web server access logs showing URL-encoded JavaScript payloads in the EXT, SRC_PORT, DEST_IP, DEST_PORT_SEL, or COMMENT parameters
  • Browser-based alerts or unusual redirect behavior when accessing Smoothwall administrative interfaces
  • Suspicious session activity or unauthorized configuration changes following administrator access

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block XSS payloads in POST request bodies targeting portfw.cgi
  • Implement Content Security Policy (CSP) headers to restrict inline script execution and mitigate XSS impact
  • Monitor web server logs for patterns consistent with XSS attempts, including <script> tags and JavaScript event handlers
  • Configure intrusion detection systems (IDS) to alert on suspicious CGI script requests containing encoded special characters

Monitoring Recommendations

  • Enable verbose logging on the Smoothwall appliance to capture detailed request parameters
  • Review administrator access logs regularly for unusual activity patterns or access from unexpected IP addresses
  • Set up automated alerts for failed or anomalous authentication attempts following potential XSS exploitation
  • Monitor for changes to firewall configurations that may indicate post-exploitation activity

How to Mitigate CVE-2019-25384

Immediate Actions Required

  • Restrict access to the Smoothwall administrative interface to trusted networks only using IP-based access controls
  • Implement network segmentation to limit exposure of the management interface
  • Educate administrators about the risks of clicking suspicious links while authenticated to the Smoothwall interface
  • Deploy a reverse proxy or WAF in front of the Smoothwall interface to filter malicious requests

Patch Information

Users should check the Smoothwall Official Website for any available security updates or patches addressing this vulnerability. Review the VulnCheck Smoothwall Advisory for additional remediation guidance.

Workarounds

  • Implement strict IP-based access controls to limit administrative interface access to trusted management networks only
  • Use a web proxy or load balancer with XSS filtering capabilities in front of the Smoothwall administrative interface
  • Disable or restrict access to the portfw.cgi script if port forwarding configuration is not actively required
  • Consider migrating to a more recently maintained firewall solution if official patches are not available
bash
# Example: Restrict administrative access by IP using iptables
# Allow management access only from trusted network
iptables -A INPUT -p tcp --dport 81 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 81 -j DROP

# Example: Add CSP header via Apache configuration
# Add to httpd.conf or .htaccess
Header set Content-Security-Policy "default-src 'self'; script-src 'self'"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechSmoothwall

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/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
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Smoothwall Official Website

  • Exploit-DB #46333

  • VulnCheck Smoothwall Advisory
  • Related CVEs
  • CVE-2026-26352: Smoothwall Express Stored XSS Vulnerability

  • CVE-2026-27508: Smoothwall Express XSS Vulnerability

  • CVE-2019-25382: Smoothwall Express XSS Vulnerability

  • CVE-2019-25378: Smoothwall Express 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