CVE-2020-18664:Cross Site Scripting (XSS) vulnerability in WebPort <=1.19.1 via the connection name parameter in type-conn.

splash
Back

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:

  1. Upgrade WebPort to version 1.19.2 or later, which contains fixes for this vulnerability.
  2. 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
  3. Consider implementing Content Security Policy (CSP) headers to mitigate the impact of XSS vulnerabilities
  4. Regularly audit and test web applications for security vulnerabilities, particularly in areas handling user input

References

  1. 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
  2. Seebug Vulnerability Database: https://www.seebug.org/vuldb/ssvid-97994
  3. Common Weakness Enumeration: CWE-79 (Improper Neutralization of Input During Web Page Generation)

Industry ExposureMost to least
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.

  1. Accommodation & Food Services
    Accommodation & Food Services
  2. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  3. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  4. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  5. Construction
    Construction
  6. Educational Services
    Educational Services
  7. Finance and Insurance
    Finance and Insurance
  8. Health Care & Social Assistance
    Health Care & Social Assistance
  9. Information
    Information
  10. Management of Companies & Enterprises
    Management of Companies & Enterprises
  11. Manufacturing
    Manufacturing
  12. Mining
    Mining
  13. Other Services (except Public Administration)
    Other Services (except Public Administration)
  14. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  15. Public Administration
    Public Administration
  16. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  17. Retail Trade
    Retail Trade
  18. Transportation & Warehousing
    Transportation & Warehousing
  19. Utilities
    Utilities
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background
Armis Vulnerability Intelligence Database