HexBrain

GitLab · Report #647130

Stored XSS in "Create Groups"

Validstatus
highseverity
$2,500bounty
89upvotes
26 Aug 2020disclosed

How it was found

NOTE! Thanks for submitting a report! Please replace all the (parenthesized) sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report!

Summary

Stored attacks are those where the injected script is permanently stored on the target servers, such as in a database, in a message forum, visitor log, comment field, etc. The victim then retrieves the malicious script from the server when it requests the stored information. Stored XSS is also sometimes referred to as Persistent or Type-I XSS.

Steps to reproduce

  1. Login to Gitlab
  2. Create a new group with xss payload payload i use = "><img src=x onerror=prompt(123)>
  3. Open Group
  4. To trigger XSS you can click "NEW PROJECT"
  5. XSS Trigger

Impact

Can steal Cookie, Can run javascript code, etc

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