![]() |
stristr error
I'm getting a very similar error as was mentioned in this thread
I upgraded to ibProArcade v2.7.2+ yesterday and I'm getting this error at the top of the index page of the arcade. Quote:
|
Just updated and also have this error.
|
<a href="https://vborg.vbsupport.ru/showpost.php?p=2304863&postcount=13" target="_blank">https://vborg.vbsupport.ru/showp...3&postcount=13</a>
|
@Hippy
I tried those changes and it did not effect this error. The error points to line 5550... I've looked at the arcade.php file and line 5550 comes up as.... PHP Code:
PHP Code:
Any help would be appreciated. |
compare v2.7.1 and 2.7.2 and remove or comment out that code and the link above
stangger5 posted what will work in replace of till Mrz figures out the issue it fixes the security issue I updated 20+ arcade and 1/4 of them don't like this code.. it's a server issue I am guessing |
I have used stangger5 fix but was getting the reported issue with stristr on a customer forum.
I did the below edit, code will do the same and is simpler. In arcade.php search for the ibp_cleansql function, search for PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Though I must admit that Mrz fixed the 2.7.1 security issue rather uglily... That bit of code could remove actual correct content ... |
I didnt upgrade to 2.7.2 for just two edits..
My one edit to the arcade.php file and the mod_arcade.php.. So my arcade doesnt have any of the: PHP Code:
Thanks for the code update VBDev !! :up: |
1 Attachment(s)
Quote:
Code:
function ibp_cleansql($value) I am just wondering at this moment.. thanks |
Yep.
Dunno why but I didn't had that error on my install but a customer had the issue. Anyways I don't know the root cause of this function but honestly that shouldn't be done like that... It removes potential words from comments for example... That sucks :p --------------- Added [DATE]1331204033[/DATE] at [TIME]1331204033[/TIME] --------------- Quote:
|
The security issue was s_id,, which allowed it to be a string when it was supposed to be a int,, that is what allowed the exploit.
Comments should be ok because of the way strings are put in the database.. |
All times are GMT. The time now is 10:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|