CVE-2022-3960:Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection') in Hitachi Vantara Pentaho Business Analytics Server via the Community Dashboard Editor plugin, affecting versions prior to 9.4.0.1 and 9.3.0.2 (including 8.3.x).

splash
Back

Description Preview

Hitachi Vantara Pentaho Business Analytics Server versions before 9.4.0.1 and 9.3.0.2 (including 8.3.x) are vulnerable to code injection through the Community Dashboard Editor (CDE) plugin due to improper neutralization of directives in statically saved code. In these releases, the scripting capabilities of the CDE plugin cannot be disabled by a system administrator, enabling an attacker to craft or save scripts that are executed within dashboards. The vulnerability can be exploited remotely over the network with low privileges and requires no user interaction. It is categorized as CWE-96 (Improper Neutralization of Directives in Statically Saved Code) and aligns with CAPEC-242 Code Injection. The CVSS v3.1 base score is 6.3 (Medium), with low impact on confidentiality, integrity, and availability.

Overview

This vulnerability affects the Community Dashboard Editor plugin in Hitachi Vantara Pentaho Business Analytics Server prior to versions 9.4.0.1 and 9.3.0.2 (including 8.3.x). The root cause is improper neutralization of directives in statically saved code, enabling static code injection via the CDE scripting environment. Because the CDE scripting capabilities cannot be disabled in these versions, an attacker with network access and low privileges can potentially inject and execute malicious scripts without any user interaction, impacting the integrity and availability of dashboards and potentially broader server behavior. The issue is identified under CWE-96 and is associated with CAPEC-242 Code Injection.

Remediation

  • Upgrade to fixed versions: Move to Pentaho BA Server 9.4.0.1 or later, or 9.3.0.2 for the 9.3 line (or newer releases that contain the patch). Verify with Hitachi Vantara for the latest recommended version.
  • If immediate upgrade isn’t possible: apply any vendor-provided hotfix or security patch that addresses this vulnerability; if a patch is not available, disable or restrict the CDE plugin’s scripting capabilities if supported, or temporarily disable the CDE feature to reduce exposure.
  • Implement mitigations: restrict access to the CDE and related dashboards to only trusted administrators, enforce least privilege for users with CDE access, and consider network segmentation or firewall controls to limit exposure.
  • Configuration and validation: after patching, reconfigure or verify that scripting capabilities in the CDE are either safely disabled or properly sanitized, and perform functional testing to ensure dashboards render correctly without allowing script execution.
  • Monitoring and follow-up: enable enhanced logging around CDE usage, review dashboards for suspicious or previously stored scripts, and run periodic vulnerability scans to confirm remediation.

References

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

Focus on What Matters

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

Let's talk!

background