HexBrain

Vimeo · Report #45368

ftp upload of video allows naming that is not sanitized as the manual naming

Validstatus
2upvotes
29 Jan 2015disclosed

How it was found

I have uploaded via ftp (Vimeo Pro account) a filename

""><img src = x onerror=alert(2)>".mp4

And as you can see in the screenshot it is put automatically as the name of the video. But I cannot put this name (""><img src = x onerror=alert(2)>".mp4) manually

So I think it needs the same sanitization of the name as it's done after the manual editing.

Even if the XSS is not reflected now (in this case) it can be when doing other actions involving the video name (sharing, follow, link, like etc)

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original