{"exploit":{"id":"EDB-51183","name":"AD Manager Plus 7122 - 'Log4Shell' Remote Code Execution (RCE)","description":"AD Manager Plus 7122 - 'Log4Shell' Remote Code Execution (RCE)","cves":["CVE-2021-44228"],"author":"Chan Nyein Wai","published":"2023-04-01","platform":"java","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/51183","path":"exploits/java/remote/51183.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-51183.txt","vulnerabilities":[{"id":"CVE-2021-44228","state":"PUBLISHED","title":"Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints","titleSource":"CVE Program","description":"Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2021-44228","cvss":{"version":"3.1","baseScore":10,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"CISA-ADP","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-44228"},"updatedAt":"2025-10-21T23:25:23.121Z","retrievedAt":"2026-11-25T16:13:33.589Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-51183.png?v=2","url":"https://exploitbin.com/exploits/EDB-51183","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-51183/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-51183/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: AD Manager Plus 7122 - Remote Code Execution (RCE)\n# Exploit Author: Chan Nyein Wai & Thura Moe Myint\n# Vendor Homepage: https://www.manageengine.com/products/ad-manager/\n# Software Link: https://www.manageengine.com/products/ad-manager/download.html\n# Version: Ad Manager Plus Before 7122\n# Tested on: Windows\n# CVE : CVE-2021-44228\n# Github Repo: https://github.com/channyein1337/research/blob/main/Ad-Manager-Plus-Log4j-poc.md\n\n### Description\n\nIn the summer of 2022, I have been doing security engagement on Synack\nRed Team in the collaboration with my good friend (Thura Moe Myint).\nAt that time, Log4j was already widespread on the internet. Manage\nEngine had already patched the Ad Manager Plus to prevent it from\nbeing affected by the Log4j vulnerability. They had mentioned that\nLog4j was not affected by Ad Manager Plus. However, we determined that\nthe Ad Manager Plus was running on our target and managed to exploit\nthe Log4j vulnerability.\n\n### Exploitation\n\nFirst, Let’s make a login request using  proxy.\n\nInject the following payload in the ```methodToCall``` parameter in\nthe ```ADSearch.cc``` request.\n\nThen you will get the dns callback with username in your burp collabrator.\n\n\n\n\n### Notes\n\nWhen we initially reported this vulnerability to Synack, we only\nmanaged to get a DNS callback and our report was marked as LDAP\ninjection. However, we attempted to gain full RCE on the host but were\nnot successful. Later, we discovered that Ad Manager Plus was running\non another target, so we tried to get full RCE on that target. We\nrealized that there was a firewall and an anti-virus running on the\nmachine, so most of our payloads wouldn't work. After spending a\nconsiderable amount of time , we eventually managed to  bypass the\nfirewall and anti-virus, and achieve full RCE.\n\n### Conclusion\n\nWe had already informed Zoho about the log4j vulnerability, and even\nafter it was fixed, they decided to reward us with a bonus bounty for\nour report.\n\n### Mitigation\n\nUpdating to a version of Ad Manager Plus higher than 7122 should\nresolve the issue.","sha256":"bb4d3cbb7a3f070aac25c9caeff9aef737b942a50b4d37edac3555201ee19362","bytes":2081,"fetchedAt":"2026-11-26T08:57:13.097Z","encoding":"utf-8 (display only; download retains original bytes)"}