Back to Labs
Security Advisory

CVE-2021-34685

About

UploadService in Hitachi Vantara Pentaho Business Analytics through 9.1 does not properly verify uploaded user files, which allows an authenticated user to upload various files of different file types. Specifically, a .jsp file is not allowed, but a .jsp. file is allowed (and leads to remote code execution).

Weakness (CWE):CWE-434

Rainforest analyst review

Pentaho's UploadService tries to block dangerous uploads by extension but does it wrong: a plain ".jsp" file is rejected, yet a ".jsp." file — same name with a trailing dot — slips past the check and still lands as an executable JSP, giving remote code execution. The interesting twist is that despite that RCE outcome, the CVSS record scores it very low, because the vector treats it as requiring high privileges and yielding only limited integrity impact.

That gap between "leads to remote code execution" in the text and a 2.7 score is worth calling out honestly. The gating factor is that the attacker must be an authenticated user with upload rights already; this isn't an anonymous drop. So the realistic threat is an authorized-but-untrusted user, or a hijacked low-value account, escalating their existing access into code execution on the Pentaho server — a privilege-boundary bypass rather than a front-door breach.

Our read is to trust the impact over the raw score in the other direction: the number says 2.7, but the outcome is code execution, so we'd rank it above where a 2.7 normally sits while still noting the authentication precondition. Practically we'd inventory Pentaho instances through 9.1, prioritize any where upload permissions are broadly granted or the app is externally reachable, and where patching lags, watch for upload requests with trailing-dot or otherwise malformed extensions as a detection signature.

References

Related CVEs

Frequently asked questions

What is CVE-2021-34685?

UploadService in Hitachi Vantara Pentaho Business Analytics through 9.1 does not properly verify uploaded user files, which allows an authenticated user to upload various files of different file types. Specifically, a .jsp file is not allowed, but a .jsp. file is allowed (and leads to remote code execution).

How severe is CVE-2021-34685?

CVE-2021-34685 carries a CVSS 3.1 base score of 2.7, rated low. On the Rainforest Risk Index — which weighs the severity alongside how easy the flaw is to reach and how broad its impact is — it scores 37 out of 100, in the moderate band.

How is CVE-2021-34685 exploited?

According to the CVSS vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N): attack vector Network, attack complexity Low, privileges required High, user interaction None. Impact on confidentiality None, integrity Low and availability None.

Which products are affected by CVE-2021-34685?

Public advisories list the following as affected: vantara pentaho. Check the references on this page for the exact versions each vendor confirms.

How do I fix CVE-2021-34685?

Apply the fix the vendor published — the references on this page link to the primary advisories and patches. When patching can't happen right away, reduce the exposure of the affected component and watch it for exploitation attempts. Rainforest customers see this vulnerability correlated to their own assets and prioritized by real exposure, not by score alone.

Empower Your Security Strategy with Rainforest

Discover vulnerabilities early, prioritize critical threats, and protect what truly matters. Rainforest streamlines your security operations, saving you time and reducing costs, so you can focus on what drives your business forward.

Share this:LinkedInX Email