QuestionQ11

VerifiedWeb Application Hacking

A penetration tester believes the web application's “Order History” page may be vulnerable to SQL injection because it shows user orders from an unprotected user ID parameter in the URL.

What is the most suitable way to test this?

Explanation

A tautological SQL condition such as OR 1=1 tests whether the user ID value is concatenated into a database query without proper parameterization. If the condition causes all order records to be returned, it demonstrates that the URL parameter is vulnerable to SQL injection.

Community Discussion

No comments yet. Be the first to start the discussion!