CWE-840: CWE CATEGORY: Business Logic Errors

ClassStable

Weaknesses in this category identify some of the underlying problems that commonly allow attackers to manipulate the business logic of an application. Errors in business logic can be devastating to an entire application. They can be difficult to find automatically, since they typically involve legitimate use of the application's functionality. However, many business logic errors can exhibit patterns that are similar to well-understood implementation and design weaknesses.

View on MITRE
Back to CWE Lookup

Technical Details

Structure
Simple
Vulnerability Mapping
PROHIBITED

Applicable To

Languages
Platforms

Source-backed guidance

Additional facts reviewed against primary or authoritative security sources.

Use the CWE-840 category to scope related security reviews

MITRE defines CWE-840 as a category that links 8 CWE members, including CWE-283, CWE-639, CWE-640, CWE-708, and CWE-770. Use the grouping to scope related review work, then follow the linked member entries for weakness-specific implementation and verification guidance.

CWE-840: CWE CATEGORY: Business Logic ErrorsMITRE CWE

Frequently Asked Questions

What is CWE-840: CWE CATEGORY: Business Logic Errors?+

CWE-840: CWE CATEGORY: Business Logic Errors is a Common Weakness Enumeration (CWE) entry maintained by MITRE. Weaknesses in this category identify some of the underlying problems that commonly allow attackers to manipulate the business logic of an application. Errors in business logic can be devastating to an entire application. They can be difficult to find automatically, since they typically involve legitimate use of the application's functionality. However, many business logic errors can exhibit patterns that are similar to well-understood implementation and design weaknesses.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-840 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More

Advertisement