![]() |
Anyone know what this weird error is?
We haven't had any errors in awhile, just seems strange.
PHP Code:
|
'bell_o'reily9215@internetmarketerthemes.com'
that is causing the error code. the ' mark. |
Quote:
|
take the ' out of the email address. he will have to use another email to join nirc.
|
Or fix the query to accept the ' (use addslashes(htmlspecialchars_uni ? Sorry, it's been a while since I've done that.)
|
You're not sanitizing your inputs, that file is just ready to bust out some nearly nasty SQLi
|
I highly recommend you get someone who knows how to securely handle queries to fix your code because as it is, anyone can easily drop any table in your database.
If you're the one one that coded it, simply pass your email variable through the $vbulletin->db->escape_string() function |
The ip belongs to a spam bot i see
|
If this code is vulnerable, then the mod needs to be grave yarded, https://vborg.vbsupport.ru/showthread.php?t=294164
--------------- Added [DATE]1387505631[/DATE] at [TIME]1387505631[/TIME] --------------- Which I see it now is, 'quarantined' |
Yes I have quarantined the mod and informed the author of a security issue. I recommend anyone with this mod installed, disable it in product manager until an update is released.
|
Use this myself but i recoded it sometime ago and have never had a problem so for now will keep it active
|
Quote:
|
Quote:
|
So this all relates to this mod: Verify Mail before registration I have disabled this mod for now, following the email I got this morning. Do I need to do anything else?
|
No, just wait and see if it gets updated, if it does you will get another email.
|
Alternatively you can set a directive in the php.ini file to default to sanitizing all input for HTML safety:
Quote:
|
Quote:
That would not help an SQL injection since a single quote is not an HTML special character- this is only to prevent HTML not SQL injection. |
All times are GMT. The time now is 06:00 AM. |
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:
|