FirstBlood-#985 — [COLLAB] Able to modify email post booking an appointment
This issue was discovered on FirstBlood v2.0.0 (issues patched)
On 2021-10-26, amec0e Level 3 reported:
It is not intended for a user to change details of an appointment except message. However this vulnerability allows user to change his/her email.
Steps to Reproduce :
- Visit /book-appointment.php and create an appointment
- Visit /yourappointments.php and view your appointment inorder to modify later.
- It's not possible to directly modify the email, however using burp we can intercept the request that we use to modify the message and add email parameter to it with a new value. This overrides the previous mail address and updates accordingly.
User is not supposed to change the email address post booking an appointment. This vulnerability bypasses that logic.
In collaboration with amec0e
FirstBlood ID: 33
Vulnerability Type: Application/Business Logic
Our mistake: We did not intentionally leave the code to change emails if the correct values were set, however it created interesting results because most discovered this but missed bug ID
21 and whilst it was not possible to modify via integer, if the ID was known it would still work.