Dubbo Unauthorized Access Vulnerability

Introduction to the vulnerability

Dubbo is an open source, high-performance service framework developed by Alibaba Inc. that enables applications to perform input and output functions via high-performance RPC, and can seamlessly integrate with the Spring framework. Dubbo has an unauthorized access vulnerability due to improper configuration.

Environment setup

git clone https://github.com/alibaba/dubbo/tree/2.5.x

Enter the dubbo-2.5.x directory

Execute mvn clean package -Dmaven.test.skip=true, and the following results will be generated:

image-20220726153013824

In the dubbo-2.5.x/dubbo-simple/dubbo-monitor-simple/target directory, you will find dubbo-monitor-simple-2.5.10-assembly.tar.gz generated, extract this folder.

Check the configuration file, and you will see that the dubbo protocol port is 7070.

Start Dubbo

Vulnerability exploitation

Connect to port 7070 with nc, port 7070 allows you to perform various management tasks, such as checking the status of the registry, listing available services, and viewing the log level of the registry.

If the service has command execution capability, the "invoke" command may execute commands as the "invoke" command is used to invoke specific service methods.

Last updated