Skip to content
RCE Write-up Intermediate

CVE-2024-1212: Unauthenticated Command Injection In Progress Kemp LoadMaster

An unauthenticated command injection existed in the LoadMaster administrator web interface, allowing an attacker to execute commands on the appliance. This could lead to full compromise, including privilege escalation to root.

David Yesland Follow

Published on rhinosecuritylabs.com

While researching the Progress Kemp LoadMaster load balancer we discovered an unauthenticated command injection in the administrator web interface of the appliance. This allowed full compromise of the LoadMaster if you could reach the administrator web user interface (WUI).

David Yesland, on rhinosecuritylabs.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

User-controlled input from the basic authentication header was passed unsanitised to a system() call, enabling command injection.

Impact

Exploiting this vulnerability enables command execution on the LoadMaster if you have access to the administrator web user interface, and it is possible to escalate privileges to root from the default admin user.

What the attacker needed

Access to the administrator web interface

The fix

The vulnerability was fixed in version 7.2.59.2.22338; input should be strictly validated and sanitised before being passed to system functions.

How it was found

  1. Send a request to the /access endpoint with a path like /access/set?param=enableapi&value=1 to bypass the disabled API and reach the authentication check.
  2. Include a basic authentication header with a crafted username containing a single quote to break out of the command context.
  3. Append a semicolon and the desired command to execute arbitrary commands on the server.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A load balancer is a device that distributes network traffic across multiple servers. In this case, the load balancer's web management interface had a flaw where user-supplied login details were passed directly to a system command without proper cleaning. An attacker could craft a special login request that would run their own commands on the device, taking control of it.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by David Yesland

View all

3 more disclosed reports, best first.

More from Progress (Kemp LoadMaster)

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.