PT-2018-16195 · Salesforce · Restforce

Reedloden

·

Published

2018-08-03

·

Updated

2023-02-28

·

CVE-2018-3777

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions restforce versions prior to 3.0.0
Description The issue is related to insufficient URI encoding, allowing an attacker to inject arbitrary parameters into Salesforce API requests. This flaw is only exploitable in applications that pass user input directly to restforce's select, find, describe, update, upsert, and destroy methods. Attackers could manipulate the request to access different endpoints or modify data by overriding HTTP methods via request parameters, such as HttpMethod=PATCH.
Recommendations For versions prior to 3.0.0, consider updating to version 3.0.0 or later to resolve the issue. As a temporary workaround, applications should track Salesforce IDs internally rather than passing user-supplied IDs to Salesforce to mitigate this vulnerability.

Exploit

Fix

RCE

Weakness Enumeration

Related Identifiers

CVE-2018-3777
GHSA-534W-937M-V7X3

Affected Products

Restforce