saelo / cve-2014-0038 Goto Github PK
View Code? Open in Web Editor NEWLinux local root exploit for CVE-2014-0038
Linux local root exploit for CVE-2014-0038
Samuel,
on Ubuntu 3.8.0-44 OS, after building, when running ./timeoutpwn, the error log "address can't be written to, not a valid timespec struct" printed.
however, I tried the same steps on 3.8.0-29. it works perfect. and also OK on kernel version 3.8.0.
Thanks.
./build.sh
ptmx_fops: address not found
What should i do next to fix it? can you tell me?
It takes almost 5 minutes to run this exploit!
This is not enterprise ready.
You must know it. Without .md
extension, README would be displayed as plain text, which looks not good.
tried to compile it with gcc but i got this :
In file included from p.c:41:0:
/usr/include/sys/syscall.h:1:1: erreur: caractère ' de terminaison manquant
I've now applied this patch which makes the bits/syscall.h generation work
^
/usr/include/sys/syscall.h:1:1: erreur: unknown type name ‘I’
/usr/include/sys/syscall.h:2:6: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘the’
with the generic support for triarch (etc.) header generation, replacing
^
/usr/include/sys/syscall.h:2:6: erreur: unknown type name ‘the’
/usr/include/sys/syscall.h:4:47: erreur: unknown type name ‘we’
MIPSspecific sys/syscall.h, are also removed; we now require Linux 2.6 or
^
/usr/include/sys/syscall.h:4:54: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘require’
MIPSspecific sys/syscall.h, are also removed; we now require Linux 2.6 or
^
/usr/include/sys/syscall.h:4:54: erreur: unknown type name ‘require’
/usr/include/sys/syscall.h:9:7: erreur: suffixe « bed..8e60fb2 » invalide pour une constante entière
index 2779bed..8e60fb2 100644
^
/usr/include/sys/syscall.h:12:1: erreur: stray ‘@’ in program
@@ 1,5 +1,19 @@
^
/usr/include/sys/syscall.h:12:2: erreur: stray ‘@’ in program
@@ 1,5 +1,19 @@
^
/usr/include/sys/syscall.h:12:14: erreur: stray ‘@’ in program
@@ 1,5 +1,19 @@
^
/usr/include/sys/syscall.h:12:15: erreur: stray ‘@’ in program
@@ 1,5 +1,19 @@
^
/usr/include/sys/syscall.h:13:33: erreur: stray ‘@’ in program
20111222 Joseph Myers [email protected]
^
/usr/include/sys/syscall.h:22:1: erreur: caractère ' de terminaison manquant
uname -a output:
Linux heater 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux
Output from running the exploit:
preparing payload buffer...
changing kernel pointer to point into controlled buffer...
clearing byte at 0xffffffff81fb312f
address can't be written to, not a valid timespec struct
waiting 255 seconds...
0s/255s
...
What versions of linux is this supposed to work on? It did the same thing on CentOS 2.6.32-431.1.2.0.1.el6.x86_64
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.