CAPEC-650
Upload a Web Shell to a Web Server
By exploiting insufficient permissions, it is possible to upload a web shell to a web server in such a way that it can be executed remotely. This shell can have various capabilities, thereby acting as a "gateway" to the underlying web server. The shell might execute at the higher permission level of the web server, providing the ability the execute malicious code at elevated levels.
On this page
Ask an AI about this attack pattern
Show the prompt
Explain the attack pattern CAPEC-650: Upload a Web Shell to a Web Server: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/650.html and https://cve.bz/cve/capec/650?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.
Prerequisites
The web server is susceptible to one of the various web application exploits that allows for uploading a shell file.
Consequences
| Impact | Affects | Note |
|---|---|---|
| Read Data | Confidentiality | |
| Gain Privileges | Confidentiality, Access Control, Authorization | |
| Execute Unauthorized Commands | Confidentiality, Integrity, Availability |
Mitigations
Make sure your web server is up-to-date with all patches to protect against known vulnerabilities.
Ensure that the file permissions in directories on the web server from which files can be execute is set to the "least privilege" settings, and that those directories contents is controlled by an allowlist.
Weaknesses it exploits
Recent CVEs with these weaknesses
- 5.1CVE-2026-119012
Vulnerability of improper authentication in the DSoftBus module. Impact: Successful exploitation of this vulnerability will affect availability.
- 5.3CVE-2026-139894
A vulnerability was found in davila7 claude-code-templates up to 1.29.6. The affected element is an unknown function of the file cli-tool/src/claude-api-proxy.js of the component Claude API proxy. Performing a manipulation results in missi…
- 9.3CVE-2026-138670
A weakness has been identified in TOTOLINK X6000R up to 9.4.0cu.1458_B20250708. The impacted element is the function setStaticDhcpRules/arp_bind of the file /usr/sbin/shttpd. Executing a manipulation of the argument ip can lead to authenti…
- 9.1CVE-2026-137179
arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Prior to 3.3.12 and in 4.0.0-alpha1, WebServer::authenticate(const char *username, const char *password) parses an arbitr…
- 3.7CVE-2026-137029
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0, Enclave OS Mini's FIDO2 clone-detection guard skipped comparis…
- 9.8CVE-2026-137018
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to base version 0.25.0 and vault version 0.33.0, Enclave OS Mini's verify_oidc_token function in builds without the wasm feature decoded…
- 5.5CVE-2026-138434
A vulnerability was found in Zylon PrivateGPT up to 1.0.1. Affected is the function authenticated of the file private_gpt/server/utils/auth.py of the component API Authentication. Performing a manipulation of the argument server.auth.enabl…
- 5.5CVE-2026-138429
A weakness has been identified in sosedoff pgweb up to 0.17.0. Impacted is the function RunQuery of the file pkg/api/routes.go of the component API. Executing a manipulation of the argument Query can lead to missing authentication. The att…
The newest records naming one of them. Each weakness's page lists them all.
Related attack patterns
- Part of
- CAPEC-17 Using Malicious Files
MITRE's words, unchanged: CAPEC-650 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.