Mobile app version of vmapp.org
Login or Join
Megan663

: IIS executes "malicious.asp;.txt" as ASP file. What the? I investigated a situation where 300+ websites hosted on an IIS server were pwned by a hacker. Investigation led me to a text file that

@Megan663

Posted in: #AspNet #Hacking #Iis #ServerSideScripting

I investigated a situation where 300+ websites hosted on an IIS server were pwned by a hacker. Investigation led me to a text file that contained malicious ASP-classic code. The file was named dz.asp;.txt and I just realized that IIS happily executed this file without complaining.

So my question is: is this behavior normal? Shouldn't IIS treat this file as a .txt file instead of .asp?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Megan663

1 Comments

Sorted by latest first Latest Oldest Best

 

@Rivera981

It became known in 2009 that IIS had a vulnerability in that it determined filetype by the part of the filename preceeding a semicolon if there was one in the name.

See this NIST description for more details.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme