Customer records readable and changeable without a login
CriticalAnyone on the internet could read and change any customer’s record. That includes names, addresses and bank details for every account on the portal.
CauseThe portal trusts the account number in the request and does not check that it belongs to the person asking.
FixThe server now checks ownership on every account request. Applied after approval from your engineering lead. The same test ran again and returned clean.
GET /api/v2/accounts/10482 HTTP/1.1
Host: portal.example.org
Authorization: (none)
HTTP/1.1 200 OK
{ "account": 10482,
"name": "[redacted]",
"sort_code": "[redacted]" }ReferencesCWE-639 · ATT&CK T1190