Skip to content
Misconfiguration Advisory Intermediate CVE-2017-0295

Windows Default Folder Tampering Vulnerability (CVE-2017-0295)

A tampering vulnerability in Microsoft Windows allowed an authenticated attacker to modify the C:\Users\DEFAULT folder structure, potentially altering files and folders that are synchronised when a new user first logs on locally. The attacker could only exploit this before any user had logged on locally, and users who had already logged on were not affected.

Client Operation Follow

Originally disclosed on Microsoft

High 4.8 View original

Description

A tampering vulnerability exists in Microsoft Windows that could allow an authenticated attacker to modify the C:\Users\DEFAULT folder structure. An attacker who successfully exploited this vulnerability could potentially modify files and folders that are synchronized the first time when a user logs in locally to the computer. To exploit this vulnerability, an attacker would need to log on to the affected system and tamper with the DEFAULT folder contents. An attacker can only exploit this vulnerability prior to a user logging on locally to the computer. Users who have logged on before the attacker attempts to exploit this vulnerability would not be affected. The security update addresses the vulnerability by correcting permissions on folders inside the DEFAULT folder structure.

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by Client Operation and SOC at NTNU. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely incorrect permissions on folders inside the DEFAULT folder structure allowed an authenticated local user to modify the template used for new profiles.

Impact

An attacker could potentially modify files and folders that are synchronised when a user first logs on locally, but only if no user had logged on before the attack.

What the attacker needed

Authenticated local access to the system; no user has logged on locally yet

The fix

The vulnerability was fixed by a security update that corrected permissions on folders inside the DEFAULT folder structure.

How it was found

  1. Log on to the affected system.
  2. Tamper with the contents of the DEFAULT folder before any user logs on locally.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a new person logs into a Windows computer for the first time, the system copies a template of files and folders (the DEFAULT folder) to create their personal profile. This report says that someone who can already log into the computer could change that template before any real user logs in, so the new user might get altered files. The fix was to correct the permissions on the folders inside that template.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.