Possible vulnerability found. Need help for continuation 10-21-2016, 10:28 PM
#1
Hi,
I have been playing around with a website looking for places they messed up. I don't have any goals and really do not want to break anything.
I was already able to find some vulnerabilities, but they all involved getting data from the client machine visiting the site and not the server.
Since I don't intend to do anything too harmful and just want to see what small things I could play around with this is pretty uninteresting to me.
After trying around a bit more I may have found a database vulnerability that may allow me to mess around with the server a bit.
However, I am not at all familiar with php and only slightly familiar with SQL language. This is no problem for me because the fun for me lies in figuring these things out as I go.
However, since I really have absolutely no clue right now I could really use some help.
Getting to the point:
The site frequently sends their users emails. The user can decide to subscribe or unsubscribe from emails with certain content. This is done over a form that for each category passes on either a "0" or a "1".
I found that if I send the post value 0+0, 1+0, or 0+1 it will actually do the calculation and change the setting accordingly. From my understanding, this shouldn't happen with properly sanitized user input.
Question is: Am I just terribly wrong and there is absolutely nothing off? Or does this mean that somebody just assumed since the form consists of radio buttons that they don't need to handle the input with care?
If there is actually something that can be done with this, what would be the next step? Since this doesn't actually display any results to me the way a GET request would, and I cannot save any value but 0 and 1 in the database (I assume the data is boolean) I am unsure how to continue.
If my question(s) is/are completely stupid please let me know. But also let me know in a way allowing me to learn from my mistake and avoid it in the future.
I have been playing around with a website looking for places they messed up. I don't have any goals and really do not want to break anything.
I was already able to find some vulnerabilities, but they all involved getting data from the client machine visiting the site and not the server.
Since I don't intend to do anything too harmful and just want to see what small things I could play around with this is pretty uninteresting to me.
After trying around a bit more I may have found a database vulnerability that may allow me to mess around with the server a bit.
However, I am not at all familiar with php and only slightly familiar with SQL language. This is no problem for me because the fun for me lies in figuring these things out as I go.
However, since I really have absolutely no clue right now I could really use some help.
Getting to the point:
The site frequently sends their users emails. The user can decide to subscribe or unsubscribe from emails with certain content. This is done over a form that for each category passes on either a "0" or a "1".
I found that if I send the post value 0+0, 1+0, or 0+1 it will actually do the calculation and change the setting accordingly. From my understanding, this shouldn't happen with properly sanitized user input.
Question is: Am I just terribly wrong and there is absolutely nothing off? Or does this mean that somebody just assumed since the form consists of radio buttons that they don't need to handle the input with care?
If there is actually something that can be done with this, what would be the next step? Since this doesn't actually display any results to me the way a GET request would, and I cannot save any value but 0 and 1 in the database (I assume the data is boolean) I am unsure how to continue.
If my question(s) is/are completely stupid please let me know. But also let me know in a way allowing me to learn from my mistake and avoid it in the future.
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)











