GHSA-vx2x-9cff-fhjw json
DSInternals Credential Roaming Elevation of Privilege Vulnerability
published 3y ago modified last yr.
- cvss
- 6.3
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
### Impact
A vulnerability exists in the `DSInternals.Common.Data.RoamedCredential.Save()` method, which incorrectly parses the `msPKIAccountCredentials` LDAP attribute values. As a consequence, a malicious actor would be able to modify the file system of the computer where an application using this function is executed with administrative privileges.
A [similar security issue](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-30170) used to be present in the Windows operating system, as DSInternals re-implements the Credential Roaming feature of Windows.
### Exploitability
The vulnerability can be exploited under the following circumstances: - An attacker is able to modify the `msPKIAccountCredentials` attribute of a user account in Active Directory. This attribute is used by the Credential Roaming feature of Windows and each AD user can modify their own roamed credentials. AND - A 3rd party application uses the `DSInternals.Common` library to export roamed credentials from Active Directory to a file system. AND - The application has administrative privileges on the local system.
The probability of any 3rd-party product using the `DSInternals.Common` library being affected by this vulnerability is extremely low.
### Patches
The issue had been fixed in DSInternals 4.8.
### References
https://www.mandiant.com/resources/blog/apt29-windows-credential-roaming
Patch / fix
- nuget DSInternals.Common 4.8
Is GHSA-vx2x-9cff-fhjw in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | DSInternals.Common | >=2.21, <4.8 |
4.8 |
References
Sources
- GitHub Advisory GHSA-vx2x-9cff-fhjw
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.