Skip to content
Access control Write-up Intermediate

SugarCRM <= 9.0.1 Multiple Broken Access Control Vulnerabilities

The application fails to properly check whether a user has Admin access to the InboundEmail module when handling the Save action, allowing any user to create a new InboundEmail bean regardless of their roles or permissions. A similar broken access control issue exists in the Trackers module.

karmainsecurity.com

Published on karmainsecurity.com

https://support.sugarcrm.com/Documentation/SugarVersions/9.0/Ent/Sugar9.0.2ReleaseNotes

The author, on karmainsecurity.com

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

Root cause

Likely the Save action for the InboundEmail module does not verify that the requesting user has administrative privileges before creating the bean.

Impact

Any authenticated user could create a new InboundEmail bean regardless of their assigned roles or permissions, potentially leading to unauthorised configuration changes.

What the attacker needed

Authenticated user with any role

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.

Access control is the set of rules that decides which users are allowed to do which actions. Here, the software forgot to check whether a user is an administrator before letting them create a new email-related object, so even a low-privileged user could do something that should be reserved for admins. The same kind of missing check also affects another part of the system called Trackers.

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.

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.