[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : smcFanControl 2.1.2 Multiple Buffer Overflow Vulnerabilities PoC (OSX)
# Published : 2008-11-11
# Author : xwings
# Previous Title : Net-SNMP <= 5.1.4/5.2.4/5.4.1 Perl Module Buffer Overflow PoC
# Next Title : ooVoo 1.7.1.35 (URL Protocol) Remote Unicode Buffer Overflow PoC
vnsecurity.net ADVISORY 2008-11
===============================
:Title: Buffer overflows in smcFanControl 2.1.2 for OSX
:Severity: Critical
:Reporter: KaiJern, Lau ( kjlau at vnsecurity.net)
:Products: smcFanControl 2.1.2
:OS: OSX
:Fixed in: to be release smcFanControl 2.1.3
About smcFanControl
--------------------
First of all, this is a very wonderul software and most of the macbook install
with this software. A big credit for the author Hendrik Holtmann.
Quote from the Official WebSite :
smcFanControl lets the user set the minimum speed of the build in fans.
So you can increase your minimum fan speed to make your intel mac run cooler.
However in order not to damage your machine scFanControl let's you not
set minimum
speed to a rate under Apple's defaults. In addition to that fans are
still in automatic
mode, so the speed of your fans will increase, if CPU load gets higher.
Description
-----------
First of all, let us look at
/Applications/smcFanControl.app/Contents/Resources/smc
Input option of smc -k was not able to handle large buffer. This will
end up with a buffer overflow bug.
Code from smc.c
-- snip snip --
int main(int argc, char *argv[])
{
int c;
extern char *optarg;
extern int optind, optopt, opterr;
kern_return_t result;
int op = OP_NONE;
UInt32Char_t key = "