mirror of
https://github.com/0xMarcio/cve.git
synced 2026-05-10 20:04:58 +02:00
31 lines
1.7 KiB
Markdown
31 lines
1.7 KiB
Markdown
### [CVE-2021-3864](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3864)
|
|

|
|

|
|

|
|
|
|
### Description
|
|
|
|
A flaw was found in the way the dumpable flag setting was handled when certain SUID binaries executed its descendants. The prerequisite is a SUID binary that sets real UID equal to effective UID, and real GID equal to effective GID. The descendant will then have a dumpable value set to 1. As a result, if the descendant process crashes and core_pattern is set to a relative value, its core dump is stored in the current directory with uid:gid permissions. An unprivileged local user with eligible root SUID binary could use this flaw to place core dumps into root-owned directories, potentially resulting in escalation of privileges.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- https://www.openwall.com/lists/oss-security/2021/10/20/2
|
|
|
|
#### Github
|
|
- https://github.com/ARPSyndicate/cvemon
|
|
- https://github.com/NaInSec/CVE-PoC-in-GitHub
|
|
- https://github.com/SYRTI/POC_to_review
|
|
- https://github.com/WhooAmii/POC_to_review
|
|
- https://github.com/k0mi-tg/CVE-POC
|
|
- https://github.com/lucasrod16/exploitlens
|
|
- https://github.com/manas3c/CVE-POC
|
|
- https://github.com/nomi-sec/PoC-in-GitHub
|
|
- https://github.com/shakyaraj9569/Documentation
|
|
- https://github.com/trhacknon/Pocingit
|
|
- https://github.com/walac/cve-2021-3864
|
|
- https://github.com/whoforget/CVE-POC
|
|
- https://github.com/youwizard/CVE-POC
|
|
- https://github.com/zecool/cve
|
|
|