The product does not record or display information that would be important for identifying the source or nature of an attack, or determining if an action is safe.
View on MITREThe source of an attack will be difficult or impossible to determine. This can allow attacks to the system to continue without notice.
No mitigation information available for this CWE.
No detection method information available for this CWE.
This code logs suspicious multiple login attempts.
This code only logs failed login attempts when a certain limit is reached. If an attacker knows this limit, they can stop their attack from being discovered by avoiding the limit.
This code prints the contents of a file if a user has permission.
While the code logs a bad access attempt, it logs the user supplied name for the file, not the canonicalized file name. An attacker can obscure their target by giving the script the name of a link to the file they are attempting to access. Also note this code contains a race condition between the is_link() and readlink() functions (CWE-363).
Login attempts are not recorded if the user disconnects before the maximum number of tries.
View DetailsCWE-223: Omission of Security-relevant Information is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The product does not record or display information that would be important for identifying the source or nature of an attack, or determining if an action is safe.
If exploited, CWE-223 (Omission of Security-relevant Information) it can compromise Non-Repudiation, leading to outcomes such as Hide Activities.
CWE-223 commonly affects Not Language-Specific. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.
MITRE documents real CVEs mapped to CWE-223, including CVE-1999-1029, CVE-2002-1839 and CVE-2000-0542. You can look up the full details of each CVE, including CVSS scores and remediation guidance, on our CVE Lookup tool.
A CWE (Common Weakness Enumeration) like CWE-223 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.