CAPECattack pattern

CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content

High Official page ↗
Abstraction
Detailed
Status
Draft
Likelihood of attack
Low
Typical severity
High
CAPEC version
3.9

Description

An attacker exploits the underlying complexity of a data structure that allows for both signed and unsigned content, to cause unsigned data to be processed as though it were signed data.

Prerequisites

• Signer and recipient are using complex data storage structures that allow for a mix between signed and unsigned data • Recipient is using signature verification software that does not maintain separation between signed and unsigned data once the signature has been verified.

Skills required

• [High] The attacker may need to continuously monitor a stream of signed data, waiting for an exploitable message to appear. • [High] Attacker must be able to create malformed data blobs and know how to insert them in a location that the recipient will visit.

Mitigations

• Ensure the application is fully patched and does not allow the processing of unsigned data as if it is signed data.

Related

Child of · CAPEC (1)

Weakness · CWE (3)

  • CWE-311 Missing Encryption of Sensitive Data weakness
  • CWE-319 Cleartext Transmission of Sensitive Information weakness
  • CWE-693 Protection Mechanism Failure weakness

Referenced by CWE · attack pattern (3)

  • CWE-311 Missing Encryption of Sensitive Data weakness
  • CWE-319 Cleartext Transmission of Sensitive Information weakness
  • CWE-693 Protection Mechanism Failure weakness