---
title: "CAPEC-563: Add Malicious File to Shared Webroot"
url: https://radicalnotion.ai/capec/capec-563
type: capec
description: "An adversaries may add malicious content to a website through the open file share and then browse to that content with a web browser to cause the server to execute the content. The malicious content will typically run under the context and permissions of the web server process, often resulting in local system or administrative privileges depending on how the web server is configured."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-563: Add Malicious File to Shared Webroot

- **Abstraction:** Detailed
- **Status:** Draft
- **CAPEC catalog version:** 3.9

## Description

An adversaries may add malicious content to a website through the open file share and then browse to that content with a web browser to cause the server to execute the content. The malicious content will typically run under the context and permissions of the web server process, often resulting in local system or administrative privileges depending on how the web server is configured.

## Mitigations

- Ensure proper permissions on directories that are accessible through a web server. Disallow remote access to the web root. Disable execution on directories within the web root. Ensure that permissions of the web server process are only what is required by not using built-in accounts and instead create specific accounts to limit unnecessary access or permissions overlap across multiple systems.

## Related weaknesses (CWE)

- [CWE-284](https://radicalnotion.ai/cwe/cwe-284): Improper Access Control

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-17](https://radicalnotion.ai/capec/capec-17) | Using Malicious Files |

## Frequently asked questions

### What is CAPEC-563?

An adversaries may add malicious content to a website through the open file share and then browse to that content with a web browser to cause the server to execute the content. The malicious content will typically run under the context and permissions of the web server process, often resulting in local system or administrative privileges depending on how the web server is configured.

### How do you prevent CAPEC-563?

Ensure proper permissions on directories that are accessible through a web server. Disallow remote access to the web root. Disable execution on directories within the web root. Ensure that permissions of the web server process are only what is required by not using built-in accounts and instead create specific accounts to limit unnecessary access or permissions overlap across multiple systems.

### What weaknesses does CAPEC-563 target?

CAPEC-563 exploits one CWE weakness: CWE-284 (Improper Access Control).

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/563.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-563). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
