Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

ManageEngine ADManager Plus Build 7111 Multiple Vulnerabilities

High

Synopsis

Tenable discovered multiple vulnerabilities in ADMP build 7111.

1) PasswordExpiryNotification Post-Authentication File Upload RCE (CVE-2021-20130)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

An authenticated remote attacker can send a POST message to /RestAPI/WC/PasswordExpiryNotification to upload a JSP file to <ADMP_DIR>\webapps\adsm\ompemberapp\PasswordExpiryNotification\ on the remote ADMP host. The file created is in the form of <unixtime_milliseconds>_<filename>, where <unixtime_miliseconds> is the file creation time in milliseconds since the Unix Epoch, and <filename> is the file name specified in the HTTP upload message.

The attacker can then execute the JSP code by fetching the JSP file at URL /ompemberapp/PasswordExpiryNotification/<unixtime_miliseconds>_<filename> (i.e., 1630429499081_webshell.jsp).

The JSP code can create an administrative Windows user on the ADMP host. Once having admin access on the ADMP host, the attacker can obtain the domain credentials used to add a Windows domain in the ADMP web UI. This domain account tends to have high privileges (i.e., a domain administrator) as it is used to perform Active Directory operations such as creating user accounts and resetting user passwords.

One way the attacker can obtain the domain credentials is to attach a debugger to the ADMP Java process and break into the ADsOpenObject function in ACTIVEDS.dll:

ADsOpenObject(path:'LDAP://kbrdc02.l2k8.local:389/DC=l2k8,DC=local',username:'l2k8.local\administrator',password:'<REDACTED>',...)

2) Personalize Post-Authentication File Upload RCE (CVE-2021-20131)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

An authenticated remote attacker can send a POST message to /RestAPI/WC/Personalize to upload a malicious executable to <ADMP_DIR>\bin\ on the remote ADMP host and replace the existing admanager.exe file with attacker-controlled data. When ADMP restarts, <ADMP_DIR>\bin\admanager.exe executes with attacker-controlled code.

As with the previous vulnerability, the attacker-controlled code can create an administrative Windows user on the ADMP host and the attacker can obtain the credentials of high-privileged domain accounts (i.e., domain administrator).

Solution

Upgrade to Build 7113 or newer.

Disclosure Timeline

09/10/2021 - Tenable discloses via vendor's bug bounty portal.
09/11/2021 - Vendor acknowledges.
09/18/2021 - Vendor states that fixes have been completed. Awaiting release details.
10/12/2021 - Tenable requests status update.
10/12/2021 - Vendor states that fixes have been released.

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Try for Free Buy Now
Tenable.io FREE FOR 30 DAYS

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Sign up now.

Tenable.io BUY

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

65 assets

Choose Your Subscription Option:

Buy Now
Try for Free Buy Now

Try Nessus Professional Free

FREE FOR 7 DAYS

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy Nessus Professional

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save. Add Advanced Support for access to phone, community and chat support 24 hours a day, 365 days a year. Full details here.

Try for Free Buy Now

Try Tenable.io Web Application Scanning

FREE FOR 30 DAYS

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable.io platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now.

Buy Tenable.io Web Application Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs

$3,578

Buy Now

Try for Free Contact Sales

Try Tenable.io Container Security

FREE FOR 30 DAYS

Enjoy full access to the only container security offering integrated into a vulnerability management platform. Monitor container images for vulnerabilities, malware and policy violations. Integrate with continuous integration and continuous deployment (CI/CD) systems to support DevOps practices, strengthen security and support enterprise policy compliance.

Buy Tenable.io Container Security

Tenable.io Container Security seamlessly and securely enables DevOps processes by providing visibility into the security of container images – including vulnerabilities, malware and policy violations – through integration with the build process.

Try for Free Contact Sales

Try Tenable Lumin

FREE FOR 30 DAYS

Visualize and explore your Cyber Exposure, track risk reduction over time and benchmark against your peers with Tenable Lumin.

Buy Tenable Lumin

Contact a Sales Representative to see how Lumin can help you gain insight across your entire organization and manage cyber risk.