Уязвимость обхода пути (path traversal) в реализации SFTP в curl, приводящая к выполнению произвольного кода и обходу фильтрации
Описание
В curl до версии 8.0.0 присутствует уязвимость обхода пути (path traversal) в реализации SFTP. Символ тильды (~
) некорректно заменяется, когда используется в качестве префикса в первом элементе пути, помимо его стандартного использования для указания пути относительно домашней директории пользователя. Злоумышленники могут воспользоваться этой уязвимостью, чтобы обойти фильтрацию или выполнить произвольный код, создавая путь вида /~2/foo
при доступе к серверу от имени конкретного пользователя.
Затронутые версии ПО
- curl версии до 8.0.0
Тип уязвимости
- Обход пути (path traversal)
- Обход фильтрации
- Выполнение произвольного кода
Ссылки
- ExploitThird Party Advisory
- Mailing ListThird Party Advisory
- Mailing ListThird Party Advisory
- Third Party Advisory
- Third Party Advisory
- ExploitThird Party Advisory
- Mailing ListThird Party Advisory
- Mailing ListThird Party Advisory
- Third Party Advisory
- Third Party Advisory
Уязвимые конфигурации
Одно из
Одновременно
Одновременно
Одновременно
Одновременно
Одно из
EPSS
8.8 High
CVSS3
Дефекты
Связанные уязвимости
A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.
A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.
A path traversal vulnerability exists in curl <8.0.0 SFTP implementati ...
A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.
EPSS
8.8 High
CVSS3