Archive for January, 2010

IE Is The Only Secure Browser? Please

It’s no secret that Microsoft’s Internet Explorer has been taking a beating over the past week. After all, Google, the world’s most popular search engine company has blamed a vulnerability in IE for allowing attacks on its systems. After Microsoft admitted it was indeed a flaw in IE that made the attacks possible, the German government released a statement urging people to switch browsers and a similar statement from the government in France soon followed. Microsoft obviously came back with a statement urging users that those governments’ advise was far too strong of a reaction.

Part if Microsoft’s message was spot-on. Switching to a different browser due to a single flaw is a really over-dramatic reaction to the situation. If I immediately stopped using any product that had a vulnerability, I would communicate with no one. Even physical mail can be stolen and has been stolen in the past, therefore one would be forced to live in a hole in the ground, not communicating at all. I would recommend not using IE for far bigger reasons than this single vulnerability, but switching solely because of this is purely sensationalism.

On the other hand, the rest of Microsoft’s message was taken to the opposite extreme. They responded by informing users that switching to a different browser would lead them to an even greater threat. Quoting from Cliff Evans at Microsoft (via TechRadar.com):

The net effect of switching [from IE] is that you will end up on less secure browser

The risk [over this specific] exploit is minimal compared to Firefox or other competing browsers… you will be opening yourself up to security issues.

I’m not aware that the vulnerability exists in other products, but those products may have other vulnerabilities.

As much as I want to say that was intended as a joke, it’s not. Yup, instead of using products that might have vulnerabilities that Microsoft’s UK Security Chief “isn’t aware of”, users should feel comfortable using a browser that has known vulnerabilities used in a real life attack. No, I’m not switching up my stance that users should switch purely for this one incident, but to claim IE as the only secure browser in the world is absolutely ridiculous and laughable. IE’s history doesn’t help it much, but I’ll give them the benefit of the doubt on this one and let that part go.

Related Posts Related Websites

Tags: , ,
Filed under News : Comments (0) : Jan 19th, 2010

Insecurity by Non-Obscurity

I was a bit shocked and disheartened tonight to discover that my WordPress version was being broadcast to the world without me knowing it. It’s something that I hadn’t ever really given much thought to, mostly because I always assumed that a piece of information like that wasn’t being given out. What was even more disheartening to me was what I discovered as the method for disabling this broadcasting of my version number. The easiest way, by far, was to just install the Secure WordPress extension (or I could dive into a bit of their PHP code and have to make the change with each upgrade, not so much fun). Not so long ago, there was a huge ordeal about a vulnerability in WordPress 2.8.3 that allowed an attacker to reset an admin password very easily. No wonder they urged us to upgrade so quickly – your vulnerability was being broadcast.

The sad part is, broadcasting this version number isn’t something that can be disabled using the built-in settings. I don’t know what the rationale is, but one either has to edit the functions.php file in WordPress directly, or install the plugin mentioned above.

Anyway, this got me thinking about plenty of other open source softwares that I’ve disguised over the years.. For instance, perform a fresh install of Ubuntu 8.04 with the LAMP stack and you’ll see the version listed in the headers as detailed as this:

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.9 with Suhosin-Patch Server

Yup, there it is, script kiddies. Bust out Metasploit and eat your hearts out. In this case, if one leaves the defaults enabled, the server major version, minor version, PHP version, OS, and WordPress version all are exposed. That leaves a pretty nice little attack vector.

Of course, hiding these things doesn’t mean that anything is secure. On the contrary, one must go far deeper than that. I am just disappointed in so many open source projects that cut down the time needed for any script kiddies to start playing with my public services.

Related Posts Related Websites

Tags: , ,
Filed under Tech Trends : Comments (1) : Jan 18th, 2010

The Business of Full Disclosure

I’ve been enjoying reading an interesting conversation at krebsonsecurity.com surrounding news that a security firm in Russia that is disclosing a number of vulnerabilities to a number of web and database server applications. They are releasing details over this week and the next two.

For as long as I’ve cared, I’ve always considered myself more of a “responsible disclosure” kind of a person. That is, until I heard an interesting argument that I’ve never seen very clearly articulated before. As a sysadmin, when a vulnerability in a web server (for instance) is disclosed, one can monitor for someone trying to exploit that vulnerability and stop it (or at least log what happens). Without that disclosure, one has no idea what software is vulnerable and known only to some black market somewhere. It’s odd, but humans are comforted in that way. It’s kinda like knowing that a $500 repair is coming for one’s car. It’s a lot easier pill to swallow when one knows about it, say a month or so in advance rather than being surprised by it.

However, there’s still a piece of the rationale behind Intevydis’s stance on immediate full disclosure that I still don’t quite grasp. Quoting from their blog:

You – ABCD company, making N millions per year selling your buggy XYZ product all over the world, why are you asking to give the results of the hard work during many years for free? Instead of wasting your and our time would not it be better to allocate resources to enforce good coding practices for all your amateur software developers?

Okay, so the main argument here is that they don’t want to give away their research for nothing. That is absolutely a fair thing to ask for. Knowledge and research isn’t cheap, so it’s not something that many people want to give away for free. I get it. However, I have to ask: How is full disclosure better than “responsible disclosure” (I’m using the quotes because I’m not sure how responsible so-called “responsible disclosure” is anymore) in that respect? Seriously, you don’t get paid for posting a blog entry about the latest exploit in [insert your favorite CMS here] that allows others to break into those CMSs quite easily every time one is found on the web.

