Breaking Bugs as team member
A team member can change the message field from a string to an array in a state-change request, causing the stored message to be null. This breaks the front-end JavaScript, making the bug page crash for all participants and sometimes the entire Bugs page.
- Triaged in 9 hours
- Fixed in 5 days
- Paid in 5 days
- Disclosed after 5 days
It is possible to break a bug page (front-end) as a team member. This is how it's done:
- Go to a bug.
- Select "Change State" -> "Triaged".
- Enter a random comment.
- Intercept the
POSTrequest, change"message"to"message[]".
The status change will be saved but the message will be null (and not ""). This breaks the front-end JavaScript causing the bug page to 'crash' for every participant. In some occasions this broke the entire Bugs page for me.
[Error] TypeError: null is not an object (evaluating 'this.props.raw_message.length')
(anonymous function) (application-60308a88d636b65f18a684a058b87853.js, line 16)
[Error] TypeError: null is not an object (evaluating 'this.props.raw_message.length')
perform (application-60308a88d636b65f18a684a058b87853.js, line 14)
batchedUpdates (application-60308a88d636b65f18a684a058b87853.js, line 12)
s (application-60308a88d636b65f18a684a058b87853.js, line 13)
forceUpdate (application-60308a88d636b65f18a684a058b87853.js, line 11)
(anonymous function) (application-60308a88d636b65f18a684a058b87853.js, line 14)
c (application-60308a88d636b65f18a684a058b87853.js, line 4)
There is some weird behaviour. In Safari it always fails to load the page, but in Chrome it sometimes works for some reason. Using the steps above, with Safari, you should be able to reproduce the bug.
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 server accepts an array for the message field and stores it as null, while the front-end assumes the message is always a string and calls .length on it without a null check.
Impact
The bug page crashes for every participant, and in some occasions the entire Bugs page broke; the effect varies by browser, with Safari always failing and Chrome sometimes working.
What the attacker needed
Team member account; ability to intercept HTTP requests
How it was found
- Go to a bug.
- Select 'Change State' -> 'Triaged'.
- Enter a random comment.
- Intercept the POST request and change "message" to "message[]".
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 you change a bug's status, the site sends a message to the server. By tampering with the request, the message is saved as an empty value instead of text. The page's code then tries to read the length of that empty value and crashes, so nobody can view the bug properly.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.