CWE一覧に戻る
CWE-540

ソースコードに機密情報を含める

Inclusion of Sensitive Information in Source Code
脆弱性 作成中
JA

ウェブ・サーバーやリポジトリ上のソース・コードには機密情報が含まれていることが多く、一般的にはユーザーがアクセスできるべきではありません。

ある領域やサーバーからソースコードを削除することが重要な状況がある。例えば、システム上のPerlソースコードを取得すると、攻撃者はスクリプトのロジックを理解し、コードのバグやログインとパスワードなどの非常に有用な情報を抽出することができます。

EN

Source code on a web server or repository often contains sensitive information and should generally not be accessible to users.

There are situations where it is critical to remove source code from an area or server. For example, obtaining Perl source code on a system allows an attacker to understand the logic of the script and extract extremely useful information such as code bugs or logins and passwords.

Scope: Confidentiality / Impact: Read Application Data
Recommendations include removing this script from the web server and moving it to a location not accessible from the Internet.
MITRE公式ページ — CWE-540