CVE-2023-39969

uthenticode is a small cross-platform library for partially verifying Authenticode digital signatures. Version 1.0.9 of uthenticode hashed the entire file rather than hashing sections by virtual address, in violation of the Authenticode specification. As a result, an attacker could modify code within a binary without changing its Authenticode hash, making it appear valid from uthenticode's perspective. Versions of uthenticode prior to 1.0.9 are not vulnerable to this attack, nor are versions in the 2.x series. By design, uthenticode does not perform full-chain validation. However, the malleability of signature verification introduced in 1.0.9 was an unintended oversight. The 2.x series addresses the vulnerability. Versions prior to 1.0.9 are also not vulnerable, but users are encouraged to upgrade rather than downgrade. There are no workarounds to this vulnerability.
Configurations

Configuration 1 (hide)

cpe:2.3:a:trailofbits:uthenticode:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 9.0
References () https://github.com/trailofbits/uthenticode/commit/8670b7bb9154d79c276483dcb7c9e9fd5e66455b - Patch () https://github.com/trailofbits/uthenticode/commit/8670b7bb9154d79c276483dcb7c9e9fd5e66455b - Patch
References () https://github.com/trailofbits/uthenticode/pull/84 - Patch () https://github.com/trailofbits/uthenticode/pull/84 - Patch
References () https://github.com/trailofbits/uthenticode/security/advisories/GHSA-rc7g-99x7-4p9g - Vendor Advisory () https://github.com/trailofbits/uthenticode/security/advisories/GHSA-rc7g-99x7-4p9g - Vendor Advisory
Summary
  • (es) uthenticode es una pequeña biblioteca multiplataforma para verificar parcialmente firmas digitales Authenticode. La versión 1.0.9 de uthenticode realiza el hash de todo el archivo en lugar de realizar el hash de secciones por dirección virtual, lo que viola la especificación Authenticode. Como resultado, un atacante podría modificar el código dentro de un binario sin cambiar su hash Authenticode, haciéndolo parecer válido desde la perspectiva de uthenticode. Las versiones de uthenticode anteriores a la 1.0.9 no son vulnerables a este ataque, como tampoco lo son las versiones de la serie 2.x. Por diseño, uthenticode no realiza una validación de cadena completa. Sin embargo, la maleabilidad de la verificación de firmas introducida en 1.0.9 fue un descuido involuntario. La serie 2.x soluciona la vulnerabilidad. Las versiones anteriores a la 1.0.9 tampoco son vulnerables, pero se recomienda a los usuarios que actualicen en lugar de degradar. No existen soluciones a esta vulnerabilidad.

Information

Published : 2023-08-09 16:15

Updated : 2024-11-21 08:16


NVD link : CVE-2023-39969

Mitre link : CVE-2023-39969

CVE.ORG link : CVE-2023-39969


JSON object : View

Products Affected

trailofbits

  • uthenticode
CWE
CWE-347

Improper Verification of Cryptographic Signature