Skip to content
SQL injection Write-up Beginner

Urn Injection

The report claims a URN injection flaw in a login form's username field, where user-supplied URN values are not validated or sanitised. An attacker could supposedly bypass authentication and gain unauthorised access to accounts or sensitive resources.

Aswin KV Follow

Published on infosecwriteups.com

This bug bounty report highlights a critical URN (Uniform Resource Name) Injection vulnerability . Exploiting this vulnerability allows unauthorized access to sensitive resources and potentially results in data leakage.

Aswin KV, on infosecwriteups.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

Impact

Attackers could gain access to restricted resources, expose sensitive data, or potentially execute arbitrary code, though the report provides no proof that any of this occurred.

What the attacker needed

Access to the login page; no special account needed

The fix

The application should strictly validate and sanitise all user-supplied URN parameters and enforce proper access controls.

How it was found

  1. Visit the login page of example.com.
  2. Locate the username input field.
  3. Inject a malicious URN value into the username field.
  4. Enter any password in the password field.
  5. Submit the login form.
  6. Observe whether the application processes the injected URN and grants unauthorised access.

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 URN is a permanent name for a resource, like a label that never changes. The report says the login form takes a URN in the username field and passes it to the system without checking it, so a crafted value might trick the system into logging someone in as another user. However, the report gives no real evidence that this actually happened.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More by Aswin KV

View all

10 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.