mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-28 18:48:49 +00:00
27 lines
2.0 KiB
Markdown
27 lines
2.0 KiB
Markdown
### [CVE-2024-12087](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-12087)
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
&color=brightgreen)
|
|
|
|
### Description
|
|
|
|
A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj
|
|
|
|
#### Github
|
|
- https://github.com/adegoodyer/kubernetes-admin-toolkit
|
|
- https://github.com/mosaicwang/myrpm
|
|
|