CVE-2021-30213:Unauthenticated Reflected XSS in Knowage Suite 7.3

splash
Back

Description Preview

Knowage Suite 7.3 contains a reflected cross-site scripting (XSS) vulnerability that can be exploited without authentication. The vulnerability exists in the '/servlet/AdapterHTTP' endpoint where the 'targetService' parameter is not properly sanitized before being reflected back to users. This allows attackers to inject malicious JavaScript code that executes in victims' browsers when they visit specially crafted URLs.

Overview

This vulnerability (CVE-2021-30213) is a reflected cross-site scripting (XSS) issue in Knowage Suite 7.3, an open-source business intelligence and analytics platform. The vulnerability is particularly severe because it doesn't require authentication to exploit, making it accessible to unauthenticated attackers. When exploited, the vulnerability allows attackers to execute arbitrary JavaScript code in the context of the victim's browser session. This could lead to cookie theft, session hijacking, credential harvesting, or other client-side attacks. The vulnerable component is the '/servlet/AdapterHTTP' endpoint which improperly handles user input from the 'targetService' parameter.

Remediation

  1. Update Knowage Suite to the latest version that contains a fix for this vulnerability.
  2. If immediate updating is not possible, implement the following mitigations:
    • Configure a Web Application Firewall (WAF) to filter malicious requests targeting the vulnerable parameter.
    • Implement Content Security Policy (CSP) headers to restrict execution of unauthorized scripts.
    • Consider using input validation at the proxy or load balancer level to sanitize the 'targetService' parameter.
  3. Regularly audit web application endpoints for proper input validation and output encoding.
  4. Ensure that all user inputs are properly sanitized before being reflected back in HTTP responses.
  5. Apply the principle of least privilege for web application components and services.

References

  1. Vulnerability details and proof of concept: https://github.com/piuppi/Proof-of-Concepts/blob/main/Engineering/XSS-KnowageSuite7-3_unauth.md
  2. CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'): https://cwe.mitre.org/data/definitions/79.html
  3. OWASP XSS Prevention Cheat Sheet: https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html

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