Description
The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in the current working directory because of an untrusted search path, aka DLL hijacking.
References (2)
Core 2
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/libexpat/libexpat/issues/82
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/100147
Scores
CVSS v3
7.8
EPSS
0.0047
EPSS Percentile
36.8%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-426
Status
published
Products (2)
libexpat_project/libexpat
2.2.1
libexpat_project/libexpat
2.2.2
Published
Jul 30, 2017
Tracked Since
Feb 18, 2026