Skip to content
SSRF Write-up Intermediate

SugarCRM (ConnectorsController) Server-Side Request Forgery Vulnerability

The ConnectorsController::action_CallRest() method passes the 'url' request parameter to file_get_contents() without proper sanitisation. An attacker could exploit this to perform server-side request forgery and reflected cross-site scripting attacks.

karmainsecurity.com

Published on karmainsecurity.com

The vulnerability is located within the ConnectorsController::actionCallRest() method. User input passed through the “url” request parameter is not properly sanitized before being used in a call to the filegetcontents() PHP function.

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

Impact

An attacker could carry out server-side request forgery and reflected cross-site scripting attacks.

What the attacker needed

Access to the vulnerable endpoint

The fix

The vulnerability was fixed by updating to versions [redacted] and 7.11.0.0.

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.

The application takes a web address from the user and fetches it on the server without checking it. This lets an attacker make the server visit internal systems or run harmful scripts in a victim's browser.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.