Suite CRM v7.14.2 - SSRF

Summary

NameSuite CRM v7.14.2 - SSRF
Code name
ProductSuite CRM
Affected versionsVersion 7.14.2
StatePublic

Vulnerability

KindServer-site request forgery
Rule
RemoteYes
CVSSv3.1 VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
CVSSv3.1 Base Score5.0
Exploit availableYes
CVE ID(s)

Description

Suite CRM version 7.14.2 allows making arbitrary HTTP requests through the vulnerable server. This is possible because the application is vulnerable to SSRF.

Vulnerability

A server request forgery (SSRF) vulnerability has been identified in Suite CRM that, under certain conditions, could allow a user to make arbitrary HTTP requests through the vulnerable server.

The vulnerability exists because a user-entered URL is passed to the getimagesize function.

public function handleInput($feed, $link_type, $link_url) { parent::handleInput($feed, $link_type, $link_url); // The FeedLinkHandlerLink class will help sort this url out for us $link_url = $feed->link_url; // Vulnerability Here $imageData = getimagesize($link_url); if (! isset($imageData)) { // The image didn't pull down properly, could be a link and allow_url_fopen could be disabled $imageData[0] = 0; $imageData[1] = 0; } else { if (max($imageData[0], $imageData[1]) > 425) { // This is a large image, we need to set some specific width/height properties so that the browser can scale it. $scale = 425 / max($imageData[0], $imageData[1]); $imageData[0] = floor($imageData[0]*$scale); $imageData[1] = floor($imageData[1]*$scale); } } $feed->link_url = base64_encode(serialize(array('url'=>$link_url,'width'=>$imageData[0],'height'=>$imageData[1])));
}

Evidence of exploitation

Our security policy

We have reserved the ID CVE-2023-6388 to refer to this issue from now on.

System Information

  • Version: Suite CRM v7.14.2

  • Operating System: MacOS

Mitigation

There is currently no patch available for this vulnerability.

Credits

The vulnerability was discovered by Carlos Bello from Fluid Attacks' Offensive Team.

References

Vendor page https://github.com/salesagility/SuiteCRM/

Timeline

Time-lapse-logo

2023-12-05

Vulnerability discovered.

Time-lapse-logo

2023-12-05

Vendor contacted.

Time-lapse-logo

2023-12-07

Vendor replied acknowledging the report.

Time-lapse-logo

2023-12-07

Vendor Confirmed the vulnerability.

Time-lapse-logo

2023-12-06

Vulnerability patched.

Time-lapse-logo

2024-02-06

Public Disclosure.

Fluid Logo Footer

Hacking software for over 20 years

Fluid Attacks tests applications and other systems, covering all software development stages. Our team assists clients in quickly identifying and managing vulnerabilities to reduce the risk of incidents and deploy secure technology.

Copyright © 0 Fluid Attacks. We hack your software. All rights reserved.