Bug bounty left over (and rant) Part III (Google and Twitter)
The Google Issue Tracker's 'Copy comment to...' feature leaked whether a comment existed in an inaccessible issue, allowing an attacker to count comments. The Periscope OAuth server accepted a redirect_uri with path traversal, which could redirect access tokens to an attacker-controlled location.
February 06, 2018
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
Impact
An attacker could learn the number of comments in a private issue, and could potentially hijack an OAuth access token by redirecting it to an attacker-controlled location.
What the attacker needed
Access to the destination issue; knowledge of the source issue identifier
How it was found
- Navigate to the destination issue with template_issue set to the source and template_comment set to a non-existent comment number; observe a 'does not exist' error.
- Navigate with template_comment set to an existing comment number; observe an 'Access denied' error.
- Repeat for other comment numbers to determine how many comments exist in the source issue.
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.
A website feature that copies comments between issues gave different error messages depending on whether a comment existed, letting someone count comments in private issues. Separately, an OAuth login system accepted a redirect address containing '../' sequences, which could send a user's access token to a different site.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.