Skip to content
Business logic Write-up Beginner

Hidden characters, identical names: a workspace confusion bug in target.com

The application stored workspace names without normalising hidden whitespace, so a name containing a tab character was treated as distinct from the same name without it. An attacker could create two workspaces that look identical in the interface, which could mislead users into acting on the wrong workspace.

abdullahabudahab5 Follow

Published on medium.com

How a single tab character can make two workspaces look identical — and why that matters.

Abdullahabudahab, on medium.com

The full write-up lives on its author's site

It belongs to its author, 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 backend stored workspace names without normalising or rejecting invisible whitespace and control characters, while the frontend stripped or ignored them when rendering.

Impact

This does not allow unauthorised access or data exfiltration on its own, but it could cause user confusion, wrong actions on the wrong workspace, bypass of a uniqueness rule, and social engineering by an insider.

What the attacker needed

Ability to create workspaces

How it was found

  1. Create a workspace with a simple name.
  2. Create a second workspace with the same name followed by a tab character.
  3. Observe that both workspaces display the same name in the interface.

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 workspace is a shared area where a team keeps its work. The site checked names for uniqueness using the raw text, but the screen hid a tab character, so two different stored names looked the same to a person. That mismatch can make someone edit or delete the wrong workspace.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.