Skip to content
Access control Disclosed report Beginner

Users able to set video url for unpublished words and able to see the name of unpublished words

An unpublished definition could still be reached through a video-submission page by supplying its definition identifier, letting any user view the hidden word's name and attach a YouTube video to it. This exposed content the owner had deliberately unpublished.

d3f4u17 Follow with fossnow27

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 4 days
  • Disclosed after 34 days

Summary

Users will be able to set youtube video URL to unpublished words and will be able to see names of an unpublished word.

Description

Once a user publishes a word and later unpublish it, others user still would be able to set the youtube video URL for it and will be able to see the name of the unpublished words.

##Steps to reproduce

  1. Go to your account and create a new definition and see the URL to get the definition_id.
  2. Go to definitions page and unpublish it.
  3. Now visit the following URL https://www.urbandictionary.com/video.new.php?defid=your_def_id
  4. Now you will be able to set the youtube video URL and will be able to see the name of the unpublished word.

In my case i have used the following defid 12504202

see poc-1

see poc-2

##POC/Screenshots

  • POC-1
Screenshot_from_2019-01-27_12-41-51.png
Screenshot_from_2019-01-27_12-41-51.png From the original on HackerOne
  • POC-2
Screenshot_from_2019-01-27_12-42-16.png
Screenshot_from_2019-01-27_12-42-16.png From the original on HackerOne

Impact

  • Information disclosure

The original report as published on HackerOne, by d3f4u17. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 the video-submission page looked up the definition by its identifier without checking whether that definition was still published.

Impact

An attacker could read the name of an unpublished word and attach a video to it, an information disclosure the author did not intend.

What the attacker needed

A definition identifier; the definition is unpublished

How it was found

  1. Create a new definition and note its definition identifier from the URL.
  2. Unpublish the definition from the definitions page.
  3. Open the video submission page with that definition identifier in the query string.
  4. Observe that the unpublished word's name is shown and a video URL can be set.

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 word is unpublished, a different page that takes a definition number still showed the hidden word and let anyone add a video to it.

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 d3f4u17

View all

8 more disclosed reports, best first.

More from Urban Dictionary

View all

The newest disclosed reports for this program.

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.