CVE-2023-24322:Reflected XSS vulnerability in mojoPortal v2.7.0.0 FileDialog.aspx component

splash
Back

Description Preview

A reflected cross-site scripting (XSS) vulnerability exists in mojoPortal version 2.7.0.0. The vulnerability is present in the FileDialog.aspx component, where user input from the "ed" and "tbi" parameters is not properly sanitized before being reflected back to users. This allows attackers to inject and execute arbitrary web scripts or HTML in a victim's browser session, potentially leading to session hijacking, credential theft, or other client-side attacks.

Overview

This vulnerability (CVE-2023-24322) affects mojoPortal, an open-source content management system. The issue is classified as CWE-79 (Cross-site Scripting) and exists in the FileDialog.aspx component of mojoPortal version 2.7.0.0. When a user accesses a specially crafted URL containing malicious JavaScript code in either the "ed" or "tbi" parameters, the application reflects this input back to the user's browser without proper encoding or sanitization. This allows the injected code to execute in the context of the victim's browser session, potentially allowing attackers to steal cookies, session tokens, or perform actions on behalf of the victim.

Remediation

To address this vulnerability, administrators should:

  1. Update to the latest version of mojoPortal if a patched version is available
  2. Implement proper input validation and output encoding for the affected parameters
  3. Consider implementing Content Security Policy (CSP) headers to mitigate XSS attacks
  4. If updates are not immediately available, consider implementing a web application firewall (WAF) rule to filter potentially malicious requests targeting the vulnerable parameters
  5. Review the application's handling of user input across all components to identify similar vulnerabilities

References

  1. Vulnerability details and proof of concept: https://github.com/blakduk/Advisories/blob/main/Mojoportal/README.md
  2. MojoPortal GitHub repository: https://github.com/i7MEDIA/mojoportal/
  3. MojoPortal official website: https://www.mojoportal.com/

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