Skip to content
Info disclosure Write-up Beginner

Finding an Easy Bug

The report claims that on some sites a masked password field can still be copied to the clipboard, so the plain-text password ends up in a notepad. The author says an attacker who can copy the field could read sensitive data such as passwords or card numbers.

cybersecuritywriteups.com

Published on cybersecuritywriteups.com

The original lives on cybersecuritywriteups.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 page does not block copy events on masked input fields, so the browser puts the real value on the clipboard.

Impact

If the field can be copied, someone with access to the clipboard could read a password or card number that was meant to be masked; the text does not show a real attack beyond copying on the same machine.

What the attacker needed

Access to the victim's browser or clipboard; a page with a masked input field

The fix

The page should block copy and cut events on masked fields, or clear the clipboard, so the hidden value cannot be copied.

How it was found

  1. Create an account on the target website.
  2. Enter your details, using a chosen password.
  3. Try to copy the password field as shown.
  4. Paste into a notepad to see whether the real password appears.

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.

A password box normally hides what you type with dots, and it should also stop you copying the hidden text. This report says that on some sites you can still select the field and copy it, and pasting into a notepad shows the real password. That would let someone with access to the screen or clipboard read a secret that was meant to stay hidden.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.