| Title | Linksys EA8100 Router firmware 1.0.3.216940 Improper Restriction of Excessive Authentication Attempts |
|---|
| Description | No rate limiting or lockout on admin authentication (JNAP CheckAdminPassword)
### Vulnerability description
The JNAP action `http://linksys.com/jnap/core/CheckAdminPassword`
(reached via `POST /JNAP/` with an `X-JNAP-Authorization: Basic
<base64(admin:password)>` header, the router's authentication scheme)
has no rate limiting, exponential backoff, CAPTCHA, or account lockout
of any kind. 15 consecutive failed attempts were sent with no increase
in response latency and no change in the error response. A further 60
attempts at moderate concurrency (10 simultaneous connections) all
completed successfully at a sustained rate of approximately 4 attempts
per second, roughly 14,400 attempts per hour, with the device showing
no sign of throttling the requests, only ordinary response-time
variance under load.
This means the admin password is protected only by its own strength
against online guessing, since the well-known "admin"/"admin" default
alone was in-place on this unit before I applied any protection, there
is no secondary control (delay, lockout, or CAPTCHA) that would slow or
stop an attacker methodically working through a password list.
### Step-by-step PoC (as validated)
From any device on the same network as the router, with no prior
authentication and no valid credentials:
```
for i in $(seq 1 15); do
curl -k -X POST https://<router-ip>/JNAP/ \
-H "X-JNAP-Action: http://linksys.com/jnap/core/CheckAdminPassword" \
-H "X-JNAP-Authorization: Basic $(echo -n "admin:wrongpass$i" | base64)" \
-H "Content-Type: application/json" \
-d '{}'
done
```
All 15 attempts return the same `_ErrorUnauthorized` response with
sub-second, non-increasing latency (approximately 0.39-0.54s per
request in serial testing), confirming no delay penalty is applied
after repeated failures. A concurrent run of 60 further attempts (10 at
a time) completed at approximately 4 attempts/second sustained, with no
attempts blocked, delayed, or rejected for any reason other than the
wrong password.
### Impact
An attacker with LAN access (or, per findings 001/002, potentially a
remote attacker who can get a LAN device to load a malicious page,
since the same missing-Host-validation issue applies to this endpoint
too) can run an unthrottled online dictionary or brute-force attack
against the admin password. At roughly 14,000+ attempts/hour with no
lockout, a common-password or small-to-medium dictionary attack is
practical within hours, and combined with finding 002's
`IsAdminPasswordDefault` check, an attacker can first triage which
devices are still on factory defaults (no brute-forcing needed at all)
before spending brute-force effort on the remainder.
### Recommendation
Add rate limiting to `CheckAdminPassword` (and any other
authentication-bearing action), for example: a short, increasing delay
after each failed attempt from the same source, a temporary lockout
after a small number of consecutive failures (with a safe local-console
or physical-reset recovery path, so this cannot itself become a
remote-DoS-of-legitimate-admin vector), and/or a CAPTCHA after a
threshold of failures. As with findings 001 and 002, adding Host-header
validation to the JNAP listener would also reduce this endpoint's
exposure to non-LAN-local attackers specifically. |
|---|
| User | geochen (UID 78995) |
|---|
| Submission | 10/18/2026 09:53 (1 month ago) |
|---|
| Moderation | 11/12/2026 18:28 (25 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 436429 [Linksys EA8100 1.0.3.216940 CheckAdminPassword excessive authentication] |
|---|
| Points | 20 |
|---|