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
    • 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-25400

CVE-2019-25400: IPFire 2.21 Core XSS Vulnerability

CVE-2019-25400 is a reflected cross-site scripting flaw in IPFire 2.21 Core Update 127 that allows attackers to inject malicious scripts via fwhosts.cgi. This article covers technical details, impact, and mitigations.

Published: February 20, 2026

CVE-2019-25400 Overview

CVE-2019-25400 is a reflected cross-site scripting (XSS) vulnerability affecting IPFire 2.21 Core Update 127. The vulnerability exists in the fwhosts.cgi script, which fails to properly sanitize user-supplied input across multiple parameters. This allows attackers to inject malicious JavaScript code that executes in the context of authenticated users' browsers, potentially leading to session hijacking, credential theft, or unauthorized actions on behalf of legitimate administrators.

Critical Impact

Attackers can exploit this XSS vulnerability to execute arbitrary JavaScript in authenticated users' browsers, potentially compromising firewall administrator sessions and enabling further attacks against network infrastructure.

Affected Products

  • IPFire 2.21 Core Update 127
  • IPFire firewall appliances running vulnerable fwhosts.cgi script

Discovery Timeline

  • 2026-02-18 - CVE-2019-25400 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2019-25400

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as reflected cross-site scripting. The fwhosts.cgi script in IPFire's web management interface processes user input from POST requests without adequate sanitization or output encoding.

Multiple parameters are vulnerable to script injection, including HOSTNAME, IP, SUBNET, NETREMARK, HOSTREMARK, newhost, grp_name, remark, SRV_NAME, SRV_PORT, SRVGRP_NAME, SRVGRP_REMARK, and updatesrvgrp. When an attacker crafts a malicious request containing JavaScript payloads in any of these parameters, the script reflects the unsanitized input back to the user's browser, causing the injected code to execute.

The attack requires user interaction, as the victim must be tricked into clicking a malicious link or submitting a crafted form while authenticated to the IPFire web interface.

Root Cause

The root cause of this vulnerability is inadequate input validation and output encoding in the fwhosts.cgi script. The CGI script directly incorporates user-supplied data into HTML responses without properly escaping special characters such as angle brackets (<, >), quotation marks, and other HTML metacharacters. This allows attackers to break out of the intended HTML context and inject executable script content.

Attack Vector

The attack vector is network-based and requires low privileges but active user interaction. An attacker can exploit this vulnerability by:

  1. Crafting a malicious POST request containing JavaScript payloads in one or more vulnerable parameters
  2. Convincing an authenticated IPFire administrator to click a link that triggers the malicious request
  3. The reflected script executes in the victim's browser session with the same privileges as the authenticated user

Successful exploitation could allow attackers to steal session cookies, perform actions as the administrator, modify firewall rules, or redirect users to malicious websites.

The vulnerability is documented in Exploit-DB #46344, which contains proof-of-concept details. Additional technical information is available in the VulnCheck Advisory for IPFire.

Detection Methods for CVE-2019-25400

Indicators of Compromise

  • Unusual POST requests to /cgi-bin/fwhosts.cgi containing JavaScript code or HTML tags in parameter values
  • Web server logs showing requests with encoded script content (e.g., %3Cscript%3E) in vulnerable parameters
  • Unexpected session activity or administrative actions following user access to suspicious links

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block XSS payloads in requests to fwhosts.cgi
  • Monitor HTTP POST requests for suspicious patterns including <script>, javascript:, event handlers like onerror=, and other XSS vectors
  • Review web server access logs for anomalous requests targeting the vulnerable CGI script with encoded special characters

Monitoring Recommendations

  • Enable verbose logging for the IPFire web management interface to capture full request parameters
  • Configure intrusion detection systems to alert on XSS attack signatures targeting CGI scripts
  • Establish baseline behavior for administrative sessions and alert on deviations such as unexpected source IPs or user agents

How to Mitigate CVE-2019-25400

Immediate Actions Required

  • Upgrade IPFire to a version newer than 2.21 Core Update 127 that includes proper input sanitization
  • Restrict access to the IPFire web management interface to trusted networks only
  • Implement a web application firewall to filter malicious input before it reaches the CGI script
  • Educate administrators about the risks of clicking untrusted links while authenticated to the firewall interface

Patch Information

Users should upgrade to a patched version of IPFire that addresses the XSS vulnerabilities in the fwhosts.cgi script. The latest releases can be obtained from the IPFire Official Website. Review the IPFire ISO Release page for version history and apply the most current security updates.

Workarounds

  • Limit access to the IPFire web interface to specific trusted IP addresses or networks using firewall rules
  • Use a dedicated browser profile or session for IPFire administration that is not used for general web browsing
  • Consider disabling the web interface entirely and managing IPFire via SSH command line if XSS concerns cannot be otherwise mitigated
bash
# Example: Restrict web interface access to management network only
# Add to /etc/sysconfig/firewall.local or equivalent
iptables -A INPUT -p tcp --dport 444 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 444 -j DROP

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechIpfire

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.03%

  • 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
  • IPFire ISO Release

  • Exploit-DB #46344

  • IPFire Official Website

  • VulnCheck Advisory for IPFire
  • Related CVEs
  • CVE-2019-25397: IPFire XSS Vulnerability in hosts.cgi

  • CVE-2019-25396: IPFire XSS Vulnerability via POST

  • CVE-2019-25399: IPFire Stored XSS Vulnerability

  • CVE-2019-25398: IPFire ovpnmain.cgi 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