Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

How to sql a Jquery ajax login page?

Hey sorry if its newbie question but recently learned some sql techniques and I created a login page in wordpress using jquery ajax.
my questions are how do I bypass or sql inject the login page.
(Feb 28, 2020 02:55 AM)Nayan Wrote:  Hey sorry if its newbie question but recently learned some sql techniques and I created a login page in wordpress using jquery ajax.
my questions are how do I bypass or sql inject the login page.


I think Wordpress has pre-set SQLi protection mechanisms (that's why Wordpress vulns include SQLi)

Also jQuery has its own CVE space (doesn't it? Not sure) so you end up needing to tackle a specific version of jQuery just to manage an SQLi on it.

tl;dr Try another endpoint I guess?
(Feb 28, 2020 03:00 AM)compalabee Wrote:  I think Wordpress has pre-set SQLi protection mechanisms (that's why Wordpress vulns include SQLi)

Also jQuery has its own CVE space (doesn't it? Not sure) so you end up needing to tackle a specific version of jQuery just to manage an SQLi on it.

tl;dr Try another endpoint I guess?
So I need to find the jquery version the site is using and then I can attempt one sql?
Also what do you mean by try another endpoint ?To try another method?
(Feb 28, 2020 03:12 AM)Nayan Wrote:  So I need to find the jquery version the site is using and then I can attempt one sql?
Also what do you mean by try another endpoint ?To try another method?


Not sure about hacking jQuery but I think earlier versions don't have the protection mechanisms to protect against SQLi.

As for other endpoints, in my experience, when I hack Wordpress with SQLi I look for a PHP file that looks similar to this (but not always the same)

PHP Code

<?php 
/index.php?var=1 

Then add the SQL queries at the end, like

PHP Code

<?php 
/index.php?var=1' or yadayada 
I prefer to get some vuln link try that
(Feb 28, 2020 02:55 AM)Nayan Wrote:  Hey sorry if its newbie question but recently learned some sql techniques and I created a login page in wordpress using jquery ajax.
my questions are how do I bypass or sql inject the login page.

very rare to find a sqli in jquery itself, Best you're going to get is XSS. Wordpress login pages tend to be very secure, Try look for an outdated plugin


Possibly Related Threads...
Thread / Author Replies Views Last Post
by zazasNov 11, 2022 08:27 AM 12 295 Nov 11, 2022 08:27 AM
Last Post: Brief
by raylex02Jun 2, 2018 11:48 AM 21 922 Jun 2, 2018 11:48 AM
Last Post: raylex02
by nothing_asNov 14, 2017 09:38 PM 1 158 Nov 14, 2017 09:38 PM
Last Post: Berry White