Did Russian Hackers Crash Skype?
An anonymous reader sends us to the www.xakep.ru forum where a poster claims that the worldwide Skype crash was caused by Russian hackers (in Russian). The claim is that they found a local buffer overflow vulnerability caused by sending a long string to the Skype authorization server. You can try Google's beta Russian-to-English translation, but the interesting part is the exploit code, and that's more readable in the original. The Washington Post reports that Skype has denied this rumor.
The loop body will never execute....
Here's the article's introductory part properly translated.
"The reason for yesterday's downtime of the Skype network is research of Russian crackers, as reported by one of our readers.
While searching for a local buffer overflow, a possibility was found to send a long string to the server, overflowing its buffer and causing the server to go down. Its place is taken by another server from the P2P network, the error arises on it in the same way, and so on. As a result, the entire Skype network refused service for several hours and the developer team was forced to turn off authentication.
Here's the exploit code:"
http://www.ush.it/2007/08/18/why-the-skype-0day-ex ploit-is-a-fake/
The following code snippets assume pszSrc is smaller or equal to 50 chars
// Example #1
// Example #2
// Example #3
// Example #4
// Example #5
Which of the above is safe?Not a single one!
#1: sizeof(pszSrc) is 4 if pszSrc is a pointer, not a staticly-allocated array.
#2: szDest is left unterminated if strlen(pszSrc) equals MAX
#3: Writing "szDest[MAX]" overruns the array
#4: Misuse of the size parameter to strncat, it should be the space left, not the total space in the array.
#5: Author of that code doesn't understand strlen
Sorry, you didn't get the job.
The above snippet was taken from here
I bet people are trying exploits against Skype (and other popular servers and services) all the time. If someone tries something funny, and the system crashes a few seconds afterwards, they may assume they were the cause.
s/inefficient BSD crap/functions that result in silent loss of data/
The Skype blog had info being posted all during the outage, and will have a summary of what happened soon. They never indicated it was anything related to any outside intrusion.
I use Skype a fair amount, and I find it rather flaky.
Why don't you switch to an open protocol which might not be so flakey?
If anyone has had good experiences with alternatives to Skype, that are multi-platform and support voice conferencing of 4-8 people, please let me know!
Set up a CallWeaver server. I use CallWeaver as my server and Ekiga as my softphone and it works fine (also a UTStarCom F1000G as a WiFi phone, but I have all sorts of problems with that owing to UTStarCom's flakey firmware which they won't fix). At my old job we found that SJPhone and X-Lite were reasonable alternatives to Ekiga for the Windows users (although there is a Windows version of Ekiga but my experience is that it's not entirely stable).
You can also use one of the many SIP/PSTN gateways, such as VoIPUser, to gateway calls in from the PSTN if not everyone is able to use VoIP.
http://blog.nexusuk.org
Man, you ever notice that return key on your keyboard? You should use it once in a while...
Please correct me if I got my facts wrong.