![]() |
How do I test for SQL Injection
I just got a DB error and searched the IP it came from and its been reported for SQL Injection. Is there a way to test to see if they were successful?
Thanks. |
Anyone have a clue?
|
What DB error did u get?
|
I changed the DB table ID but her you go. And thanks for looking at it.
Quote:
|
You can use these to scan for anything suspicious.
SELECT title, phpcode, hookname, product FROM plugin WHERE phpcode LIKE '%base64%' OR phpcode LIKE '%exec%' OR phpcode LIKE '%system%' OR phpcode like '%pass_thru%' OR phpcode like '%iframe%'; SELECT styleid, title, template FROM template WHERE template LIKE '%base64%' OR template LIKE '%exec%' OR template LIKE '%system%' OR template like '%pass_thru%' OR template like '%iframe%'; Did you locate anything in the apache/nginx etc log related to that attempted post in the cms for that time stamp? |
Well, using PHPmyadmin I found the below items.
I'm not sure how to do the search you're referring to. And not sure how to check apache/nginx. In laymen's terms, please. And thanks for the help. %base64% in _searchcore_text, _pmtext, and _post %exec% in _autosave, _cache, _cacheevent, _widgetconfig, _widgettype, _cronlog, _datastore, dbtech_dbseo_resolvedurl, iei_img, _language, _phrase, _plugin, _pmtext, _post, _postedithistory, _productcode, _searchcore_text, _searchgroup_text, _style, _template, _templatehistory, _thread, _user |
Quote:
|
Not sure how to check in the ACP. Step by step if its not to much hassle.
Thanks |
ACP>Maintenance>Execute SQL Query
One at a time, paste his queries into the manual query box and click "Continue." You have to be a Super Admin with query running permissions as defined in includes/config.php or nothing will happen, except it will let you know you don't have permission to run queries. |
I tried
Quote:
Did I get the query wrong? Sorry I feel like a total noob. You would think after 12 years I would know how to do this. |
All times are GMT. The time now is 11:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|