CVE-2013-3900
WinVerifyTrust Signature Validation Vulnerability
In short
Windows has a flaw in how it checks digital signatures on executable files. An attacker could modify a signed program without breaking the signature check, potentially running malicious code that appears legitimate.
Technical detail
WinVerifyTrust function fails to properly validate padding in Authenticode signatures for PE files, allowing an attacker to inject unsigned code into signed executables while maintaining signature verification. The vulnerability requires modifying an existing signed executable; mitigation is available via EnableCertPaddingCheck registry setting (opt-in, not default).
Summary generated and translated by AI from the official description.
Why is Microsoft republishing a CVE from 2013?
We are republishing CVE-2013-3900 in the Security Update Guide to update the Security Updates table and to inform customers that the EnableCertPaddingCheck is available in all currently supported versions of Windows 10 and Windows 11. While the format is different from the original CVE published in 2013, except for clarifications about how to configure the EnableCertPaddingCheck registry value, the information herein remains unchanged from the original text published on December 10, 2013,
Microsoft does not plan to enforce the stricter verification behavior as a default functionality on supported releases of Microsoft Windows. This behavior remains available as an opt-in feature via reg key setting, and is available on supported editions of Windows released since December 10, 2013. This includes all currently supported versions of Windows 10 and Windows 11. The supporting code for this reg key was incorporated at the time of release for Windows 10 and Windows 11, so no security update is required; however, the reg key must be set. See the Security Updates table for the list of affected software.
Vulnerability Description
A remote code execution vulnerability exists in the way that the WinVerifyTrust function handles Windows Authenticode signature verification for portable executable (PE) files. An anonymous attacker could exploit the vulnerability by modifying an existing signed executable file to leverage unverified portions of the file in such a way as to add malicious code to the file without invalidating the signature. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.
If a user is logged on with administrative user rights, an attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.
Exploitation of this vulnerability requires that a user or application run or install a specially crafted, signed PE file. An attacker could modify an... See more at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2013-3900
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C
Affected products
Microsoft · Windows 10 Version 1507Microsoft · Windows 10 Version 1607Microsoft · Windows 10 Version 1809Microsoft · Windows 10 Version 21H2Microsoft · Windows 10 Version 22H2Microsoft · Windows 11 version 21H2Microsoft · Windows 11 version 22H2Microsoft · Windows 11 version 22H3Microsoft · Windows 11 Version 23H2Microsoft · Windows 11 Version 24H2Microsoft · Windows Server 2008 R2 Service Pack 1Microsoft · Windows Server 2008 R2 Service Pack 1 (Server Core installation)Microsoft · Windows Server 2008 Service Pack 2Microsoft · Windows Server 2008 Service Pack 2Microsoft · Windows Server 2008 Service Pack 2 (Server Core installation)Microsoft · Windows Server 2012Microsoft · Windows Server 2012 R2Microsoft · Windows Server 2012 R2 (Server Core installation)Microsoft · Windows Server 2012 (Server Core installation)Microsoft · Windows Server 2016Microsoft · Windows Server 2016 (Server Core installation)Microsoft · Windows Server 2019Microsoft · Windows Server 2019 (Server Core installation)Microsoft · Windows Server 2022Microsoft · Windows Server 2022, 23H2 Edition (Server Core installation)Microsoft · Windows Server 2025Microsoft · Windows Server 2025 (Server Core installation)public PoCs found — 14
githubgithub.com/norvethil/CVE-2013-3900-PowerShell-PoC★ 5githubgithub.com/CyberCondor/Fix-WinVerifyTrustSignatureValidationVuln★ 3githubgithub.com/OtisSymbos/CVE-2013-3900-WinTrustVerify★ 1githubgithub.com/DavidBr27/CVE-2013-3900-Remediation-Script★ 0githubgithub.com/piranhap/CVE-2013-3900_Remediation_PowerShell★ 0githubgithub.com/pkblanks/Remediating-CVE-2013-3900-EnableCertPaddingCheck-★ 0githubgithub.com/malaya-m/cve-2013-3900-remediation-report★ 0githubgithub.com/Sabecomoeh/CVE-2013-3900★ 0githubgithub.com/oukridrig772/-WinVerifyTrust-Signature-Validation-CVE-2013-3900-Mitigation★ 0githubgithub.com/ksgassama-lab/vulnerability-remediation-cve-2013-3900★ 0githubgithub.com/snoopopsec/vulnerability-CVE-2013-3900★ 0githubgithub.com/SDimitri05/cve-2013-3900-winverifytrust-mitigation★ 0githubgithub.com/Securenetology/CVE-2013-3900★ 0githubgithub.com/AdenilsonSantos/WinVerifyTrust★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
http://blogs.technet.com/b/srd/archive/2013/12/10/ms13-098-update-to-enhance-the-security-of-authenticode.aspxhttps://docs.microsoft.com/en-us/security-updates/securitybulletins/2013/ms13-098https://msrc.microsoft.com/update-guide/vulnerability/CVE-2013-3900https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2013-3900