---
title: "CWE-799: Improper Control of Interaction Frequency"
url: https://radicalnotion.ai/cwe/cwe-799
type: cwe
description: "The product does not properly limit the number or frequency of interactions that it has with an actor, such as the number of incoming requests."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-799: Improper Control of Interaction Frequency

- **Abstraction:** Class
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 65
- **Of those, in CISA KEV:** 0
- **New in 2026:** 26
- **CWE catalog version:** 4.21

## Description

The product does not properly limit the number or frequency of interactions that it has with an actor, such as the number of incoming requests.

## Alternate terms

- **Insufficient anti-automation:** The term "insufficient anti-automation" focuses primarily on non-human actors such as viruses or bots, but the scope of this CWE entry is broader.
- **Brute force:** Vulnerabilities that can be targeted using brute force attacks are often symptomatic of this weakness.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |
| Operation | - |

## Applicable platforms

**Technologies:** Web Based (Undetermined), Web Server (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Availability, Access Control, Other | DoS: Resource Consumption (Other), Bypass Protection Mechanism, Varies by Context | This can allow the actor to perform actions more frequently than expected. The actor could be a human or an automated process such as a virus or bot. The consequences vary based on the intended logic of the code. For example, humans might be able to vote multiple times in a poll, or to perform password-guessing attacks without any rate limits. |

## Demonstrative examples

### Example 1

In the following code a username and password is read from a socket and an attempt is made to authenticate the username and password. The code will continuously checked the socket for a username and password until it has been authenticated.

Bad code:

```c
char username[USERNAME_SIZE];
char password[PASSWORD_SIZE];

while (isValidUser == 0) {
    if (getNextMessage(socket, username, USERNAME_SIZE) > 0) {
        if (getNextMessage(socket, password, PASSWORD_SIZE) > 0) {
            isValidUser = AuthenticateUser(username, password);
        }
    }
}
return(SUCCESS);
```

Good code:

```c
int count = 0;
while ((isValidUser == 0) && (count < MAX_ATTEMPTS)) {
    if (getNextMessage(socket, username, USERNAME_SIZE) > 0) {
        if (getNextMessage(socket, password, PASSWORD_SIZE) > 0) {
            isValidUser = AuthenticateUser(username, password);
        }
    }
    count++;
}
if (isValidUser) {
    return(SUCCESS);
}
else {
    return(FAIL);
}
```

This code does not place any restriction on the number of authentication attempts made. There should be a limit on the number of authentication attempts made to prevent brute force attacks as in the following example code.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2024-50653 | Chain: e-commerce product has a "front-end restriction" for coupon use (CWE-602), but the server does not restrict the number of requests for the same coupon (CWE-799) |
| CVE-2002-1876 | Mail server allows attackers to prevent other users from accessing mail by sending a large number of rapid requests. |

## Real CVEs with this weakness (sample of 12 of 65)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-54321 | - | critical | 9.8 | - | No | 2025-11-18 |
| CVE-2023-40332 | WordPress WP-PostRatings plugin \<= 1.91 - Rating limit Bypass vulnerability | critical | 9.8 | - | No | 2024-06-04 |
| CVE-2024-48942 | - | critical | 9.1 | - | No | 2024-10-09 |
| CVE-2023-7006 | CVE-2023-7006 | critical | 9.1 | - | No | 2024-03-15 |
| CVE-2026-100603 | ClawHub before 8c2de6c506 Skill Hiding via Coordinated Reports | high | 8.7 | - | No | 2026-09-26 |
| CVE-2024-45788 | No Rate Limiting Vulnerability | high | 8.7 | - | No | 2024-09-11 |
| CVE-2024-32943 | Westermo L210-F2G Lynx Improper Control of Interaction Frequency | high | 8.7 | - | No | 2024-06-20 |
| CVE-2024-35246 | Westermo L210-F2G Lynx Improper Control of Interaction Frequency | high | 8.7 | - | No | 2024-06-20 |
| CVE-2025-29998 | No Rate Limiting Vulnerability in CAP back office application | high | 8.2 | - | No | 2025-03-13 |
| CVE-2026-7402 | Improper Rate Limiting in MeWare Software's PDKS | high | 8.1 | - | No | 2026-04-30 |
| CVE-2021-41177 | Rate-limits not working on instances without configured memory cache backend | high | 8.1 | - | No | 2021-10-25 |
| CVE-2024-9199 | Rate limit vulnerability in Clibo Manager | high | 7.5 | - | No | 2024-09-26 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-691](https://radicalnotion.ai/cwe/cwe-691) | Insufficient Control Flow Management |
| Child | [CWE-307](https://radicalnotion.ai/cwe/cwe-307) | Improper Restriction of Excessive Authentication Attempts |
| Child | [CWE-837](https://radicalnotion.ai/cwe/cwe-837) | Improper Enforcement of a Single, Unique Action |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| WASC | Insufficient Anti-Automation | 21 | - |

## Frequently asked questions

### What is CWE-799?

The product does not properly limit the number or frequency of interactions that it has with an actor, such as the number of incoming requests.

### What CVEs are caused by CWE-799?

65 recorded CVEs are attributed to CWE-799, including CVE-2025-54321, CVE-2023-40332 and CVE-2024-48942.

### What are the consequences of CWE-799?

Exploiting CWE-799 can lead to: DoS: Resource Consumption (Other), Bypass Protection Mechanism, Varies by Context.

### Is CWE-799 actively exploited?

65 recorded CVEs are caused by CWE-799; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/799.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-799). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
