Jump to content

Re: security issue


pierre

Recommended Posts

Re:

 

http://forum.whmcs.com/showthread.php?60646-WHMCS-Security-Alert

 

"simply delete the /modules/gateways/boleto/ folder entirely after which you will not be at risk."

 

Done. Should the boleto.php file above that dir i.e. inside /modules/gateways be deleted too ? At best it is now unnecessary ?

 

(Could not post under that thread as it is closed).

Link to comment
Share on other sites

We'd done this for everything we're not actively using or planning to use in the future. There was one a while back that got us thinking of that, and since it doesn't break anything (but may leave holes as this did), we pared it all back. Gateways, registrars and so on. Easy enough to add it back if you need one.

Link to comment
Share on other sites

We'd done this for everything we're not actively using or planning to use in the future. There was one a while back that got us thinking of that, and since it doesn't break anything (but may leave holes as this did), we pared it all back. Gateways, registrars and so on. Easy enough to add it back if you need one.

 

Exactly - we delete them all at every install/upgrade and then put back the ones we use, most of which we've rewritten anyway.

Link to comment
Share on other sites

  • WHMCS CEO

Done. Should the boleto.php file above that dir i.e. inside /modules/gateways be deleted too ? At best it is now unnecessary ?

 

No it is not necessary to delete the boleto.php file from /modules/gateways/. Just the directory as instructed. Removing gateway, server or registrar module files you don't use is fine, but also unnecessary.

 

Matt

Link to comment
Share on other sites

the patch basicaly is a verify of access rights.

 

if ( !isset($_SESSION["uid"]) && !isset($_SESSION['adminid']) ) {
   header("Location: ../../../clientarea.php");
   exit;
}


$GATEWAY = array();

 

But in many cases the we send for our client the link to open direclty the boleto, in this case use only $GATEWAY = array(); these will prevent the auto load variable

 

Its the real problem, auto load variable.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated