CWE

Common Weakness Enumeration

A Community-Developed List of Software Weakness Types

CWE/SANS Top 25 Most Dangerous Software Errors
Home > CWE List > CWE- Individual Dictionary Definition (2.11)  
ID

CWE-837: Improper Enforcement of a Single, Unique Action

Weakness ID: 837
Abstraction: Base
Status: Incomplete
Presentation Filter:
+ Description

Description Summary

The software requires that an actor should only be able to perform an action once, or to have only one unique action, but the software does not enforce or improperly enforces this restriction.

Extended Description

In various applications, a user is only expected to perform a certain action once, such as voting, requesting a refund, or making a purchase. When this restriction is not enforced, sometimes this can have security implications. For example, in a voting application, an attacker could attempt to "stuff the ballot box" by voting multiple times. If these votes are counted separately, then the attacker could directly affect who wins the vote. This could have significant business impact depending on the purpose of the software.

+ Applicable Platforms

Languages

Language-independent

+ Common Consequences
ScopeEffect
Other

An attacker might be able to gain advantage over other users by performing the action multiple times, or affect the correctness of the software.

+ Observed Examples
ReferenceDescription
Ticket-booking web application allows a user to lock a seat more than once.
CMS allows people to rate downloads by voting more than once.
Polling software allows people to vote more than once by setting a cookie.
Chain: lack of validation of a challenge key in a game allows a player to register multiple times and lock other players out of the game.
Library feature allows attackers to check out the same e-book multiple times, preventing other users from accessing copies of the e-book.
Protocol implementation allows remote attackers to cause a denial of service (call-number exhaustion) by initiating many message exchanges.
+ Relationships
NatureTypeIDNameView(s) this relationship pertains toView(s)
ChildOfWeakness ClassWeakness Class799Improper Control of Interaction Frequency
Development Concepts (primary)699
Research Concepts (primary)1000
+ Content History
Submissions
Submission DateSubmitterOrganizationSource
2011-03-24MITREInternal CWE Team
Modifications
Modification DateModifierOrganizationSource
2012-05-11CWE Content TeamMITREInternal
updated Observed_Examples

More information is available — Please select a different filter.
Page Last Updated: May 05, 2017