If you have ever looked at the address bar of an online store, you have seen a URL like this:
https://www.example.com/product.php?id=1
The query " php id 1 shopping " is a classic example of a "Google Dork" used to find web applications that might be vulnerable to SQL Injection (SQLi) php id 1 shopping
// Example: Viewing an order
$order_id = $_GET['id'];
$current_user_id = $_SESSION['user_id'];
- CVE-2021-32789 – Authenticated IDOR in order exports.
- CVE-2019-20891 – Subscriber+ could read other users’ order notes.
- CVE-2016-6888 – IDOR in JSON API allowed viewing any user's order.