[Forgot Password]
Login  Register Subscribe

23631

 
 

115083

 
 

97389

 
 

909

 
 

78730

 
 

109

Paid content will be excluded from the download.


Download | Alert*
CWE
view XML

Improper Verification of Cryptographic Signature

ID: 347Date: (C)2012-05-14   (M)2017-10-12
Type: weaknessStatus: DRAFT
Abstraction Type: Base





Description

The software does not verify, or incorrectly verifies, the cryptographic signature for data.

Applicable Platforms
Language Class: All

Time Of Introduction

  • Architecture and Design
  • Implementation

Related Attack Patterns

Common Consequences

ScopeTechnical ImpactNotes
Access_Control
Integrity
Confidentiality
 
Gain privileges / assume identity
Modify application data
Execute unauthorized code or commands
 
An attacker could gain access to sensitive data and possibly execute unauthorized code.
 

Detection Methods
None

Potential Mitigations
None

Relationships

Related CWETypeViewChain
CWE-347 ChildOf CWE-903 Category CWE-888  

Demonstrative Examples   (Details)

  1. In the following Java snippet, a JarFile object (representing a JAR file that was potentially downloaded from an untrusted source) is created without verifying the signature (if present). An alternate constructor that accepts a boolean verify parameter should be used instead.

Observed Examples

  1. CVE-2002-1796 : Does not properly verify signatures for "trusted" entities.
  2. CVE-2005-2181 : Insufficient verification allows spoofing.
  3. CVE-2005-2182 : Insufficient verification allows spoofing.
  4. CVE-2002-1706 : Accepts a configuration file without a Message Integrity Check (MIC) signature.

For more examples, refer to CVE relations in the bottom box.

White Box Definitions
None

Black Box Definitions
None

Taxynomy Mappings

TaxynomyIdNameFit
PLOVER  Improperly Verified Signature
 
 
CERT Java Secure Coding SEC06-J
 
Do not rely on the default automatic signature verification provided by URLClassLoader and java.util.jar
 
 

References:
None

© 2013 SecPod Technologies