CVE-2013-3900
WinVerifyTrust Signature Validation Vulnerability
Em resumo
O Windows tem uma falha no modo como verifica assinaturas digitais em arquivos executáveis. Um atacante poderia modificar um programa assinado sem quebrar a assinatura, potencialmente executando código malicioso que parece legítimo.
Detalhe técnico
A função WinVerifyTrust não valida adequadamente o padding em assinaturas Authenticode para arquivos PE, permitindo que um atacante injete código não assinado em executáveis assinados mantendo a verificação de assinatura. A vulnerabilidade requer modificação de um executável assinado existente; mitigação disponível via chave de registro EnableCertPaddingCheck (opt-in, não padrão).
Resumo gerado e traduzido por IA a partir da descrição oficial.
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
Produtos afetados
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)PoCs públicas encontradas — 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⚠ Recursos públicos, para você avaliar a exposição de sistemas que controla ou está autorizado a testar. Teste apenas com autorização.
Quer saber se a sua infraestrutura está exposta a isto?
Falar com a TrueHacking →Referências
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