Ask about HTTP Parser with Directory Traversal String

Seong Gyu Choi via Snort-sigs <[email protected]>
Newsgroups gmane.comp.security.ids.snort.sigs
Message-ID <CAGmsYNmJp6yjDVcAqYOkCiL4Nv6RL1C-YWpysDJqPYtdrBU5BA@mail.gmail.com>
Hi, Snort Team

I have a question about the abbreviation of HTTP parser direction traversal
string( "../" or "\..") .

URI : /cgi-bin/../../etc/passwd

After Pass HTTP Parser : /etc/passwd

When URI pass http parser, all the characters in front of Directory
Traversal string(/../) fly away, so I wonder why you do this. Isn't it
normal to stay like the below?

What i thought After Pass HTTP Parser : /cgi-bin/etc/passwd

If there's a reason why your team designed it like this, please let me know.

Regards,
CHOI

_______________________________________________
Snort-sigs mailing list
[email protected]
https://lists.snort.org/mailman/listinfo/snort-sigs

Please visit http://blog.snort.org for the latest news about Snort!

Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette

Visit the Snort.org to subscribe to the official Snort ruleset, make sure to stay up to date to catch the most <a href=" https://snort.org/downloads/#rule-downloads">emerging threats</a>!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.