CWE-515

Covert Storage Channel
AI Translation Available

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.

Status
incomplete
Abstraction
base
Likelihood
high

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 integrity
Impacts
read application data

Potential Mitigations

Phases:
implementation
Descriptions:
• Ensure that all reserved fields are set to zero before messages are sent and that no unnecessary information is included.