{"id":34,"date":"2026-08-10T09:00:00","date_gmt":"2026-08-10T09:00:00","guid":{"rendered":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/change-one-number-read-another-customers-data\/"},"modified":"2026-08-10T09:00:00","modified_gmt":"2026-08-10T09:00:00","slug":"change-one-number-read-another-customers-data","status":"publish","type":"post","link":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/change-one-number-read-another-customers-data\/","title":{"rendered":"Change one number, read another customer&#8217;s data"},"content":{"rendered":"<p>Broken object-level checks are simple to test by hand, and scanners still miss most of them. The request looks valid, so the tool has nothing to flag.<\/p>\n<p>The routine needs two ordinary accounts and a proxy. Nothing else. We ran it on a freight payments platform this year and read any customer&#8217;s invoices by changing one number.<\/p>\n<h2>The routine<\/h2>\n<ol>\n<li>Sign in as customer A and record every request that carries an ID.<\/li>\n<li>Sign in as customer B and replay those requests with B&#8217;s session.<\/li>\n<li>Note each one that returns A&#8217;s data.<\/li>\n<li>Repeat with the read, change and delete versions of the same call.<\/li>\n<\/ol>\n<blockquote><p>Being signed in tells the server who you are. It says nothing about what you may read.<\/p><\/blockquote>\n<h2>The fix<\/h2>\n<p>Check ownership on the server, on every object, in one shared place. Long random IDs make guessing harder, but they do not fix the check. We test the check again on the retest, and we use new IDs when we do.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Broken object-level checks are simple to test by hand. Here is the routine we run on every API.<\/p>\n","protected":false},"author":16,"featured_media":3,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[3],"class_list":["post-34","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-and-api","tag-test-notes"],"_links":{"self":[{"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":0,"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/media\/3"}],"wp:attachment":[{"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.goodlayers.com\/wardline\/homepages\/offensive\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}