| Dinesh's profileSamuraiDineshPhotosBlogLists | Help |
|
March 16 OpenBSD IPv6 remote vulnerabilityOpenBSD 3.9 and 4.0 have fixed an issue to correct a problem in the IPv6 stack.
# vi /etc/pf.conf Add a line:# pfctl -f /etc/pf.conf To load the new rules in the pf packet filter# pfctl -s rules Check the rule got loaded in the runtime rules.The workaround does disable all incoming IPv6 packets on the machine. The patch itself is a kernel patch, so you will need to recompile a kernel, install it and reboot the affected machines. The 3.9 patch applies cleanly to the 3.8, 3.7 and even 3.0 trees. No excuse not to patch older systems! Apple megapatch plugs 45 security holesThe megapatch, also known as Mac OS X 10.4.9,
is the seventh Apple security patch release in three months. It deals
with vulnerabilities in Apple's own software, as well as third-party
components such as Adobe Systems' Flash Player, OpenSSH and MySQL.
Sixteen of the vulnerabilities addressed by the update were previously
released as part of two high-profile bug-hunting campaigns. Several of
the flaws could be exploited to gain full control over a Mac running
the vulnerable component, according to Apple's advisory. Other holes
are limited and could only be exploited to crash a Mac or used by
somebody who already has access to a machine. What is i'm? Chat for charity initiative officially launched!Over the past few years, we've seen people on Messenger put emoticons or special symbols in their nicknames to mourn victims of terrorist attacks, AIDS, acts of God or evil stingrays. Sometimes these appeals create a sizeable buzz, in other cases just dozens of "colorful" contact lists. But with Microsoft now jumping on this trend for the first time you'll be able to actually make a difference without spending any money! On march 1st "i'm Initiative" revealed different shortcuts that show the charity emoticon and, depending on which shortcut you use, you decide which one of the nine participating organization benefits from your free donations. By selecting your favorite cause from the following list and putting the associated emoticon in your Display Name, you can personally help the organization attain its goals:
*sierra - Sierra Club
One important detail that I would like to pay extra attention to is the campaign's restriction to users from the United States. While you can still put the emoticon in your nickname in order to raise awareness for the campaign among your U.S.-based buddies. Head over to im.live.com or the press release for more information. OneCare Eats Some Outlook E-mailThere is an interesting post here and a detailed discussion here
of a problem that has hit some users of Microsoft OneCare. Apparently,
OneCare has deleted some folks' Microsoft Outlook .PST file, destroying
all of their e-mail. There are some work arounds in the post which
describes how to make OneCare stay away from your .PST file. This is a
problematic solution, because OneCare won't be able to scan for any
malware in your .PST file, but it sure beats having all of your e-mail
deleted! Time for an Xb0t 360?It was only a matter of time until someone discovered an interesting vulnerability in the Xbox 360. So, what is the cunning plan? Well, the designers of the Xbox 360 (which is, incidentally, PowerPC-based) went to extreme lengths to try to make it "unhackable" and chose a hypervisorsyscall. Since everything goes via the syscall then, theoretically, all you need to do is armor the syscall to keep everything nice and secure. design in which, unlike previous generations of gaming consoles, games no longer take over the system. There is a thin "operating system" which the games communicate with using a classic But looks like the syscall implementation didn't adequately check the parameters being passed for correctness and consistency allowing a privilege escalation attack. As a matter of fact if you read the actual description you will notice that it is a subtle bug with one instruction in the validation path only looking at 32 bits of a 64-bit register with a subsequent instruction acting on all 64 bits. However , this has been patched since January 7th 2007. Sri Lanka's first Internet company halts servicesSri Lanka's first Internet service provider was set up in 1994 by a group of Sri Lankans residing in the US and Colombo-based investors. Since 1994, more than 25 Internet service providers have started operations in Sri Lanka for a combined 130,000 customers, according to official figures. The original ISP, Lanka Internet Services Limited, has halted its services after hitting financial difficulty. The senior management disappeared without paying staff or creditors. To make matters worse, thousands of customers have been left stranded without an Internet connection. "An estimated 3,000 to 4,000 of its clients have been affected with the abrupt closing of the business and were caught off guard by the loss of their services," said a privately-run Sunday Times newspaper. Story : Physorg Security update for QuickTime (7.1.5)Apple released a new version of QuickTime (7.1.5) which contains
numerous bug fixes and a lot of important security patches. This
article (http://docs.info.apple.com/article.html?artnum=305149)
lists the security content of this release – you can see that it fixes
8 security vulnerabilities, all of which just require a user to click
on a specially crafted file. If you use QuickTime I would definitely recommend that you install the update as soon as possible as some of those security vulnerabilities look nasty. You can find the Mac version at http://www.apple.com/quicktime/download/mac.html, while the Windows version can be downloaded from http://www.apple.com/quicktime/download/win.html. March 05 New tool in the fight against malware distributionNiels Provos recently released a tool, SpyBye, that allows a webmaster to perform exactly such an audit. SpyBye, of which version 0.2 was released yesterday, is a proxy server that analyzes a requested url, submits any links it finds through a rule based engine (including a list of known malicious sites) and then categorizes these in three categories: harmless, unknown or dangerous. A webmaster can install it on his local machine and then access his website to get detail on what exactly is taking place during the connection - that same webmaster, having knowledge of the expected content, will also be able to easily identify content that is suspicious, but could otherwise have been unreadable when obfuscated through some form of URI-encoding. This new version integrates with clamav to automatically scan downloaded files, and allows you to log all requests to syslog. Provos also provides a realtime version of the proxy so you can give it a try on-line. Note that it's still best to run any assessments of potentially dangerous content from a virtual machine, as the tool will continue to feed the results of requests classified as 'harmless' or 'unknown' to your browser. March 01 Kernel malware paper from F-SecureKimmo Kasslin from F-Secure has released a paper on Kernel malware. In the paper, a brief overview of kernel malware is provided followed by detailed analysis of the kernel malware and case studies. If you ever wonder how kernel rootkit and other kernel level malware works, this is a good paper to read.
Prepared Statements and SQL injectionsThe fundamental problem in SQL injection is concatenation of untrusted data (raw user input) to trusted data and the whole strings is being sent to the backend database for execution. The moment you merge the raw untrusted data to other trusted data for execution, you got a problem. Look at this prepared statement (Java) PreparedStatement Stment = con.prepareStatement("SELECT * FROM table WHERE cond = ' + UserInput + ' "); Let's look at another version of this statement See the question mark in the first line? That's the character to tell prepared statement mechanism that there are more data coming into this space. Think "fill in the blanks" exercise here, question mark is an empty spot for filling, the setString function just fill a string into that spot. When statement is prepared, validation is performed on the user input, in the case of Java, the JDBC driver escapes the user input properly. Untrusted user input go through validation and become validated input. This type of passing user input to the statement as a parameter is sometimes referred to as parameterized queries. One risk still remains here.... The implementation of the database driver (or data access mechanism) has to accurately escape the potentially offensive user input. So far, the track record of such mechanism across multiple languages are pretty good. Extra note here about stored procedures which was regarded as another potential mitigations for SQL injection as well; Both prepared statement and stored procedures can be vulnerable to SQL injection if it is not done properly. Similar to prepared statement, stored procedure can be done in parameterized form to mitigate SQL injection. Firefox 2.0.0.2 releasedThe Mozilla folks have released the long-awaited version 2.0.0.2 of Firefox. The second link below shows that 7 security issues were fixed. One rate critical. Bugs fixed appear to include CVE-2007-1004, CVE-2007-0995, CVE-2007-0981, CVE-2007-0800, CVE-2007-0780, CVE-2007-0779, CVE-2007-0778, CVE-2007-0777, CVE-2007-0776, CVE-2007-0775, CVE-2007-0008, and CVE-2007-0009, among others. This also fixed the issue with the password manager that was exploited late last year, CVE-2006-6077. The bookmarklet vulnerability CVE-2007-1084 does NOT appear to have been addressed. Release Notes: http://www.mozilla.com/en-US/firefox/2.0.0.2/releasenotes/
Mozilla folks have also released Firefox 1.5.0.10 and SeaMonkey 1.0.8 and a number of the fixes mentioned above apply to these as well. |
|
|