Score:0

Modsecurity Not working with beautified URLs

us flag

I have modsecurity on nginx and everything works except for URL like below:

https://example.com/input_1.3=6111163&id=1' and 1=1 --

But it works for this one:

https://example.com?input_1.3=6111163&id=1' and 1=1 --

Where is the problem?

cn flag
I'd guess the lack of a `?` means there is no start to the query string parameters
us flag
I guess so but this doesn`t mean that there is no security risk. Is there anyway to block them too?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.