registration problem

18 years 1 month ago #7675 by philzy99
Replied by philzy99 on topic Re:registration problem

Please beware that the replacement suggested above opens a hole for SQL injection attacks...


This is a little concerning, however the code provided as an alternative did not work for me. SO, if a snippet could be placed that allowed functionality and security, it would be GREATLY appreciated! Thanks BTW for the fix Chris! :)

Please Log in to join the conversation.

18 years 2 weeks ago #9673 by eyekon1
Replied by eyekon1 on topic Re:registration problem
what folder do i find this comprofiler.php in?

Please Log in to join the conversation.

18 years 2 weeks ago #9677 by eyekon1
Replied by eyekon1 on topic Re:registration problem
eyekon1 wrote:

what folder do i find this comprofiler.php in?


nevermind, found it :laugh:

Please Log in to join the conversation.

18 years 2 weeks ago #9728 by eyekon1
Replied by eyekon1 on topic Re:registration problem
beat wrote:

Sibling Chris wrote:

if your problems are exactly the same as I described mine were using mambo 4.5.3 then I would think the same fix I suggested to comprofiler.php will work, it certainly sorted things for me

in comprofiler.php look for

confirm(mosGetParameter($_REQUEST,'confirmcode','1');

and replace with

confirm( $_GET );


Thanks for finding the problem. I'm amazed that Mambo changed the mosGetParameter function...

But please beware that the replacement suggested above opens a hole for SQL injection attacks...
Instead, a SQL-safe replacement is:

[code:1]cbGetEscaped(isset($_GET) ? $_GET : ""«»);
[/code:1]




sort of a noob question.... but can someone explain what exactly is a SQL injection attack? and how would this affect a website if the above code was changed as suggested?

Post edited by: eyekon1, at: 2006/04/05 22:47

Please Log in to join the conversation.

18 years 2 weeks ago #9756 by Viames
Replied by Viames on topic [OT] SQL Injection
eyekon1 wrote:

sort of a noob question.... but can someone explain what exactly is a SQL injection attack? and how would this affect a website if the above code was changed as suggested?

Take a look there: SQL Injection Attacks by Example :)

CB italian translation & testing
translations on joomla.it
homesites: Viames.it , Crotone on Web

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.242 seconds

Facebook Twitter LinkedIn