Test search for SQL injection

SQL injectionDiscovery

Written with a model's help from “AppFlowy Authenticated SQL Injection” by Jay Nguyen on Project Black. Read the writeup before relying on it.

Try injecting SQL payloads in the search_term parameter of the GET /api/workspace/{workspace-id}/quick-note endpoint to test for SQL injection. Send a request with a payload like ?search_term=1" )' OR (SELECT CAST(version() AS numeric)) IS NOT NULL-- to see if the application is vulnerable. If the response indicates that the payload was executed, the application may be vulnerable to SQL injection. You can use this technique to test any search functionality that accepts user input.

Follow #api, #authentication or #sql-injection for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.