There is not a single piece of software that exists today that is free from flaws and many of those flaws are security risks. Every time a new security technology is added to an Infrastructure, a host of flaws are also introduced. Â The majority of these flaws are undiscovered but in some cases the vendor already knows about them.
As an example, we encountered a Secure Email Gateway during an Advanced External Penetration Test for a customer. When a user sends an email, the email can either be sent from the gateway’s webmail gui, or from outlook. Â If it is sent from outlook then the gateway will intercept the email and store the message contents locally. Then instead of actually sending the sensitive email message to the recipient, the gateway sends a link to the recipient. When the recipient clicks on the link their browser launches and they are able to access the original message content.
While this all looked fine, there was something about that gateway that made me want to learn more (a strange jboss version response), so I did… I calledÂ the vendor and ask to speak to a local sales rep. Â When the rep got on the phone I told him that I had an immediate need for 50 gateways but wouldn’t make any purchases until I knew that his technology was compatible with my infrastructure. He got really excited and asked me what I needed in order to verify compatibility. I told the rep that I needed a list of all Open Source libraries and software that had been built into the gateway along with version information. Â The rep said that he didn’t really understand what I was asking him but that he’d go to someone in development and figure it out. Â Within about fifteen minutes I received an email with a .xls attachment. Â Shortly after that I received an email from the rep asking me to delete the .xls attachment because he wasn’t supposed to share that particular one…. go figure…Â
(I deleted it after I read it)
When I studied the document I realized that the gateway was nothing more than a common bloated linux box with a bunch of very, very old Open Source software installed on it. Â In fact, based on the version information provided, the newest package that was installed was OpenSSL and that was 3 years old! Â The JBoss application sever was even older than that and was also vulnerable as hell (but it was hacked and reported incorrect version information). Needless to say we managed to penetrate the secure email gateway by using a published exploit that was also about 3 years old. Once we got in our client decided that their secure gateway wasn’t so secure any more and did away with it. Â We did contact the vendor by the way and they weren’t receptive or willing to commit to any sort of fix.Â
The fact of the matter is that we run into technology like this all the time, especially with appliances. Â We’ve seen this same sort of issue with patchÂ managementÂ technologies, distributed policy enforcement technologies, anti-virus technologies, HIDS technologies, etc. Â In almost every case we are able to use these technologies to penetrate or at least to assist in the penetration of our target. Â While most of these technologies introduce more risk than the risk that they resolve, there are a few good ones. Â My recommendation is to have a third party assess the technology before you decide to use it, just make sure that they are actually qualified and not FraudulentÂ Security Experts. Â Â