Skip to main content

Teleport Critical Privilege Escalation Vulnerability ($21,000 Bounty)

Updated Markdown
Teleport Critical Privilege Escalation Vulnerability ($21,000 Bounty)

Hello,

Today, I'm sharing a critical vulnerability I discovered in Teleport's bug bounty program. This privilege escalation flaw allows an Access List Owner to bypass access control policies and systematically elevate their account's role to Admin, gaining full control over the organization.


๐Ÿ“ Summary

Go to [your-domain.teleport.sh/web/accesslists]. Create a new access list and add a role to "Roles Granted," e.g., "reviewer" role. Add a user as the Access List Owner. The user, as the Access List Owner, can escalate the role of the list to higher roles, thereby escalating their own account's role. This is a prohibited procedure, as stated in the official documentation, that Owners are not able to control what roles and traits are granted by the Access List.


๐Ÿ› ๏ธ Steps To Reproduce

1๏ธโƒฃ From Organization Owner Account:

  1. Go to [your-domain.teleport.sh/web/accesslists].
  2. Create a new access list.
  3. Add a user as List Owner.
  4. Add a role to "Roles Granted," e.g., "reviewer" role.

2๏ธโƒฃ From Access List Owner Account:

  1. Add a new member to the access list and intercept the request.
  2. Add "editor" role on "grants roles".
  3. The "editor" role will be added to "Permissions Granted".
  4. Logout and re-login to the account.
  5. Result: Now, the user has the "editor" role and can perform any action on the entire organization.

๐ŸŽฅ Proof of Concept Video

๐ŸŽฅ Proof of Concept Video

For a detailed, step-by-step demonstration of the full exploit chain, watch the Official POC Video on Google Drive ๐Ÿš€.


๐Ÿ’ฅ Impact

  • Privilege Escalation: Direct violation of the principle of least privilege.
  • Unauthorized Access: High potential for unauthorized access to highly sensitive information.
  • Security Breach: Risk of totally compromising the overall security of the system.
  • Violation of Access Control Policies: Complete contradiction with Teleport's official documentation and security policies.
  • Risk of Insider Threats: Potential exploitation by malicious insiders with limited access.

๐Ÿ“… Bug Bounty Timeline & Updates

Date (UTC) Action / Activity Status / Reward
Dec 11, 2023, 11:09pm โš ๏ธ Severity Updated Changed from Critical to Medium (6.1)
Dec 11, 2023, 11:41pm ๐Ÿšจ Severity Escalated Changed from Medium (6.1) back to Critical (9.0)
Dec 11, 2023, 11:59pm ๐ŸŽฏ Status Changed Triaged (See team comment below)
Dec 12, 2023, 9:33pm ๐Ÿ’ฐ Bounty Rewarded $20,000 Bounty Paid ๐ŸŽ‰
Dec 20, 2023, 7:10pm ๐ŸŽ Bonus Rewarded $1,000 Escalation Bonus Paid ๐Ÿš€

๐Ÿ’ฌ Team Correspondence & Comments:

๐ŸŽฏ jent-teleport (Dec 11, 11:59pm): "Thank you for the report @moaz219. I was able to reproduce this and agree with you that is a concerning privilege escalation in our new Access List functionality. I will let you know as soon as I have an update on this fix."

๐Ÿ’ฐ Teleport Team (Dec 12, 9:33pm): "Thank you again for this and your other recent reports @moaz219!"

๐ŸŽ Teleport Team (Dec 20, 7:10pm): "Yes, I can confirm this report is eligible for the privilege escalation bonus. Thank you for asking!"


๐Ÿ‘ค Follow Me:

About the author

  • AI Red Teamer & Bug Bounty Hunter | BSc in Computer Science | Recognized by: Google, Facebook, GitHub, Yandex, Quora, Oppo, Yelp, Teleport