CVE-2021-45492
Sage 300 ERP SageInt random DLL Search-Order Hijacking
Description
In Sage 300 ERP (formerly accpac) through 6.8.x, the installer configures the C:\Sage\Sage300\Runtime directory to be the first entry in the system-wide PATH environment variable. However, this directory is writable by unprivileged users because the Sage installer fails to set explicit permissions and therefore inherits weak permissions from the C:\ folder. Because entries in the system-wide PATH variable are included in the search order for DLLs, an attacker could perform DLL search-order hijacking to escalate their privileges to SYSTEM. Furthermore, if the Global Search or Web Screens functionality is enabled, then privilege escalation is possible via the GlobalSearchService and Sage.CNA.WindowsService services, again via DLL search-order hijacking because unprivileged users would have modify permissions on the application directory. Note that while older versions of the software default to installing in %PROGRAMFILES(X86)% (which would allow the Sage folder to inherit strong permissions, making the installation not vulnerable), the official Sage 300 installation guides for those versions recommend installing in C:\Sage, which would make the installation vulnerable.
INFO
Published Date :
July 14, 2022, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 6:32 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-45492
.
URL | Resource |
---|---|
https://controlgap.com/blog?tag=insecurity | Third Party Advisory |
https://www.controlgap.com/blog/sage-300-case-study | Exploit Mitigation Third Party Advisory |
https://controlgap.com/blog?tag=insecurity | Third Party Advisory |
https://www.controlgap.com/blog/sage-300-case-study | Exploit Mitigation Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-45492
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-45492
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://controlgap.com/blog?tag=insecurity Added Reference https://www.controlgap.com/blog/sage-300-case-study -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jul. 28, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://controlgap.com/blog?tag=insecurity No Types Assigned https://controlgap.com/blog?tag=insecurity Third Party Advisory Changed Reference Type https://www.controlgap.com/blog/sage-300-case-study No Types Assigned https://www.controlgap.com/blog/sage-300-case-study Exploit, Mitigation, Third Party Advisory Added CWE NIST CWE-427 Added CPE Configuration OR *cpe:2.3:a:sage:sage_300:*:*:*:*:*:*:*:* versions up to (including) 2022
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-45492
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-45492
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.02 }} -0.00%
score
0.02897
percentile