You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The MongoDB ID of invoices is exposed in the URL, which could potentially lead to security issues such as unauthorized access or information leakage.
To Reproduce
Steps to reproduce the behavior:
Go to the URL of an invoice, for example: https://cloud.idurarapp.com/invoice/read/66b1ba0168bee6aeb74f7dca
Observe that the MongoDB ID is visible in the URL.
Expected behavior
The URL should not expose sensitive information such as the MongoDB ID. Instead, it should use a more secure identifier or encryption to mask the actual ID.
Screenshots
Additional context
To prevent the exposure of sensitive IDs, consider implementing one of the following solutions:
ID Encryption: Encrypt the MongoDB ID before including it in the URL and decrypt it server-side when the request is processed.
UUIDs: Use UUIDs (Universally Unique Identifiers) instead of MongoDB IDs for URLs.
Token-based Access: Generate a secure, random token for each invoice and use it in the URL. Validate this token server-side to retrieve the actual MongoDB ID.
Implementing these measures will enhance the security of the application and protect sensitive data from being exposed.
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
The MongoDB ID of invoices is exposed in the URL, which could potentially lead to security issues such as unauthorized access or information leakage.
To Reproduce
Steps to reproduce the behavior:
https://cloud.idurarapp.com/invoice/read/66b1ba0168bee6aeb74f7dca
Expected behavior
The URL should not expose sensitive information such as the MongoDB ID. Instead, it should use a more secure identifier or encryption to mask the actual ID.
Screenshots
Additional context
To prevent the exposure of sensitive IDs, consider implementing one of the following solutions:
Implementing these measures will enhance the security of the application and protect sensitive data from being exposed.
The text was updated successfully, but these errors were encountered: