Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents a HIGH real-world risk despite the moderate CVSS score. Key risk factors: (1) Network attack vector (AV:N) with low complexity (AC:L) and no authentication required (PR:N) makes exploitation trivial; (2) Scope is Changed (S:C), indicating the impact extends beyond the vulnerable component to other systems; (3) The combination of SSRF + code injection is particularly dangerous in cloud environments where metadata endpoints (AWS EC2, Azure, GCP) are exploitable for credential theft; (4) CWE-94 (code injection) in an API context often correlates with high exploitation rates; (5) No availability impact (A:N) suggests this is not a worm/DoS vector but highly targeted for reconnaissance and lateral movement. EPSS score would likely be elevated (>0.6) given the attack surface and lack of prerequisites. If KEV/CISA listing status confirms active exploitation, this becomes a critical priority despite CVSS 7.2. The vulnerability is particularly concerning for SugarCRM deployments handling sensitive customer data or running on cloud infrastructure with implicit authentication to metadata services. |
| Exploit ScenarioDerived | An unauthenticated attacker discovers a SugarCRM 14.0.0 instance deployed on AWS. The attacker crafts an API request to a vulnerable endpoint, injecting code that causes the SugarCRM server to make an HTTP request to the AWS metadata service (http://169.254.169.254/latest/meta-data/iam/security-credentials/). The injected code bypasses input validation due to CWE-94 insufficient sanitization. The SugarCRM server, running with IAM role credentials, returns temporary AWS credentials in the response, which the attacker captures. The attacker uses these credentials to pivot to other AWS resources. No authentication is required, no user interaction is needed (UI:N), and the attack requires only network access. The entire exploit chain can be automated. Post-exploitation could include accessing S3 buckets containing customer data, launching instances, or modifying security groups—hence the Changed Scope (S:C) impact designation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2024-58258 is a Server-Side Request Forgery (SSRF) vulnerability in SugarCRM's API module that exploits limited code injection capabilities to allow unauthenticated remote attackers to make arbitrary requests from the affected server. SugarCRM versions before 13.0.4 and 14.x before 14.0.1 are affected, potentially enabling attackers to access internal resources, cloud metadata endpoints, or perform lateral movement. The vulnerability has a CVSS 3.1 score of 7.2 (High) with network-based attack vector and no authentication required, though it does not enable direct code execution or availability impact.
RemediationAI
{'type': 'Patch', 'version': '13.0.4', 'description': 'Update SugarCRM 13.x installations to version 13.0.4 or later', 'priority': 'Critical'} {'type': 'Patch', 'version': '14.0.1', 'description': 'Update SugarCRM 14.x installations to version 14.0.1 or later', 'priority': 'Critical'} {'type': 'Mitigation', 'description': 'Implement network-level controls to restrict outbound HTTP/HTTPS requests from SugarCRM application servers, particularly blocking access to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and cloud metadata endpoints (169.254.169.254 for AWS)', 'priority': 'High'} {'type': 'Mitigation', 'description': 'Apply API rate limiting and request validation at the SugarCRM API gateway level to restrict unusual request patterns', 'priority': 'Medium'} {'type': 'Detection', 'description': 'Monitor API access logs for anomalous requests to internal resources or non-whitelisted external URLs; implement WAF rules to detect code injection patterns in API parameters', 'priority': 'High'}
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from CWE-94 (Improper Control of Generation of Code, aka 'Code Injection') within SugarCRM's API module. The underlying issue involves insufficient input validation or output encoding when processing API requests, allowing attackers to inject limited code constructs that enable SSRF attacks. SugarCRM is a web-based Customer Relationship Management (CRM) platform built on PHP and leveraging REST API interfaces. The affected CPE strings are: cpe:2.3:a:sugarcrm:sugarcrm:*:*:*:*:*:*:*:* (versions <13.0.4 and 14.0.0). The API module likely processes user-supplied parameters without adequate sanitization before passing them to HTTP client libraries or file operations, enabling attackers to specify arbitrary target URLs or internal resources for the server to request on their behalf.
Know when Salesforce gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
SugarCRM before 13.0.4 and 14.x before 14.0.1 allows SSRF in the API module because a limited type of code injection can occur.
Executive ViewAI
SugarCRM contains an unauthenticated Server-Side Request Forgery (SSRF) vulnerability allowing remote attackers to redirect internal server requests toward cloud metadata endpoints and internal resources, potentially exposing sensitive credentials and enabling lateral network movement. Organizations running SugarCRM versions 13.0.3 and earlier or 14.0.0 should prioritize patching to prevent unauthorized access to internal infrastructure and cloud service credentials.
Apply vendor patch. If immediate patching is not possible: (1) Implement network segmentation to restrict SugarCRM server outbound access to only required external destinations via firewall rules; (2) Block access to internal IP ranges and 169.254.169.254 at the network perimeter; (3) Disable or restrict SugarCRM API endpoints to authenticated users only through WAF or reverse proxy rules; (4) Monitor for suspicious outbound connections from SugarCRM processes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
More in Salesforce
View allVersions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cook
Salesforce Uni2TS time series forecasting library (through 1.2.0) has a code injection vulnerability that allows leverag
Argument injection in Salesforce Marketing Cloud Engagement CloudPagesURL component. Second Salesforce Marketing Cloud C
Argument injection in Salesforce Marketing Cloud Engagement MicrositeURL component allows command execution. First of fo
Hardcoded cryptographic key in Salesforce Marketing Cloud Engagement used across CloudPages, Forward to a Friend, Profil
Use of broken/risky cryptographic algorithm in Salesforce Marketing Cloud Engagement affecting CloudPages, Forward to a
MuleSoft is aware of a XML External Entity (XXE) vulnerability affecting certain versions of a Mule runtime component th
MuleSoft is aware of a Server Side Request Forgery vulnerability affecting certain versions of a Mule runtime component
MuleSoft is aware of a Remote Code Execution vulnerability affecting certain versions of a Mule runtime component that m
An Improper Neutralization of Argument Delimiters (Argument Injection) vulnerability exists in Salesforce Marketing Clou
A remote code execution vulnerability (CVSS 9.1). Critical severity with potential for significant impact on affected sy
A ReDoS (regular expression denial of service) flaw was found in the tough-cookie module before 2.3.3 for Node.js. Rated
EUVD-2024-54779
NVD
CVE.org
EPSS
Exploit-DB
GitHub PoC