Description Preview
A stored Cross-Site Scripting (XSS) vulnerability has been identified in WebPort versions 1.19.1 and earlier. The vulnerability exists in the connection name parameter within the type-conn functionality. This allows attackers to inject malicious scripts that are stored on the server and executed when other users access the affected page. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation).
Overview
This vulnerability (CVE-2020-18664) affects the WebPort application version 1.19.1 and earlier. The issue occurs in the access/setup/type-conn functionality where user input in the connection name parameter is not properly sanitized before being stored and later displayed to users. An attacker can exploit this vulnerability by crafting a malicious connection name containing JavaScript code. When other users, particularly administrators, view the connection list or details, the injected script executes in their browser context, potentially allowing the attacker to steal session cookies, perform actions on behalf of the victim, or redirect users to malicious websites.
Remediation
To remediate this vulnerability, the following actions are recommended:
- Upgrade WebPort to version 1.19.2 or later, which contains fixes for this vulnerability.
- If upgrading is not immediately possible, implement input validation and output encoding for the connection name parameter:
- Validate input to ensure it contains only expected characters
- Apply proper HTML encoding to user-supplied data before rendering it in web pages
- Consider implementing Content Security Policy (CSP) headers to mitigate the impact of XSS vulnerabilities
- Regularly audit and test web applications for security vulnerabilities, particularly in areas handling user input
References
- GitHub Advisory: https://github.com/LoRexxar/CVE_Request/blob/master/web%20port%20mul%20vuls%20before%20v1.19.1/web%20port%20mul%20vuls%20before%20v1.19.1.md#stored-xss--in-accesssetuptype-conn
- Seebug Vulnerability Database: https://www.seebug.org/vuldb/ssvid-97994
- Common Weakness Enumeration: CWE-79 (Improper Neutralization of Input During Web Page Generation)
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- ConstructionConstruction
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- Health Care & Social AssistanceHealth Care & Social Assistance
- InformationInformation
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- ManufacturingManufacturing
- MiningMining
- Other Services (except Public Administration)Other Services (except Public Administration)
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Public AdministrationPublic Administration
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Retail TradeRetail Trade
- Transportation & WarehousingTransportation & Warehousing
- UtilitiesUtilities
- Wholesale TradeWholesale Trade