This weakness occurs when the same piece of code or control logic is duplicated across different architectural layers of an application, such as the presentation, business, and data layers.
Repeating the same control logic in multiple layers creates a tangled codebase that is difficult to understand and maintain. Developers must track and update the same logic in several places, which increases the chance of inconsistencies and makes changes riskier and more time-consuming. This architectural flaw indirectly harms security by obscuring the true data flow and making vulnerabilities harder to spot and fix. The resulting complexity can lead to security gaps, as developers might miss a copy of the logic when applying a critical patch, or introduce new bugs while trying to synchronize changes across layers.
Impact: Reduce Maintainability