测试版 Shoulder 目前处于测试阶段 — 结果有时可能不正确。您的反馈塑造我们接下来要修复的内容。 分享反馈
#4 A04:2021

Insecure Design

Insecure design is a broad category representing different weaknesses, expressed as missing or ineffective control design. This is distinct from implementation flaws.

概述

A new category for 2021 focuses on risks related to design and architectural flaws, with a call for more use of threat modeling, secure design patterns, and reference architectures.

攻击者如何利用此漏洞

理解攻击模式有助于您构建更好的防御。这些是安全团队监控的技术。

Business logic bypass

Application flows can be circumvented because the design didn't account for all possible user paths or state transitions.

检测信号: Users completing processes in unexpected order, missing validation at critical steps

Missing rate limiting

Sensitive operations like password reset or account creation lack rate limits, enabling automated attacks.

检测信号: High volume of requests to sensitive endpoints from single sources

如何预防

  • Establish a secure development lifecycle with security professionals
  • Use threat modeling for critical authentication and access control
  • Integrate security language and controls into user stories
  • Write unit and integration tests to validate security controls
  • Segregate tier layers based on exposure and protection needs
  • Limit resource consumption by user or service

有Shoulder检测的CWE (8)

这些CWE有Shoulder检测规则。点击查看具体漏洞和修复方法。

其他映射的CWE (32)

这些CWE映射到此类别,但尚无Shoulder规则。