Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I thought file extensions were pretty simple – just a period followed by three letters. Whats the “superfluous extension data” at issue here ?

0
Posted

I thought file extensions were pretty simple – just a period followed by three letters. Whats the “superfluous extension data” at issue here ?

0

As most commonly used, a file extension consists of a period followed by three letters and comes at the end of a filename or URL. However, that’s not the only way extension data can be used. There’s considerable flexibility regarding how and where extensions can be used, especially within an URL. In theory it would be acceptable for an URL to contain multiple extensions located throughout the URL, e.g., http://www.microsoft.com/folder1.vti/folder2.doc/file.txt.zip. Each of the extensions might tell the server how the data in a particular folder or file should be processed, and in what order. The “superfluous extension data” at issue here is bogus file extension data that’s inserted into an URL simply for the purpose of forcing the algorithm to spend time parsing it. As currently implemented, the work factor increases non-linearly with the complexity of the URL. By deliberately sending a highly-complex URL with an extremely large amount of bogus file extension data, a malicious user cou

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123