And another thing, exactly who’s time are we wasting here? The developers of the software are obviously not wasting their time since they’re drawing in ‘N millions’ of dollars for the software they created. Yet, the research group is the one disclosing that they’ve found a vulnerability in the software, but they won’t tell anyone what exactly the flaw or bug is. Wait. Who’s time have we wasted now? My time for reading the report and yours for researching, finding, and sort of disclosing the vulnerability? Yes, that’s exactly who’s time was wasted. Of course, if one gets to this point in the game and are wanting money, they’re likely going to be written off as a blackmailer, but let’s be real. Either do work for pay or don’t complain about someone wasting your time for wanting you to backup claims with proof.

I really can’t grasp why full, immediate disclosure of vulnerabilities helps the problem of a revenue stream for this security company over “responsible disclosure”. There are a few indirect ways that these kinds of things can help their revenue such as consulting jobs due to exposure for finding a vulnerability. Of the ways that I can think of, though, there’s still room for a bit more of a “responsible disclosure” strategy than they are acknowledging. Not only that, but they’ve essentially burned a bridge with any software company that might hire them to do a penetration test on their network when they piss off said company.

There a ton more angles to this discussion that I simply don’t have time, nor do I suspect anyone would read much of it. However, I would like to hear from anyone who disagrees or has more to add to the discussion in the comments below.

Related Posts Related Websites

Tags:
Filed under Tech Trends : Comments (0) : Jan 12th, 2010

Where Do Tablet PCs Fit in the Market?

The web is abuzz with all kinds of bloggers and other writers talking of how 2010 will be ‘the year of the tablet pc‘. I have to admit, these devices look really cool, but where do they fit in? I’m getting a bit confused about what these tablets are supposed to replace and what exact function they would serve in my life.

A conversation by the BBC with Microsoft CEO Steve Ballmer said it all for me. During the interview, Ballmer was talking about why the tablet would take off this year after years of trying. Ballmer did raise some good points about technology evolving, however, he raised a big question for me. During the interview he stated that, “These things are not replacement [devices] in every sense.” Meaning, one won’t replace their laptop or smartphone with a tablet. My problem is, where does that leave the tablet, then?

For me personally, I’m sick of having more gadgets. I’ve got a BlackBerry, an iPod, a MacBook, a Wii, a DVR, and a desktop computer. I’ve like the idea of having a Kindle and maybe a GPS device, but I’ve been turned off about the idea of having yet another device to throw into my backpack or pocket. If a tablet PC can’t replace one of my gadgets (hopefully a gadget that’s larger than the tablet), then it definitely has no place in my home. In addition to that, I’m not sure what economy these people are living in that we can afford all these devices plus purchase another one that doesn’t let us not purchase either a phone or a laptop.

The closest thing that I’ve heard of a tablet replacing is a netbook. That may be the case, only time will tell. The problem with that logic in my mind, however, is that the tablet PCs will likely be significantly higher-priced than netbooks have been so far which might make them cost-prohibitive as replacements for netbooks.

Of course, only time will tell, but I’m not yet convinced that these tablet PCs will see nearly the market share that we’re being led to believe. If Ballmer is right (I believe he is here) and these devices are just add-ons and not replacements for traditional laptops or smartphones, the tablet is doomed to be a niche product forever.

Related Posts Related Websites

Tags: , ,
Filed under Tech Trends : Comments (0) : Jan 11th, 2010

Large Storage VMotion and a Little Patience

Whilst doing a little storage vMotion using VMware this week, I got a little lesson in patience from VMware and thought that I would share my experiences to help a few others who are looking at doing storage migrations of larger VM’s. My experiences are with VMware ESX 3.5 and Virtual Center 2.5. Not the most recent, I know, but we haven’t had time yet to upgrade to vSphere 4.

The point of my migration was to get a particular vmdk off a slower set of disks and only a faster set of disks. Due to the fact that ESX 3.5 doesn’t directly support moving only one vmdk at a time, I had to do a little dance to get the one vmdk that I wanted to move, moved. I had to move the virtual machine itself and ended up moving a couple of extra disks in order to to get it to move.

Near as I could figure, Storage vMotion (with ESX 3.5) has the following stipulations:

  1. The virtual machine files must move.
  2. The virtual machine files must move to a datastore that is large enough to hold the largest vmdk.
  3. Apparently, the host needs enough memory free as the size of memory allocated to the already-running virtual machine (during the move, memory usage spiked which caused all kinds of problems for me since this was a large virtual machine, but not really the point). I haven’t verified this requirement yet, but that’s what my initial thoughts are after seeing the behavior.

Seeing the migration options for vSphere 4, I wanted to cry on how difficult my life was made by these requirements, but that’s another story. We’ll be scheduling that upgrade shortly. :)
Anyway, I ran the Storage vMotion. At which point, I managed to bring the virtual machines on my host to a screeching halt, not knowing number 3 right off hand. After killing a few virtual machines and moving a few others away from this host, we were back under way.

Near the end of the Storage vMotion (at 90% to be specific), the interface stayed at the same percent for several minutes and I was greeted with this friendly error:

A general system error occurred: failed to reparent/commit disk(s) (vim.fault.Timedout)

Uh-oh. A quick Google serch found this VMware knowledgebase article.

Unfortunately, I missed the “Incorrectly” throws a timeout error message and panicked a bit. I started digging around in the destination and original datastores and found tons of “DMotion” files everywhere. While desperately looking for solutions around the web, my Virtual Center screen refreshed with the new datastores being associated with the disks and moved over. Yup, while I was freaking out, the whole thing just took care of itself.

Apparently, when working with Virtual Center, one must always have a bit of patience and remember to double-check timeouts inside Virtual Center with the ESX hosts directly. I suppose I should have known better as I’ve seen this kind of behavior while working with snapshots in the past. If you come across this post while searching for this error, take a few minutes to relax and let VMware do its thing in the background while Virtual Center shows stupid error.

Related Posts Related Websites

Tags:
Filed under How-Tos / Tips : Comments (0) : Jan 11th, 2010