Test QUERY method for SQL injection

SQL injectionExploitation

Written with a model's help from “Why the HTTP QUERY Method Is a Good Idea but Accept-Query Is Not” by Andrea Menin on Sicuranext (WAAP research). Read the writeup before relying on it.

When a server responds with an Accept-Query header that includes application/sql, try sending a QUERY request with a SQL query in the body to see if the server executes it. Look for signs of SQL injection, such as error messages or unexpected data in the response. Be cautious, as this can be a serious security hole. You can also try sending a QUERY request with a JSONPath query in the body to test for potential DoS or code injection vulnerabilities.

Follow #accept-query, #http or #query-method for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.