Can anyone help me with this problem,
Details of the reported exploit are as follows; Multiple CSRF Vulnerabilities ============================= Example ------------------ if ($_REQUEST['do'] == 'deletereply'){ ------------------ Because the "delete" command can be executed via a GET request (ie. URL in a signature), if a user with permission clicks a link that is specifically crafted, it can delete something. CSRF. This is in my HelpCenter modification. I thought I had covered all CSRF issues but its seems I may have missed something but I dont know how to correct as ive covered everything from this thread. Thanks, Paul. |
Quote:
|
I'm trying to add the security token to a mod that is giving me an error message. The mod is very important and I'm not getting any answers from the author.
The mod uses AJAX, which is what is not working. When someone uses quickreply and posts their reply it's supposed to automatically reveal the hidden content. Instead it gives the security token issue. Here are the templates. Must there be a change to the xml file also? Code:
<!--hide-addon--> Code:
<if condition="$vboptions[disable_ajax] != 2 AND $vboptions[sid_hide_ajax_on] == 1"> I am not asking for the solution, but guidance. |
Quote:
I agree completely with the companion, I use this modification and tb I have these problems, it is a product very used in the forum and I cannot allow me the luxury of removing it, ask them please that they should help us in this topic, graces(thanks) Pd: since always I ask for excuses for my English one, for which I use one I translate of Spanish to groins, sie |
Yes BIG Thank You to every one who got this needed info to us. This fixed all my mods that went down after the move to vB 3.7.0 Gold.........................
Now the mods I have been running for over 2.5 years are all back online... |
Quote:
What did this look like before the edit? What are you editing? Is it a template, a plug-in? |
Hi guys, I don't really understand this, what I want to do is make it so this does not show anymore.
https://vborg.vbsupport.ru/external/2008/11/48.jpg Please help me take that off. Thanks. |
wow ! This is a precious thread !
thank you :) |
Greetings all,
Well, you guys are my last hope. I had a mod written for me last year, my forum members love it and at the moment it's running but when I upgrade I don't expect it to survive..so I'm trying to get a handle on this so that I can do it myself. The coder has long since disappeared so help is appreciated. The beginning of this thread says that: "To opt your entire file into CSRF protection the following should be added to the top of the file under the define for THIS_SCRIPT." I have this line at the beginning of my mods .php file: define('THIS_SCRIPT', 'dataawards_awards'); Do I add this: define('CSRF_PROTECTION', true); Directly below that line? will that solve the entire security token issue or do I need to hunt for form/posts? Talking about form/posts...is this one?: $awarddisplay.= '<form action="' . htmlentities($_SERVER['PHP_SELF']) . '?addawards=' . $_REQUEST['addawards'] . '&type=' . $type . '" method="POST">'; If I understand this correctly I need to find all form/posts (since you are posting and not requesting, thus the need for the security token): <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> Thanks, I hope I can work through this on my own, but if anyone wants to make some money, I'd rather pay to have it done..PM if interested. |
Quote:
I do what you said and my problem is solved now... :) thanks again |
All times are GMT. The time now is 12:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|