HexBrain

MTN Group · Report #1677047

Remote code execution via crafted pentaho report uploaded using default credentials for pentaho business server

Validstatus
criticalseverity
59upvotes
31 Dec 2023disclosed

How it was found

Summary:

Good day, While I do recon for mtn.ci domain I found Pentaho business server at https://sm.mtn.ci:8888/pentaho with default credentials admin/password ,then I figured that I can upload prpt reports to server which could use some beanshell,js and java to achieve RCE

Steps To Reproduce:

  1. Login to https://sm.mtn.ci:8888/pentaho admin/password
    {F1878259}
  2. Use Pentaho report designer to create malicious report file
    {F1878260}
  3. Upload and run the report
    {F1878261}
    {F1878262}

Impact

The impact of an RCE vulnerability can range from malware execution to an attacker gaining full control over a compromised server.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original