Skip to content
XSS Write-up Advanced

Virtual Holes in Virtual Worlds (Metaverse Bug Hunt)

The report describes four vulnerabilities in Meta Horizon Worlds and the Oculus developer platform: a stored XSS on Meta's CDN via MIME sniffing of uploaded scripts, a path traversal in script creation that could write arbitrary files and leak NTLM hashes via UNC paths, an IDOR in event editing that let attackers create events for worlds they did not own and gain elevated privileges, and an email disclosure in the Oculus developer platform where adding a user to a release channel revealed their email address.

Max Pasqua Follow

Published on medium.com

Bounty$12,500 View original

In early 2020, Meta launched Horizon Worlds, a custom VR experience focused on user-created environments and social interaction. Initially, access was limited to a select group of users, but the platform has since opened up to the public, allowing anyone to create and explore virtual worlds.

Max Pasqua, 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 multiple root causes: missing Content-Type header enabling MIME sniffing, unsanitised file paths in script creation, missing ownership checks in a GraphQL mutation, and automatic approval of organisation members in release channels.

Impact

An attacker could execute JavaScript on Meta's CDN, write arbitrary files to a collaborator's machine (potentially leaking NTLM hashes via UNC paths), create events on others' worlds and gain moderation powers, and disclose email addresses of organisation members.

What the attacker needed

Meta Horizon Worlds Desktop Editor; a world with a script; victim collaborator opens the world; attacker has an account

How it was found

  1. Create a new world in the Desktop Editor and add a script containing HTML and JavaScript.
  2. Save the script and open the world in a browser to obtain the snapshot_id parameter.
  3. Send a GraphQL request to retrieve the script's CDN URI and browse to it to see the JavaScript execute.
  4. As a world creator, create a script with a path traversal name and invite a collaborator.
  5. As the collaborator, open the world and observe the file written outside the intended folder.
  6. As an attacker, edit an event draft and change the horizon_world_id to a victim's world ID, then publish.

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.

This report covers several security holes in Meta's virtual reality platform. One let an attacker upload a file that a browser would treat as a web page and run code in the context of Meta's content delivery network. Another let an attacker write files to another user's computer by using a crafted file name. A third let an attacker create events for someone else's world and gain special powers during the event. The last one revealed email addresses of organisation members on a developer site.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Max Pasqua

View all

5 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.