Posts Tagged ‘security vulnerabilities’

What’s old is new again

Yes­ter­day, Mic­ro­soft put out an advi­sory to a secu­rity vul­ne­ra­bi­lity spe­ci­fic to the Win­dows Vista, Win­dows Ser­ver 2008 SP2, and Win­dows 7 RC ope­ra­ting sys­tems.  No other Win­dows ope­ra­ting sys­tems, inc­lu­ding Win­dows 7 RTM are impacted.

Holy cow, once again the older sys­tems (you go XP) are more secure then the new sys­tems.  Why is that you say?  Well this exploit was first found a decade ago.  Yes, you did read that correct, in 1999 this was dis­co­ve­red and patched for the ope­ra­ting sys­tems at the time.  Yet no one thought to put that into the: Newest, Most Secure, Latest and Grea­test ope­ra­ting systems.

So what is this vulnerability?

Accor­ding to Microsoft:

What might an attac­ker use this vul­ne­ra­bi­lity to do?
An attac­ker who suc­cess­fully exploi­ted this vul­ne­ra­bi­lity could take com­plete con­trol of an affec­ted sys­tem. Most attempts to exploit this vul­ne­ra­bi­lity will cause an affec­ted sys­tem to stop res­pon­ding and restart.

I like the last four words, “stop res­pon­ding and res­tart”.  We had an acronym for that back in the day.  BSOD.  But out of all of this, the thing that bothers me the most is Microsoft’s response:

Mic­ro­soft is con­cer­ned that this new report of a vul­ne­ra­bi­lity was not res­pon­sibly disc­lo­sed, poten­tially put­ting com­pu­ter users at risk. We con­ti­nue to encou­rage res­pon­si­ble disc­lo­sure of vul­ne­ra­bi­li­ties. We believe the com­monly accep­ted prac­tice of repor­ting vul­ne­ra­bi­li­ties directly to a ven­dor ser­ves everyone’s best inte­rests. This prac­tice helps to ensure that cus­to­mers receive com­prehen­sive, high-quality upda­tes for secu­rity vul­ne­ra­bi­li­ties without expo­sure to mali­cious attac­kers while the update is being developed.

Mic­ro­soft is con­cer­ned that this new report of a vul­ne­ra­bi­lity was not res­pon­sibly disc­lo­sed? Excuse me what?  It’s not new, it was disc­lo­sed pro­perly the first time.  Why do others become res­pon­si­ble for your oversight?

With that said Mic­ro­soft has issued two do it your­self reso­lu­tions until they can get a patch pushed.

The first is to Disa­ble SMB2 in the registry:

Impact of wor­ka­round. Host will not be able to com­mu­ni­cate using SMB2.

  1. Click Start, click Run, type Rege­dit in the Open box, and then click OK.
  2. Locate and then click the follo­wing registry sub­key:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
  3. Click Lan­man­Ser­ver.
  4. Click Para­me­ters.
  5. Right-click to add a new DWORD (32 bit) Value.
  6. Enter smb2 in the Name data field, and change the Value data field to 0.
  7. Exit.
  8. Res­tart the “Ser­ver” ser­vice by per­for­ming one of the following:
    • Open up the com­pu­ter mana­ge­ment MMC, navi­gate to Ser­vi­ces and Appli­ca­tions, click Ser­vi­ces, right-click the Ser­ver ser­vice name and click Res­tart. Ans­wer Yes in the pop-up menu.
    • From a com­mand prompt and with admi­nis­tra­tor pri­vi­le­ges, type net stop ser­ver and then net start ser­ver.

The second is to Block TCP ports 139 and 445 at the firewall:

