Loading...
 
Skip to main content

Features / Usability


Security Problem with 1.97

Hello,

My server company techs informed me that today someone had exploited a security hole in tikiwiki 1.97, and deposited some files in my wiki/backups folder. The techs thought it might have something to do with 777 permissions settings in some forlders (they don't know which). Does anyone have some advice on how to shut down this security hole? I recall having removed my tiki-install file, so I don't think that's the problem. Thanks in advance.

Tiki-Wiki under attack
http://tikiwiki.org/tiki-read_article.php?articleId=136Question
http://tikiwiki.org/TikiSecurityQuestion
That was some old stuff + measures.

Then you didn't tell what you've done already? Normally in the install.docs, both on Tiki-Wiki and in your Tiki-Wiki directory, issues like the permissions for folders are discussed => INSTALL.doc & README.doc.
Next to some OTHER remarks!, it says the docs are here:

The rest of this document includes parts of the online documentation that might be enough to get you running Tiki.
for non-dedicated server: http://tikiwiki.org/tiki-index.php?page=InstallWithOnlyFtpAccess&tikiversion=1.9.5Question
yep; it says chmod to 777... But in most cases that should be temporary...
I think it is not complete: In mu notes I find back that this 1.9.5 file is IN ADDITION to:
http://tikiwiki.org/tiki-index.php?page=InstallWithOnlyFtpAccess&tikiversion=1.8.3Question
Maybe it was a hacker who wrote the new 1.9.5 doc additions with new dirs to chmod to 777; like:

  • files
  • temp/cache
  • maps
  • mods

Anyway; does the install set these values back to 755 or even lower? On MediaWiki *all* dirs seem to be 755!
(and files 644!)

Then I read this in INSTALL file; pretty long story, only for advanced users; not that easy to follow:
Step two: run setup.sh to set permissions CHMOD the file setup.sh to 755. "chmod 755 setup.sh" Set permissions and virtual host domains with setup.sh:
Determine what user and group your web server runs as. The script setup.sh in this directory assigns necessary permissions for the directories that the web server writes files to. It also creates the (initially empty) cache directories.

=> that thing must set dir permissions back to 755 & file permission to 644 ???

- and I have no idea what to do with all the many things that I should do with setup.ch; don't have root access on the server, so what now?

Then it says: (step 3 for security)) CHMOD the file htaccess.sh to 755. "chmod 755 htaccess.sh" + some things I dont understand/ cant do.

=> I think Tiki-Wiki might be the most difficult, disorderd and complexed setup, compared to many other more user friendly web-software.

& did I miss something? I was only looking for the UPGRADE file instead of INSTALL and never found it, but finally that options shows up in the install.php file!

=> I dont see anything about setting files back to 644 and dirs back to 755.

=> forgot my password, requested new one and nver received the temporary, so I'm locked out again; typical Tiki-Wiki. Then my pages have gone for the old Tiki; isy empty.

A you can see, I;m upgrading (1.9.5-1.9.7) and I hope its safe. I have sometimes up to 10 attacks daily from a Israeli paramilitary firm, to hackers, spammers connected to a Hezbollah USA Defense site Hollywood Interactive (yep THE Russian spammers, or Russian-Israeli), private spy companies, Philips-Orange secret service, left-wing activists, right wing activists and so on. Guess what? I'm loosing my hairs! And ofcourse, I don't have a 'Silly-Lilly' website.

What I miss in most cases, if its Tiki-Wiki, MediaWiki, Drupal, or just a webhoster...
Mostly there is poor info about security and it almost always lacks a proper and up-to-date security manual for the non-advanced user.
Like this advice to do for your TikiWiki:
http://www.debian.org/doc/manuals/securing-debian-howto/ap-chroot-apache-env.en.htmlQuestion
Very nice... I even don't know what those words mean.

Then I have some internal loops errors many times a second for 2 months now; hope it is in the Tiki-Wiki dir and will disappear after upgrading...

addition => OK my time is up. I can't resolve this (to start with getting my password) and begin deleting all the tiki files on my site by tonight (hope this also resolves the servers interanl loop error). Pitty for the info I had there and si lost + 2 years work, but that's the way it is.