Should leaked source code imply security vulnerabilities? There are tonnes of secure open source projects out there. Doesn't that just imply that they have shitty code with bad security?
It's not the fact that the software became public that implies the security vulnerabilities, you are correct in that, but rather the fact that software which was intended not to be public became public.
One key difference is that open source software is or was designed to be open source, and as such has been aware of that vulnerability the whole time.
Closed source software was not designed that way, and instead used obscurity as a layer in their security, and as such may have bits in the code that an open source piece of software would not have in the same code base or may have much more limited access - for example, anything related to security controls may be in a separate codebase for an open source piece of software but might be in the same codebase for a closed piece of software.
It does not inherently mean that there are vulnerabilities that can now be exploited, but it does mean that vulnerabilities that may exist and were solely unfound by means of obscurity are now indeed more exploitable - obscurity that may have been maintained even if the rest of the code were open source. The implication is that without the software having been designed in the public eye and being subject to public audits the whole time that there are more likely to be vulnerabilities revealed.
Additionally, it also depends largely on the overall design of the application anyway - if it's not a monolithic codebase that was released then it may well not reveal anything of relevance. And finally, it may well also reveal vulnerabilities/exploits that are only revealed by being able to read the code and it's specific quirks, the same issues open source projects have, but they are able to plug up because of public audits.
So it does not necessarily imply the code is bad, rather just that a layer of their security just failed and it could lead to worse.
One key difference is that open source software is or was designed to be open source, and as such has been aware of that vulnerability the whole time.
Never heard of such a thing. I don't think it's something reasonable anywhere, least of all places like Twitter, which could be of interest to even governments.
If your plan to protect a piece of software being used by millions of people constantly from all over the world is that they don't know what's going on behind the scenes, I would say that's absolutely a terrible plan. With enough interest and something juicy to gain there will be people hammering on it from all directions.
29
u/Maskdask Mar 27 '23
Should leaked source code imply security vulnerabilities? There are tonnes of secure open source projects out there. Doesn't that just imply that they have shitty code with bad security?