Skip to content
Access control Write-up Intermediate

SuiteCRM <= 7.11.11 (action_saveHTMLField) Bean Manipulation Vulnerability

The HomeController::action_saveHTMLField() method allowed creating new beans or modifying arbitrary bean fields. This could lead to second-order SQL injection or PHP object injection attacks.

karmainsecurity.com

Published on karmainsecurity.com

The vulnerability exists because the HomeController::actionsaveHTMLField() method allows to create new beans or modify arbitrary beans’ fields. This can result in second-order SQL Injections or PHP Object Injection attacks.

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 missing authorisation and input validation in the action_saveHTMLField() method, which trusts user-supplied bean data.

Impact

An attacker could modify arbitrary records, potentially leading to second-order SQL injection or PHP object injection.

What the attacker needed

Access to the vulnerable SuiteCRM instance

The fix

It was fixed by updating to version 7.11.12, 7.10.24, or later.

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.

A 'bean' is SuiteCRM's internal name for a record such as a user or contact. A request handler let a user change fields on any record, even ones they should not control. That wrong data could later be used in a database query or turned into a PHP object, which may let an attacker run harmful code.

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.