News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

New Bug

Started by sup_iran, August 18, 2007, 05:36:23 AM

Previous topic - Next topic

ioszilla


Dragooon

Well. ROFLMAORLFMAOLMFAO

sup_iran

#3
Scary Boys Find this bug

;-)

Smith6612

LOL.... what a laugh! It's funny though, how Google hasn't found that on my forum yet.

karlbenson

#5
Its not a serious security exploit that they can little sentence to appear. (works on 2.0 and 1.1.3)
Because they can't use it exploit it to any benefit as bbcode or html won't work. (it has php function addslashes on it)

This bug is because when the $_GET['helpadmin'] string is passed.
If there is no string wwithin the $helptxt[] string array with that key, it just writes the $_GET['helpadmin'] string (after its make safe)

It should be easily fixable. I'm not worried.



sup_iran

Hello
yes
is not good bug
is GET

;-)

Smith6612

What does that link up there show?

karlbenson

Google it to find out ;)

sup_iran

Quote from: karlbenson on August 18, 2007, 12:50:55 PM
Its not a serious security exploit that they can little sentence to appear. (works on 2.0 and 1.1.3)
Because they can't use it exploit it to any benefit as bbcode or html won't work. (it has php function addslashes on it)

This bug is because when the $_GET['helpadmin'] string is passed.
If there is no string wwithin the $helptxt[] string array with that key, it just writes the $_GET['helpadmin'] string (after its make safe)

It should be easily fixable. I'm not worried.




Hello
in where file we can solved it?

THanks

karlbenson

Open Sources/Help.php

Find @ line 106 (in clean 1.1.3 files)

$context['help_text'] = $_GET['help'];


Replace with

$context['help_text'] = '';

or
put some custom text


$context['help_text'] = 'Help string not found.';

Advertisement: