106408 2003-07-01 23:56 /43 rader/ sec-labs team <team@sec-labs.hack.pl> Importerad: 2003-07-01 23:56 av Brevbäraren Extern mottagare: bugtraq@securityfocus.com Mottagare: Bugtraq (import) <5381> Ärende: [sec-labs] Adobe Acrobat Reader <=5.0.7 Buffer Overflow Vulnerability + PoC code ------------------------------------------------------------ sec-labs team proudly presents: Buffer overflow vulnerability in Adobe Acrobat Reader 5.0.7 and earlier by mcbethh 29/06/2003 I. BACKGROUND quote from documentation: 'The Acrobat Reader allows anyone to view, navigate, and print documents in the Adobe Portable Document Format (PDF).' However there is Acrobat Reader 6.0 for windows nad MacOS, version 5.0.7 is last for unix. II. DESCRIPTION There is buffer overflow vulnerability in WWWLaunchNetscape function. It copies link address to 256 bytes (in 5.0.5 version) buffer until '\0' is found. If link is longer than 256 bytes return address is overwritten. Notice that user have to execute (click on it) our link to exploit this vulnerability. User also have to have netscape browser in preferences, but it is default setting. III. IMPACT If somebody click on a link from .pdf file specialy prepared by attacker, malicious code can be executed with his privileges. IV. PROOF OF CONCEPT Proof of concept exploit is attached. It doesn't contain shellcode nor valid return address. It just shows that return address can be overwriten with any value. Use gdb to see it, because acroread will not crash. -- sec-labs team [http://sec-labs.hack.pl] (106408) /sec-labs team <team@sec-labs.hack.pl>/(Ombruten) Bilaga (application/octet-stream) i text 106409 Bilaga (application/pgp-signature) i text 106410 106409 2003-07-01 23:56 /3 rader/ sec-labs team <team@sec-labs.hack.pl> Bilagans filnamn: "seclabs-poc-adobe-acrobat-reader-29-06-2003.tar.bz2" Importerad: 2003-07-01 23:56 av Brevbäraren Extern mottagare: bugtraq@securityfocus.com Mottagare: Bugtraq (import) <5382> Bilaga (text/plain) till text 106408 Ärende: Bilaga (seclabs-poc-adobe-acrobat-reader-29-06-2003.tar.bz2) till: [sec-labs] Adobe Acrobat Reader <=5.0.7 Buffer Overflow Vulnerability + PoC code ------------------------------------------------------------ BZh91AY&SYéñ° è¬È xçÿÙ8 ×Äïßê P=àP Í101¦&sFLL LFi#ÉFÑ `AÁ2`%2P 24 4 TÑ4ÈLâhÐi¤43SÑ©ú£çh87ø@c4)[¢t¢Å#eÌ6¤t¹8Þ)/>ÃrHÈãI%XÄ£Í7Ò*ézÕxI̽¡,í ½Õ}X.\¢J¼Sr*µE§Éë|Ö_BÖC¥cùoÞöYÙdé)ªì}E¨µïÔÞfUÔØ¹WEv;}ÞÓÐÂ-}Í« ·8iáØýôÊRR¥×Tz]kê®æDÈõ@Ñh"²X ¡U,P¬EWN+w¨º%Y ¥ÿ3ÑlãpdÂ]è+ÄáÚås¤ÜÞw¢m¶WrÂ>1%ZíV:çã±'¶;^õïd{×»LTx9߸~Iæ¥Áïj±äFææVåíë°Db©ÃS)ƹÄå`bn&ÕcÒ¥V¢¦îD\Åü³#༶&ÊÅ<ZX5¤Î£3ÁrÅSq5¨Ó ìU%ö¶×3µ<ìW¨«;SÕfhME¬èØbÅEì[ÜKCÌu0UWÅ{ÑYQkBâäÓQaÆ£A%&£ÕØ$\`¹Ò£JÄÙTv±g~®æXY'ÞQ9'3,bu¤9ÚW¬59] 8Û$s33$ÌÚÅäFVDãY¨½Ð©jm*ÅTLÄÙIJGS0ÒrRr¯MDØOø½º±yF÷عҤÜâ5¤pzûÒ¡¼ó·+kyV³$ôJÿrE8Péñ° (106409) /sec-labs team <team@sec-labs.hack.pl>/(Ombruten) 106410 2003-07-01 23:56 /8 rader/ sec-labs team <team@sec-labs.hack.pl> Importerad: 2003-07-01 23:56 av Brevbäraren Extern mottagare: bugtraq@securityfocus.com Mottagare: Bugtraq (import) <5383> Bilaga (text/plain) till text 106408 Ärende: Bilaga till: [sec-labs] Adobe Acrobat Reader <=5.0.7 Buffer Overflow Vulnerability + PoC code ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE/AaP3Z4yD+a7QMvgRAg8JAKCe/J8uAm5HuOEol6oSeI6Rebo0XgCfd9CW tbVBG/P0C+urR678bIWk0F8= =sw6q -----END PGP SIGNATURE----- (106410) /sec-labs team <team@sec-labs.hack.pl>/----