Mozilla Slack - Mr-Pushbot Insufficient ACL Permissions
A Slack bot used by Mozilla allowed any contributor to issue deployment and promotion commands that should have been restricted to trusted staff. An attacker with a contributor account could therefore trigger changes to production code.
Originally disclosed on Mozilla
- Fixed in 3.3 years
- Paid in 10 days
- Disclosed after 3.3 years
Hi. It was observed that the MR bot on the Mozilla slack would enable an attacker to potentially mess with production code.
Commands which can be issued:
"Invalid command, try hab promote <package>, ret deploy <version> <pool>, hubs deploy <version> <s3 target>, spoke deploy <version> <s3 target>"
I was able to run these commands as a Mozilla contributor.
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 access control list did not restrict deployment commands to privileged users, so any contributor could invoke them.
Impact
A contributor could potentially alter production code through the bot, though the report does not show an actual deployment or its effects.
What the attacker needed
A Mozilla contributor account; access to the Mozilla Slack
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 Slack bot is an automated helper inside a chat tool. This bot could deploy software, but it did not check properly who was allowed to ask it to do so. A normal outside contributor could therefore give it orders that should have been reserved for trusted staff.
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.