SuiteCRM
SuiteCRM: SQL Injection via REST API securexss() Bypass in Relationship Management
SuiteCRM is an open-source, enterprise-ready Customer Relationship Management (CRM) software application. Prior to 7.15.2 and 8.10.2, the REST v4 JSON handler reads the pre-filter RAW_REQUEST value and relationship write helpers interpolate supplied field values into INSERT and UPDATE statements. The affected flow begins at $GLOBALS['RAW_REQUEST'] and uses set_relationship, SugarRelationship::addRow(), SugarRelationship::updateRow(), and contact_role to carry attacker-controlled data or authorization state into the security-sensitive operation. An authenticated user can inject SQL through relationship fields to read or alter database data and may reach file-write consequences when the database account has elevated privileges. This issue is fixed in versions 7.15.2 and 8.10.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.15.2
- >= 8.0.0, < 8.10.2
Fixed in 7.15.2, 8.10.2
Mitigation
Upgrade SuiteCRM to 7.15.2 or 8.10.2 or later.
References
- Vendor advisory github.com/SuiteCRM/SuiteCRM/security/advisori…
- Patch github.com/SuiteCRM/SuiteCRM-Core/commit/a11f5…
- Patch github.com/SuiteCRM/SuiteCRM/commit/d6bca97a01…
2 more
- Release notes github.com/SuiteCRM/SuiteCRM-Core/releases/tag…
- Release notes github.com/SuiteCRM/SuiteCRM/releases/tag/v7.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.