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

Base Incomplete Simple

CWE版本: 4.18

更新日期: 2025-09-09

弱点描述

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

扩展描述

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 product.

常见后果

影响范围: Other

技术影响: Varies by Context

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

观察示例

参考: CVE-2008-0294

Ticket-booking web application allows a user to lock a seat more than once.

参考: CVE-2005-4051

CMS allows people to rate downloads by voting more than once.

参考: CVE-2002-216

Polling software allows people to vote more than once by setting a cookie.

参考: CVE-2003-1433

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.

参考: CVE-2002-1018

Library feature allows attackers to check out the same e-book multiple times, preventing other users from accessing copies of the e-book.

参考: CVE-2009-2346

Protocol implementation allows remote attackers to cause a denial of service (call-number exhaustion) by initiating many message exchanges.

适用平台

编程语言
Not Language-Specific (Undetermined)
关键信息

CWE ID: CWE-837

抽象级别: Base

结构: Simple

状态: Incomplete

相关弱点