Yii Framework Forum: Detect Repeated Url - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Detect Repeated Url How to detect or catch repeated url and non existing path Rate Topic: -----

#1 User is offline   mnat 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 20-July 13

Posted 20 July 2013 - 08:03 AM

I hope you can help me with this.

I am using a web security testing application (Golem Technologies) to check if my website is secure. Upon running my site against the test it returned an SQL Injection vulnerability on the following url:

"www.<mysite>. com/www.<mysite>. com/www.<mysite>. com/index.php/\x27\x22
Scan Message: response to \x27\x27\x27\x27\x22\x22\x22\x22 different than to \x27\x22\x27\x22\x27\x22\x27\x22"

when I access the page it simply returned the home page. My question is, how can I throw a 404(Page not found) error for this kind of urls? and why is this not detected by Yii as an incorrect or non-existing path/url?

I also tried to access a non-existing path "www.<mysite>. com/x/y/z/" and it did not return a 404 error.

My website has sub-directories (assets, blog, css, images, protected, and themes).

I will appreciate the help.. Thanks.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users