|
|
|
Ask HN: How should I disclose a vulnerability in a site I worked on?
|
|
2 points
by cowward
4672 days ago
|
|
I worked on a website just under 2 years ago. I recently discovered an SQL injection vulnerability which could easily allow any semi competent attacker full access to the database which contains personal details. It's an easy fix, I must have forgotten to escape some inputs. The problem is, I no longer have access to the server and the organisation has heavily restructured with my primary contact having left. My questions are: -Under UK law, can I be prosecuted if the site is compromised? -Are the organisation likely to take action against me if I report the vulnerability? -Would it be a good idea to disclose the vulnerability anonymously? Thanks. |
|
It would be helpful to know how you managed to come across the vulnerability. Did you scan your own code and see the oversight? If so, then you don't (hopefully) have anything to worry about in reporting. However if you probed the website, then that's a different matter entirely.
It may just come down to how you word the disclosure. If you can somehow go back to your original work and submit the code directly, then you've independently verified the vulnerability without having to display it on the site itself. Something along the lines of "I was going over some of my old code and came across this. If the same code is active on the site, I believe this could be a live vulnerability." Or something like that.