vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Are you able to download the database directly from AdminCP? (https://vborg.vbsupport.ru/showthread.php?t=305502)

JMEWLS` 12-06-2013 05:55 AM

Are you able to download the database directly from AdminCP?
 
Is this possible?

tbworld 12-06-2013 06:49 AM

Quote:

Originally Posted by JMEWLS` (Post 2466181)
Is this possible?

Sorry, that is not possible. In my opinion it would be a security nightmare.

Digital Jedi 12-06-2013 07:12 AM

Quote:

Originally Posted by tbworld (Post 2466186)
Sorry, that is not possible. In my opinion it would be a security nightmare.

Actually, in vB3, yes you can. Admin CP ? Maintenance ? Database Backup. You can save an .sql file to your computer or backup one to a location on your server (which you should promptly move to someplace not publically accessible.)

However, it's generally not recommended to use, as timeouts can corrupt your download. Something like Telnet/PuTTy is preferable.

tbworld 12-06-2013 10:00 AM

I did not see that it was a VB3 question. Thanks @digital_jedi. :)

blind-eddie 12-06-2013 11:58 AM

I knew you could back it, but never used the option. I thought it would be saved within your site folder only, not allow you to download it.
I set it in config so no one could use this option. I considered it a security flaw.

tbworld 12-06-2013 01:13 PM

Quote:

Originally Posted by blind-eddie (Post 2466228)
I knew you could back it, but never used the option. I thought it would be saved within your site folder only, not allow you to download it.
I set it in config so no one could use this option. I considered it a security flaw.

After thinking about it a little. I am sure that vBulletin designed it to be safe, if
carefully deployed. The problem is beginners do not carefully deploy anything. So I do think it is an expert option that should be used carefully or not at all -- granted, I have not looked at the code. :)

ZUCCO 12-06-2013 03:16 PM

I dont think you can. Better use your cpanel as everyone does

Digital Jedi 12-06-2013 04:17 PM

It just seems to be one of those functions that was hardly ever used. (Kinda like Upload Smilies.) I guess it was removed from vB4? It was never really recommended. The couple of times I tried it on our small board, and I never got a uncorrupted download.

Max Taxable 12-06-2013 04:32 PM

In v3 you can even choose what tables you want to download, making it very convenient for a rouge admin or a script kiddie who just happened to get into a admin account, to just choose the users table and scrape your member base. Not much chance of that relatively small download being corrupted.

Digital Jedi 12-06-2013 04:40 PM

I guess it was useful for downloading individual tables, in addition to the CSV backup. But I don't think I've ever heard of anyone's site being compromised through that specific feature. I mean, once you have admin access, there's better ways into the server.

Max Taxable 12-06-2013 04:50 PM

Quote:

Originally Posted by Digital Jedi (Post 2466293)
I guess it was useful for downloading individual tables, in addition to the CSV backup. But I don't think I've ever heard of anyone's site being compromised through that specific feature. I mean, once you have admin access, there's better ways into the server.

If you have only adminCP access, not really. It doesn't necessarily follow that those credentials get you into the server too.

I definitely agree with blind-eddie and you this was a major security flaw in v3.

Zachery 12-06-2013 05:40 PM

Quote:

Originally Posted by Max Taxable (Post 2466298)
If you have only adminCP access, not really. It doesn't necessarily follow that those credentials get you into the server too.

I definitely agree with blind-eddie and you this was a major security flaw in v3.

It would be pretty trivial to re-add the functionality via a creative plugin, or template, or a bit of both. So it all depends on how skilled an admin is and if you're giving them access to stuff like plugins/templates and trust them.

We removed the backup functionality because it was not dependable to create quality backups. Instead of spending additional time improving it, it was removed. We'd recommend that customer use better tools like the raw MySQLdump command line too, or software designed to do backups like mysqldumper.

Max Taxable 12-06-2013 05:47 PM

I'm not a fan of it so i am definitely not calling for it in v4 or v5.

tbworld 12-06-2013 05:47 PM

