vRealize Log Insight Vulnerability Debugging Environment Setup

Onedaysec
2 min read
0 views
docx image 1769397694137 0 ca241b496b

vRealize Log Insight Vulnerability Debugging Environment Setup

0x00 Preface

This article records the details of setting up a vRealize Log Insight vulnerability debugging environment from scratch.

0x01 Introduction

This article will introduce the following content:

vRealize Log Insight Installation

vRealize Log Insight Vulnerability Debugging Environment Configuration

Database Operations

0x02 vRealize Log Insight Installation

References: https://docs.vmware.com/en/vRealize-Log-Insight/index.html

1. Download the OVA File

Download Page: https://customerconnect.vmware.com/evalcenter?p=vr-li

You need to register an account first before downloading, then select the required version to download

2. Installation

(1) Import the OVA file into VMware Workstation

(2) Configuration

Access the configuration page at https://

Select Starting New Deployment and set the admin user password

3. Enable remote debugging

(1) Check the status of all services

【技术原创】vRealize Log Insight漏洞调试环境搭建The result is shown in the following figure

【技术原创】vRealize Log Insight漏洞调试环境搭建

Locate the web-related service as loginsight.service

(2) View detailed information for loginsight.service

【技术原创】vRealize Log Insight漏洞调试环境搭建

The result is shown in the following figure

【技术原创】vRealize Log Insight漏洞调试环境搭建

Locate the service startup file: /usr/lib/loginsight/application/bin/loginsight

(3) View process parameters

Execute the command: ps aux|grep java

Returned result:

【技术原创】vRealize Log Insight漏洞调试环境搭建【技术原创】vRealize Log Insight漏洞调试环境搭建【技术原创】vRealize Log Insight漏洞调试环境搭建【技术原创】vRealize Log Insight漏洞调试环境搭建Analysis of the result is as follows:

【技术原创】vRealize Log Insight漏洞调试环境搭建【技术原创】vRealize Log Insight漏洞调试环境搭建

0x03 Database Operations

1. Reset the password for the web login user admin

Implementation file: /usr/lib/loginsight/application/sbin/li-reset-admin-passwd.sh

Relevant information about database operations can be obtained from the file, as shown in the following figure

【技术原创】vRealize Log Insight漏洞调试环境搭建

2. Command parameters for connecting to the database

Implementation file: /usr/lib/loginsight/application/lib/apache-cassandra-3.11.11/bin/cqlsh-no-pass

The content of the file is as follows:

【技术原创】vRealize Log Insight漏洞调试环境搭建【技术原创】vRealize Log Insight漏洞调试环境搭建【技术原创】vRealize Log Insight漏洞调试环境搭建

3. Username and password for connecting to the database

【技术原创】vRealize Log Insight漏洞调试环境搭建

4. Configuration information for connecting to the database

【技术原创】vRealize Log Insight漏洞调试环境搭建

(1) Use the file with encapsulated parameters

【技术原创】vRealize Log Insight漏洞调试环境搭建

(2) Connect using parameters

【技术原创】vRealize Log Insight漏洞调试环境搭建

From the returned result, it can be seen that the database uses CQL (Cassandra Query Language)

Command to query user configuration:

【技术原创】vRealize Log Insight漏洞调试环境搭建

5. GUI-based database operation

【技术原创】vRealize Log Insight漏洞调试环境搭建【技术原创】vRealize Log Insight漏洞调试环境搭建

0x04 Summary

After setting up the vRealize Log Insight vulnerability debugging environment, we can then start learning about the vulnerabilities

Related Questions & Answers

What commands and tools are used to connect to the vRealize Log Insight Cassandra database?

You can connect using the file `/usr/lib/loginsight/application/lib/apache-cassandra-3.11.11/bin/cqlsh-no-pass`, which encapsulates the necessary parameters. Alternatively, use CQL (Cassandra Query Language) commands directly to query user configuration. This approach is also applicable to other product debugging setups like [Password Manager Pro](/news/password-manager-pro-vulnerability-debugging-environment-setup).

How can I reset the admin password for vRealize Log Insight web login?

Use the script `/usr/lib/loginsight/application/sbin/li-reset-admin-passwd.sh` to reset the admin password. This script interacts with the underlying Cassandra database, which stores user credentials. For more on database operations, refer to the [vRealize Log Insight debugging guide](/news/vrealize-log-insight-vulnerability-debugging-environment-setup).

How do I enable remote debugging for vRealize Log Insight services?

Check the status of all services to locate the web-related service `loginsight.service`. Then view its startup file at `/usr/lib/loginsight/application/bin/loginsight` and examine the Java process parameters using `ps aux|grep java` to verify the remote debugging configuration. This setup is similar to other VMware product debugging environments like [vRealize Operations Manager](/news/setting-up-vrealize-operations-manager-vulnerability-debugging-environment).

How do I install vRealize Log Insight for vulnerability debugging?

First, download the OVA file from the VMware evaluation center (you need a registered account). Then import the OVA into VMware Workstation and access the configuration page at https://<IP> to start a new deployment and set the admin password. For detailed steps, see the full guide on [vRealize Log Insight Vulnerability Debugging Environment Setup](/news/vrealize-log-insight-vulnerability-debugging-environment-setup).

Continue Reading