Skip to content
Access control Write-up Beginner

When Copying One File Was Enough to Bypass Protected Course Access

A Windows desktop application stored its licensing and authorization data locally, and that data was not bound to the original device. An attacker could copy the local application files to another computer and gain access to protected educational content without purchasing it.

ilianothingg Follow

Published on medium.com

The original lives on medium.com

We do not hold its text, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the application used locally stored authorization data as the sole basis for granting access, without binding it to the device or verifying it server-side.

Impact

This could enable unauthorized distribution of licensed content or undermine the intended licensing process, depending on the overall application architecture.

What the attacker needed

Access to a licensed installation; ability to copy local files; a second Windows system

The fix

The vulnerability was fixed by the vendor after responsible disclosure, though the exact remediation is not described; the article recommends device-specific binding, server-side license verification, cryptographically protected authorization data, integrity verification, revocation capabilities…

How it was found

  1. On the first Windows system, install and activate the application with purchased content.
  2. Collect the relevant local application data from the default storage directory.
  3. On a second Windows system, replace the corresponding local data with the files from the first machine.
  4. Adjust the user context to match the original environment where necessary.
  5. Launch the application on the second system and observe that protected courses are accessible.

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 write-up has not been written yet. The Original tab links to the source.

This is about a desktop app that checks if you paid for courses by looking at files on your own computer. The problem is that those files were not tied to that specific computer, so someone could copy them to a different machine and the app would still think the content was paid for. That means the app trusted the files too much instead of checking with a server or using device-specific protection.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by ilianothingg

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.