Skip to content
Access control Disclosed report Beginner

Bypass report submit restriction/ban using the API key

A researcher banned from submitting reports could still create reports through the API using an API key, bypassing the ban. This allowed the banned user to send reports to any program, including real ones.

light3r Follow with mrmax4o4

Originally disclosed on HackerOne

Medium 6.1 View original
  • Triaged in 9 days
  • Fixed in 2 months
  • Paid in 9 days
  • Disclosed after 3 months

#Description:

  • Banned researcher allows to submit reports through the API key, when user ban reports on his account he can't submit any reports to any programs until his ban time is gone, I was able to submit the report through the API key

##Steps to reproduce:

  • I contacted the support then they banned my account to send reports as shown below:
Screenshot_2023-07-24_at_3.59.32_PM.png
Screenshot_2023-07-24_at_3.59.32_PM.png From the original on HackerOne
  • Then after they banned my account I wasn't able to send any report also when I create directly from the request I receives 403 forbidden

  • I go to create a sandbox program and API key:

Screenshot_2023-07-24_at_4.01.17_PM.png
Screenshot_2023-07-24_at_4.01.17_PM.png From the original on HackerOne
Screenshot_2023-07-24_at_4.01.41_PM.png
Screenshot_2023-07-24_at_4.01.41_PM.png
  • I navigate to the documentation:

https://api.hackerone.com/hacker-resources/#reports-create-report

  • So after creating the API key using the below request/command I was able to submit the reports to any program without any restrictions on reports
Bash
curl "https://api.hackerone.com/v1/hackers/reports"   -X POST   -u "testhackerone-creative:pYnONekvxUTvHbKF7Jp64qh9STIhhdXvKmefWOeR8YU="   -H 'Content-Type: application/json'   -H 'Accept: application/json'   -d @- <<EOD
{
  "data": {
    "type": "report",
    "attributes": {
      "team_handle": "HackerOne-test_h1b",
      "title": "string",
      "vulnerability_information": "test tst tst",
      "impact": "tst tst",
      "severity_rating": "none",
      "weakness_id": 1
    }
  }
}
EOD
  • And here the report has been sent:
Screenshot_2023-07-24_at_4.05.59_PM.png
Screenshot_2023-07-24_at_4.05.59_PM.png From the original on HackerOne
  • Also here I reported a report to a real program I picked Sony for test report but I'm sorry for submitting test report to the program and to the team please accept my apologies
image.png
image.png From the original on HackerOne
  • Also for more confirmation if you need me to send a report to HackerOne as more proof please request

Thanks, Have a great day,

light3r, mrmax4o4

Impact

An banned reports researcher have the ability to send report after he banned from HackerOne that's allow him to bypass the reports restrictions, also he banned for his behavior so he may send a high volume of reports to a lot of teams without any restriction this after he bypass the first ban and reports submission restriction as shown above and submit the reports through the API instead of the GraphQL

The original report as published on HackerOne, by light3r. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

A banned researcher could bypass the ban and send reports to any program, potentially including high volumes of reports.

What the attacker needed

A banned account; ability to create an API key

How it was found

  1. Get the account banned from submitting reports by contacting support.
  2. Confirm that direct report submission returns 403 Forbidden.
  3. Create a sandbox program and generate an API key.
  4. Use the API key to send a POST request to the reports creation endpoint.
  5. Observe that the report is successfully submitted despite the ban.

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.

A user was banned from sending bug reports. The ban blocked direct submission, but by creating an API key the user could still send reports through the API, so the ban was ineffective.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by light3r

View all

2 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.