BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-28379 in Myvestacp Myvesta and 1 more product

High 8.8 Public exploit reported Fix available

web/upload/UploadHandler.php in Vesta Control Panel (aka VestaCP) through 0.9.8-27 and myVesta through 0.9.8-26-39 allows uploads from a different origin.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.18.8
EPSS6.0%
EPSS percentile94th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Myvestacp Myvesta ≤ 0.9.8-26-39
Vestacp Vesta Control Panel ≤ 0.9.8-27

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

web/upload/UploadHandler.php in Vesta Control Panel (aka VestaCP) through 0.9.8-27 and myVesta through 0.9.8-26-39 allows uploads from a different origin.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-28379
BreachSpider IDBS-2021-GLOBAL-269927-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2021-03-15
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-434: Unrestricted Upload of File with Dangerous Type

Application allows file uploads without validating type, enabling upload of executable code or web shells.

Related attack patterns (CAPEC)

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A cross-origin resource sharing (CORS) vulnerability in the UploadHandler.php script of Vesta Control Panel (VestaCP) and myVesta allows uploads from a different origin, potentially leading to unauthorized file uploads and server compromise.

An attacker can exploit this vulnerability by crafting a malicious web page that triggers a file upload to the vulnerable server from a different origin. This can bypass intended security restrictions and allow unauthorized uploads.

Questions

What is CVE-2021-28379?

A cross-origin resource sharing (CORS) vulnerability in the UploadHandler.php script of Vesta Control Panel (VestaCP) and myVesta allows uploads from a different origin, potentially leading to unauthorized file uploads and server compromise.

What is the CVSS score for CVE-2021-28379?

CVE-2021-28379 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 6.0%.

Is CVE-2021-28379 actively exploited?

Public exploit available for CVE-2021-28379. Exploitation risk elevated.

How do I remediate CVE-2021-28379?

Priority: IMMEDIATE.

What systems are affected by CVE-2021-28379?

CVE-2021-28379 affects Myvestacp Myvesta; Vestacp Vesta Control Panel.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Myvestacp","product":"Myvesta","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.