Impact of Wor­ka­round: Seve­ral Win­dows ser­vi­ces use the affec­ted ports. Bloc­king con­nec­ti­vity to the ports may cause various appli­ca­tions or ser­vi­ces to not func­tion. Some of the appli­ca­tions or ser­vi­ces that could be impac­ted are lis­ted below:

  • Appli­ca­tions that use SMB (CIFS)
  • Appli­ca­tions that use mails­lots or named pipes (RPC over SMB)
  • Ser­ver (File and Print Sharing)
  • Group Policy
  • Net Logon
  • Dis­tri­bu­ted File Sys­tem (DFS)
  • Ter­mi­nal Ser­ver Licensing
  • Print Spoo­ler
  • Com­pu­ter Browser
  • Remote Pro­ce­dure Call Locator
  • Fax Ser­vice
  • Inde­xing Service
  • Per­for­mance Logs and Alerts
  • Sys­tems Mana­ge­ment Server
  • License Log­ging Service

Per­so­nally, I would block those on your inter­net facing fire­wall of you broad­band router.

1 comment - What do you think?  Posted by Diego - September 10, 2009 at 8:43 am

Categories: Windows   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Safari security holes

Accor­ding to a ZDNet news article, Apple has release a patch to correct two secu­rity vul­ne­ra­bi­li­ties to it’s Safari Browser.

These flaws, which impac­ted Win­dows and Mac OsX sys­tems could lead to cross-site scrip­ting and Remote code exe­cu­tion attacks.

To define these terms:

Accor­ding to cgisecurity.com:

Cross site scrip­ting (also known as XSS) occurs when a web appli­ca­tion gathers mali­cious data from a user. The data is usually gathe­red in the form of a hyper­link which con­tains mali­cious con­tent within it. The user will most likely click on this link from another web­site, ins­tant mes­sage, or simply just rea­ding a web board or email mes­sage. Usually the attac­ker will encode the mali­cious por­tion of the link to the site in HEX (or other enco­ding methods) so the request is less sus­pi­cious loo­king to the user when clic­ked on. After the data is collec­ted by the web appli­ca­tion, it crea­tes an out­put page for the user con­tai­ning the mali­cious data that was ori­gi­nally sent to it, but in a man­ner to make it appear as valid con­tent from the web­site. Many popu­lar guest­book and forum pro­grams allow users to sub­mit posts with html and javasc­ript embed­ded in them. If for exam­ple I was log­ged in as “john” and read a mes­sage by “joe” that con­tai­ned mali­cious javasc­ript in it, then it may be pos­si­ble for “joe” to hijack my ses­sion just by rea­ding his bulle­tin board post. Further details on how attacks like this are accom­plished via “coo­kie theft” are explai­ned in detail below.

From wikipedia.com

The abi­lity to trig­ger arbi­trary code exe­cu­tion from one machine on another is often refe­rred to as remote code exe­cu­tion.  In com­pu­ter secu­rity, arbi­trary code exe­cu­tion is used to desc­ribe an attacker’s abi­lity to exe­cute any com­mands of the attacker’s choice on a tar­get machine or in a tar­get pro­cess. It is com­monly used in arbi­trary code exe­cu­tion vul­ne­ra­bi­lity to desc­ribe a soft­ware bug that gives an attac­ker a way to exe­cute arbi­trary code. A pro­gram that is desig­ned to exploit such a vul­ne­ra­bi­lity is called an arbi­trary code exe­cu­tion exploit. Most of these vul­ne­ra­bi­li­ties allow the exe­cu­tion of machine code and most exploits the­re­fore inject and exe­cute shell­code to give an attac­ker an easy way to manually run arbi­trary commands.

Please remem­ber, no mat­ter what anyone says, no ope­ra­ting sys­tem is 100% safe as long as it touches the internet.

5 comments - What do you think?  Posted by Diego - July 9, 2009 at 2:46 pm

Categories: Browser   Tags: , , , , , , , , , , , , , , , , , , , , ,

3 visitors online now
3 guests, 0 members
Max visitors today: 8 at 09:13 am CDT
This month: 21 at 03-12-2010 06:49 pm CST
This year: 21 at 03-12-2010 06:49 pm CST
All time: 21 at 12-18-2009 02:01 am CST