ベータ Shoulder はベータ版です — 結果が誤っている場合があります。皆さまのフィードバックが次に修正する内容を決定します。 フィードバックを送る
#4 A04:2025

Cryptographic Failures

Failures related to cryptography which often lead to sensitive data exposure. This includes using weak algorithms, improper key management, and missing encryption.

概要

Dropped to #4 from #2. Focuses on failures related to cryptography which often leads to sensitive data exposure or system compromise. 3.80% incidence rate across tested applications.

攻撃者がこれを悪用する方法

攻撃パターンを理解することで、より優れた防御を構築できます。これらはセキュリティチームが監視する技術です。

Data exposure in transit

Sensitive data transmitted over unencrypted connections can be intercepted. This includes passwords, session tokens, and personal information.

検出シグナル: HTTP (not HTTPS) requests containing authentication data or sensitive information

Weak cryptographic storage

Data stored with weak or broken encryption (MD5, SHA1, DES) can be recovered by attackers who gain database access.

検出シグナル: Database dumps containing hashed passwords with known weak algorithms

Hardcoded secrets

API keys, passwords, or encryption keys embedded in source code can be extracted from repositories or compiled binaries.

検出シグナル: Secrets in version control history, keys matching known patterns in code

予防方法

  • Classify data processed, stored, or transmitted by an application
  • Don't store sensitive data unnecessarily
  • Encrypt all sensitive data at rest using modern algorithms
  • Use up-to-date and strong standard algorithms and protocols
  • Encrypt all data in transit with secure protocols such as TLS 1.3
  • Disable caching for responses containing sensitive data
  • Store passwords using strong salted hashing functions (Argon2, bcrypt, scrypt)

Shoulder検出付きCWE (9)

これらのCWEにはShoulder検出ルールがあります。クリックして特定の脆弱性と修正を確認してください。

その他のマップされたCWE (22)

これらのCWEはこのカテゴリにマップされていますが、まだShoulderルールがありません。