๐Ÿ” Security Writeup

BOLA in Bookmarks API

Insecure Direct Object Reference

Target: DPG Media / De Morgen

Code: DPGM-LQ1L4IAL

Severity: Low (Platform rating)

Status: Archived / Duplicate

๐Ÿง  Summary

A Broken Object Level Authorization (BOLA) vulnerability was identified in the Bookmarks API. The API fails to properly verify ownership of user data, allowing cross-account access.

โš ๏ธ Issue Description

The endpoint allows operations on bookmarks using a user identifier (UUID) without verifying whether the authenticated user owns the requested resource.

๐Ÿงช Example Request

POST /api/_next-api/bookmarks/ HTTP/1.1
Host: shop.demorgen.be
Content-Type: application/json

{
  "userId": "VICTIM-UUID",
  "action": "list"
}

๐Ÿ’ฅ Impact

๐Ÿ›ก๏ธ Recommendation

๐Ÿ“Œ Conclusion

This issue highlights a classic BOLA vulnerability where missing authorization checks allow cross-user access to sensitive data.

โšก Writeup created for educational and security research purposes.