DOS counter broken for files without dots
See original GitHub issue_Issue originally created by user lifeforms on date 2016-07-30 16:12:16. Link to original issue: https://github.com/SpiderLabs/owasp-modsecurity-crs/issues/462._
In bda2fff9, DOS rule 912150 was changed to:
SecRule REQUEST_BASENAME "\.(.*)$" \
Therefore, only filenames matching this regexp (so files containing a dot) are being counted towards the DoS limits.
DoS protection is now not functioning for file names like /
, /contact
etc. and you can request an unlimited number of these without triggering DoS burst detection.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
ms dos - Why does the single dot entry exist in file systems?
It simply makes sense to have a symbol that stands for the current directory. It makes sense for the symbol to be easy...
Read more >linux - Command to list all files except . (dot) and .. (dot dot)
I'm trying to find a command that would list all files (including hidden files), but must exclude ...
Read more >List all files and dirs without recursion with junctions
But here is a simple one for listing all files recursively without junction folder loops. Use PowerShell and test each file if it...
Read more >Windows command prompt: how to get the count of all files in ...
If you need an accurate count, then don't try this. Using find /c and try finding something that is always included in a...
Read more >How to Create Files that Cannot be Found Using the “…” Dots
All this can be bypassed using the ::$INDEX_ALLOCATION trick. Using the folder name twice also creates the folders.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
User dune73 commented on date 2016-08-02 16:49:33:
Nice find. And good fix. Thank you guys.
User csanders-git commented on date 2016-08-03 00:54:51:
Please see PR #470