Skip to content
Access control Disclosed report Beginner

IRC-Bot exposes information

The IRC bot would respond to private messages with task titles and links for any task number, without checking whether the sender had access to that task. An attacker could therefore learn the titles of private tasks by guessing or enumerating task numbers.

luke081515 Follow

Originally disclosed on HackerOne

  • Fixed in under an hour
  • Paid in under an hour
  • Disclosed after 1 hour

You can setup the IRC-Bot, and set it into private channels, so that it posts only information about tasks into private channels. Example: <Human> T698 <Bot> T698: Task title - https://url.example.org/T698

The problem is, that, if the bot is online in IRC, you can send him task numbers via private messages, and then he exposes the title of tasks without access control.

The original report as published on HackerOne, by luke081515. 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

Root cause

Likely the bot's private-message handler looked up and returned task details without verifying that the requesting user was a member of a channel allowed to see that task.

Impact

Anyone able to message the bot could disclose the titles of tasks they are not authorised to see.

What the attacker needed

The IRC bot is online; attacker can send private messages to the bot; attacker knows or guesses a task number

The fix

The bot should check access before replying to private messages.

How it was found

  1. Set up the IRC bot and configure it to post only in private channels.
  2. While the bot is online, send it a task number by private message.
  3. The bot replies with the task title even though the sender has no access.

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.

An IRC bot is an automated program that sits in chat channels and replies to commands. This one was meant to post task updates only in private channels, but it also answered private messages from anyone. Because it never checked who was asking, anyone who knew or guessed a task number could get back the task's title and link.

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 luke081515

View all

1 more disclosed report, best first.

More from Phabricator

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.