

and subsequently use these files to execute asp commands The api /SystemTab/uploader.aspx is vulnerable to an unauthenticated arbitrary file upload leading to RCE. Additionally, it can be used to perform HTTP(s) requests into the local network and thus use the Kaseya system to pivot into the local network.Īn attacker can upload files with the privilege of the Web Server process for Kaseya VSA Unified Remote Monitoring & Management (RMM) 9. # Comment lines start with or # ``` Security issues discovered - * The API insecurely resolves external XML entities * The API has an overly verbose error response Impact - Using this vulnerability an attacker can read any file on the server the webserver process can read. # Place it in the same directory as the KServer executable # A blank line or new valid section header terminates each section.

> There is an error in XML document (24, -1000).\r\n\r\: Fragment identifier '# This is the configuration file for the KServer. Response: ``` HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Type: text/xml charset=utf-8 Date: Fri, 10:07:38 GMT Strict-Transport-Security: max-age=63072000 includeSubDomains Connection: close Content-Length: 2677 soap:ServerServer was unable to process request. Undici is an HTTP/1.1 client, written from scratch for Node.js.`= &send ]]> ``` And the following XML file hosted at : ``` "> %eval %error ``` The server will fetch this XML file and process it, it will read the file c:\\kaseya\\kserver\\kserver.ini and returns the content in the server response like below. This issue was fixed in The best workaround is to validate user input before passing it to the `undici.request` call.

If a developer passes in user input into `path` parameter of `undici.request`, it can result in an _SSRF_ as they will assume that the hostname cannot change, when in actual fact it can change because the specified path parameter is combined with the base URL. If a user specifies a URL such as `` or `//127.0.0.1` ```js const undici = require("undici") undici.request() ``` Instead of processing the request as `` (or `` when ` is used`), it actually processes the request as `` and sends it to ``. Undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forgery) when an application takes in **user input** into the `path/pathname` option of `undici.request`.
