CWE-615Inclusion of Sensitive Information in Source Code Comments

PUBLISHEDweakness record
released 2007-05-07 · last modified 2025-12-11

Metadata

CWE ID:
CWE-615
摘要:
Variant
结构:
Simple
状态:
Incomplete
发布日期:
2007-05-07
更新日期:
2025-12-11

名称

Inclusion of Sensitive Information in Source Code Comments

描述

While adding general comments is very useful, some programmers tend to leave important data, such as: filenames related to the web application, old links or links which were not meant to be browsed by users, old code fragments, etc.

An attacker who finds these comments can map the application's structure and files, expose hidden parts of the site, and study the fragments of code to reverse engineer the application, which may help develop further attacks against the site.

常见后果

范围:
Confidentiality
影响:
Read Application Data

相关 CWE