| Summary: | libcap-ng new security issue CVE-2014-3215 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | Security | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | Sec team <security> |
| Severity: | critical | ||
| Priority: | Normal | CC: | sysadmin-bugs, tmb |
| Version: | 4 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| URL: | http://lwn.net/Vulnerabilities/600797/ | ||
| Whiteboard: | MGA3TOO has_procedure advisory mga3-32-ok mga3-64-ok mga4-32-ok mga4-64-ok | ||
| Source RPM: | libcap-ng-0.7.3-3.mga4.src.rpm | CVE: | |
| Status comment: | |||
|
Description
David Walser
2014-05-30 18:12:25 CEST
David Walser
2014-05-30 18:12:31 CEST
Whiteboard:
(none) =>
MGA3TOO There was a tl;dr thread about this recently on oss-security: http://openwall.com/lists/oss-security/2014/04/29/7
David Walser
2014-05-30 19:36:47 CEST
URL:
(none) =>
http://lwn.net/Vulnerabilities/600797/ Testing with the PoC from the openwall link in comment 1 Saved as sesploit.c and compiled with gcc -o sesploit sesploit.c $ ./sesploit Dropped privs; real uid is 500 and effective uid is 500 Phew, safe. $ /usr/sbin/seunshare -t . `realpath ./sesploit` Dropped privs; real uid is 500 and effective uid is 500 Phew, safe. Not showing vulnerable with this exploit but we can use it anyway with strace to show seunshare (from package policycoreutils-sandbox) using the updated libcap-ng $ strace -o strace.out /usr/sbin/seunshare -t . `realpath ./sesploit` $ grep cap strace.out open("/lib64/libcap-ng.so.0", O_RDONLY|O_CLOEXEC) = 3 Testing complete mga4 64 Whiteboard:
MGA3TOO =>
MGA3TOO has_procedure mga4-64-ok Testing complete mga3 32 Whiteboard:
MGA3TOO has_procedure mga4-64-ok =>
MGA3TOO has_procedure mga3-32-ok mga4-64-ok Testing complete mga3 64 Whiteboard:
MGA3TOO has_procedure mga3-32-ok mga4-64-ok =>
MGA3TOO has_procedure mga3-32-ok mga3-64-ok mga4-64-ok Testing complete mga4 32 Whiteboard:
MGA3TOO has_procedure mga3-32-ok mga3-64-ok mga4-64-ok =>
MGA3TOO has_procedure mga3-32-ok mga3-64-ok mga4-32-ok mga4-64-ok Validating. Advisory uploaded. Could sysadmin please push to 3 & 4 updates Thanks Keywords:
(none) =>
validated_update Update pushed: http://advisories.mageia.org/MGASA-2014-0251.html Status:
NEW =>
RESOLVED |