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.
- 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
- Go to your account and create a new definition and see the URL to get the definition_id.
- Go to definitions page and unpublish it.
- Now visit the following URL https://www.urbandictionary.com/video.new.php?defid=your_def_id
- 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
- To check whether the word is unpublished or not I used the urbandictionary's api and used the following URL http://api.urbandictionary.com/v0/define?defid=12504202 and it returned me an empty list, showing that no data exists for the given defid.
see poc-1
- Then I passed the samedefid to the URL defined at step 3 https://www.urbandictionary.com/video.new.php?defid=12504202 and after visiting it I was able to see the name and was able to set the youtube video for it.
see poc-2
##POC/Screenshots
- POC-1

- POC-2

Impact
- Information disclosure
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
- Create a new definition and note its definition identifier from the URL.
- Unpublish the definition from the definitions page.
- Open the video submission page with that definition identifier in the query string.
- 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.