1
Roby73
Problem sql injection in search result
  • 2015/7/26 22:08

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I have searched in xoops.org the string "pagenav select".
I have obtained the result, but when i have clicked on them i have received an sql injection error.
This is the code of the link:

https://xoops.org/modules/newbb/viewtopic.php?post_id=339377&keywords=pagenav+select


The "select" in keywords don't are sanitized in newbb module.

2
Roby73
Re: Problem sql injection in search result
  • 2015/7/26 22:28

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


In my newbb version don't have this problem.
My newbb is a mix from alfred and irmtfan module.

3
Mamba
Re: Problem sql injection in search result
  • 2015/7/28 8:47

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


This has nothing to do with your version of NewBB, but with Protector, which is checking _SERVER for SQL Injections.

Some servers always enable DB Layer trapping. It causes wrong detections as SQL Injection attack. This seems to be the case here with our server.

We could turn off the checking, but this would weaken the security of DB Layer trapping anti-SQL-Injection. Since searches like yours for "pagenav select" are very seldom, we probably leave it as it is to make sure that don't weaken our security checks.

It might work on your server because your server didn't enable DB Layer trapping.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

4
Roby73
Re: Problem sql injection in search result
  • 2015/7/28 20:19

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


i am confused
My server is able to DB Layer trapping and i able the control in the protector.
In my forum result i don't have query string:

&keywords=xxxxx+yyyyy


No problem if is not a real security risk

Login

Who's Online

436 user(s) are online (316 user(s) are browsing Support Forums)


Members: 0


Guests: 436


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits