Umbra Wiki weakness weakness/CWE-515
Back to wiki

CWE-515 — Covert Storage Channel

provenance: imported · CWE: CWE-515

CWE-515: Covert Storage Channel

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Incomplete
Likelihood of exploit High

Description

A covert storage channel transfers information through the setting of bits by one program and the reading of those bits by another. What distinguishes this case from that of ordinary operation is that the bits are used to convey encoded information.

Covert storage channels occur when out-of-band data is stored in messages for the purpose of memory reuse. Covert channels are frequently classified as either storage or timing channels. Examples would include using a file intended to hold only audit information to convey user passwords--using the name of a file or perhaps status bits associated with it that can be read by all users to signal the contents of the file. Steganography, concealing information in such a manner that no one but the intended recipient knows of the existence of the message, is a good example of a covert storage channel.

Common consequences

  • Confidentiality: Read Application Data
  • Integrity, Confidentiality: Read Application Data

Mitigations

Implementation — Ensure that all reserved fields are set to zero before messages are sent and that no unnecessary information is included.

References

  • CWE page: https://cwe.mitre.org/data/definitions/515.html
  • CWE list: https://cwe.mitre.org/data/index.html