Thanks @Zachery, for the explanation. ;)

Digital Jedi 12-06-2013 05:54 PM

Quote:

Originally Posted by Max Taxable (Post 2466298)
If you have only adminCP access, not really. It doesn't necessarily follow that those credentials get you into the server too.

I definitely agree with blind-eddie and you this was a major security flaw in v3.

No more or less secure than the ability to run queries from the Admin CP. Come to think of it, that's of those other ways in.

Max Taxable 12-06-2013 05:55 PM

Quote:

Originally Posted by Digital Jedi (Post 2466319)
No more or less secure than the ability to run queries from the Admin CP. Come to think of it, that's of those other ways in.

Right but, being able to download the tables is unique to v3 and earlier. Plus, the ability to run queries must be permissioned in config file.

Digital Jedi 12-06-2013 06:00 PM

Quote:

Originally Posted by Max Taxable (Post 2466320)
Right but, being able to download the tables is unique to v3 and earlier. Plus, the ability to run queries must be permissioned in config file.

It doesn't seem to be something that was ever used, at least not proficiently. And it was in vB 3 as far back as I can remember. I'm not entirely sure it isn't tied to a script permission, but I'd have to check. It just seems like it was so unreliable not even hackers bothered with it.

Max Taxable 12-06-2013 06:02 PM

Quote:

Originally Posted by Digital Jedi (Post 2466329)
It doesn't seem to be something that was ever used, at least not proficiently. And it was in vB 3 as far back as I can remember. I'm not entirely sure it isn't tied to a script permission, but I'd have to check. It just seems like it was so unreliable not even hackers bothered with it.

Or they might not have known about it. It IS a obscure function.

Zachery 12-06-2013 06:52 PM

Quote:

Originally Posted by Digital Jedi (Post 2466329)
It doesn't seem to be something that was ever used, at least not proficiently. And it was in vB 3 as far back as I can remember. I'm not entirely sure it isn't tied to a script permission, but I'd have to check. It just seems like it was so unreliable not even hackers bothered with it.

It was used pretty often by some customers, I remember getting complaints about it early on in vB4's life cycle. But honestly, people who used the tool rarely got full backups, which caused more problems.

We removed it for the sake of causing less problems in the long run, IIRC.

ozzy47 12-06-2013 08:18 PM

TBH, on smaller boards, I still use this, https://vborg.vbsupport.ru/showthread.php?t=192488

I had to tweak it a bit to get it to work on vB4 but it does it's job.

Digital Jedi 12-07-2013 08:04 AM

Quote:

Originally Posted by Zachery (Post 2466371)
It was used pretty often by some customers, I remember getting complaints about it early on in vB4's life cycle. But honestly, people who used the tool rarely got full backups, which caused more problems.

We removed it for the sake of causing less problems in the long run, IIRC.

What I meant to say is it doesn't seem like it was ever used for hacking. I probably shouldn't have said "proficiently", rather, "often". Meaning that if it was used, you didn't really hear about it ever happening.

PsychoModz 12-08-2013 12:11 PM

I never use the built-in database dump functionality, as almost all dumps were corrupted. I always use an external utility to dump the data. Even phpMyAdmin is not recommended to backup and restore complete databases (at least if they are bigger than 2 MBytes).
If you have a root or dedicated server with access to the shell, then the fastest and safiest backup can be done with the mysqldump utility.
If you only can access FTP, then you should consider to install MySQLDumper (and secure it using a password), which can even backup and restore very big databases from the Browser.

Digital Jedi 12-08-2013 09:39 PM

I've always liked using PuTTy, once I stopped making typos and trying to access the wrong site. Ah, those early days.

Max Taxable 12-08-2013 09:53 PM

Quote:

Originally Posted by Digital Jedi (Post 2466868)
I've always liked using PuTTy, once I stopped making typos and trying to access the wrong site. Ah, those early days.

Ha. That still happens to me even in my OLD days!


All times are GMT. The time now is 01:23 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
  • Page Generation 0.01233 seconds
  • Memory Usage 1,769KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete