---
title: "Exploiting Application & File Vulnerabilities | FiveStudy"
description: "How unencrypted files, everyday users with administrator rights, and weak access controls let adversaries steal, alter, or destroy data."
url: https://fivestudy.com/guides/ap-cybersecurity-5-1-a-exploiting-application-file-vulnerabilities
---

[AP Cybersecurity](https://fivestudy.com/ap-cybersecurity) · Study guide

# Exploiting Application & File Vulnerabilities

[Figure: FiveStudy]

FiveStudy

AP® Cybersecurity · Unit 5 · Applications, Data & Cryptography

AP® Cybersecurity · Unit 5 · Applications, Data & Cryptography

# Exploiting Application & File Vulnerabilities

How unencrypted files, everyday users with admin rights, and loose file permissions let adversaries steal, change, or destroy data.

1. Data is the target 2. Unencrypted files 3. Admin rights where they don't belong 4. Weak access controls 5. Worked examples 6. Common mistakes

## 1 Data is the target

Stealing, changing, or destroying data is often an adversary's end goal. Data lives in files on devices and servers, and applications are the programs that read and change it. Three weaknesses make that data far easier to reach than it should be.

**Figure 1.** Each weakness turns a small foothold (a device, one account) into access to much more data than it should.

## 2 Unencrypted files

An adversary can read any **unencrypted** file if they have access to the device or drive storing it. A login password protects the operating system, not the disk: if a laptop is stolen, someone can remove its drive, connect it to another computer, and open every unencrypted file. The same goes for lost USB drives and unprotected backups.

## 3 Admin rights where they don't belong

Computers have two main kinds of accounts:

| Account type | What it can do |
| --- | --- |
| Standard user | Run programs and work with their own files; cannot change system settings or other users' files |
| Administrative user | Control system settings; install software; typically access any file or application on the system |

If regular users are given administrative privileges and an adversary compromises one of their accounts (through phishing, say), the adversary gets **elevated privileges** on the system. Instead of reaching one person's files, they can install malware, turn off security tools, and read everything. This is why the safer practice is to give everyday accounts standard rights and use a separate admin account only when needed.

## 4 Weak access controls

**Access controls** are the settings that decide who can view, edit, or delete each file and folder. When they are weakly configured, many users can view, and sometimes edit, files they have no reason to touch. Adversaries take advantage of this: compromise any one of those accounts, and they can steal or destroy the files, or disrupt an application that depends on them.

Permissions on a payroll folder

```
Folder: \\fileserver\Finance\Payroll
  Everyone ............... Read, Write
  Finance-Staff .......... Read, Write
  Payroll-Managers ....... Full control
```

Here, **Everyone** can read and write the payroll folder. Any compromised account in the organization, even a student intern's, could copy or change salary files.

The key idea

Encrypt data so a stolen device reveals nothing, keep everyday accounts at standard rights so one stolen login stays small, and give each file only the access people need.

## 5 Worked examples

Worked Example 1 Explain the exploit

### The stolen laptop

A manager's laptop with a strong login password is stolen from a car. Its drive is not encrypted and holds employee records. Can the thief read them?

1. 1

   The login password only protects the operating system's sign-in screen.

2. 2

   The thief can remove the drive and connect it to another computer, or boot another operating system.

3. 3

   Unencrypted files can then be read directly.

**Answer:** Yes. Unencrypted files are readable by anyone with the device or drive. Full-disk encryption would prevent it.

Worked Example 2 Explain the exploit

### The phished admin

At a small company, every employee's account has administrator rights “to avoid IT tickets.” A receptionist's account is phished. What can the attacker do?

1. 1

   The receptionist's account has administrative privileges.

2. 2

   With it, the attacker can install malware, disable security tools, change system settings, and access any file on the computer.

3. 3

   With a standard account, the attacker would have been limited to the receptionist's own files.

**Answer:** The attacker gains elevated, system-wide control. Everyday accounts should be standard users.

Worked Example 3 Explain the exploit

### Everyone can write

Using the payroll permissions above, an attacker phishes a warehouse worker's account. What can they do to the payroll files?

1. 1

   The Everyone group has Read and Write on the payroll folder.

2. 2

   The warehouse worker is part of Everyone, so the compromised account can open and change payroll files.

3. 3

   The attacker could copy salaries (confidentiality), change bank details (integrity), or delete files (availability).

**Answer:** Read, change, or delete them. Remove Everyone and give access only to finance and payroll groups.

Worked Example 4 Which weakness

### Name the weakness

Name the weakness in each: (a) a backup drive with customer data sits unencrypted in an unlocked drawer; (b) a teacher's everyday account can install any software; (c) all students can edit the shared grades spreadsheet.

1. 1

   (a) Unencrypted files: anyone who takes the drive can read it.

2. 2

   (b) Administrative privileges for an everyday user.

3. 3

   (c) Weak access controls: students should have no edit access to grades.

**Answer:** (a) unencrypted data, (b) excess admin rights, (c) weak access controls.

## 6 Common mistakes

Common Mistake 1 · Thinking a login password protects files on a stolen device

The disk can be read from another computer. Only encryption protects files when the device is in someone else's hands.

Common Mistake 2 · Giving everyone admin rights for convenience

It turns every phished account into a system-wide compromise.

Common Mistake 3 · Leaving “Everyone” on sensitive folders

Broad permissions mean any compromised account can reach the data. Grant access by role, as narrowly as possible.

Explain a file vulnerability like this

“Because the payroll folder grants Read and Write to Everyone, an adversary who compromises any employee account could copy or alter salary files. Restricting the folder to the payroll group would limit the damage of a single compromised account.”

Name the weakness, how an adversary uses it, and which data is put at risk.

FiveStudy AP® Cybersecurity · Exploiting Application & File Vulnerabilities
