Security Notes (In Progress)
disable all unused componets + modules
robots.txt (images show search) (robots.txt has to live in root domain)
remove ?tp=1 (code on video or website)
##### Start ?tp=1 prevention #####
RewriteCond %{QUERY_STRING} tp=(.*)
RewriteRule ^(.*)$ index.php [F,L]
##### End ?tp=1 pevention #####
?tp=brianteeman
template/index.php
// Remove the generator meta tag
$this->setGenerator(null);
?>
or be more funky
// Change the generator meta tag
$this->setGenerator('Drupal);
?>
Exploits:
example:
http://www.example.com/index.php?
option=com_name&view=user
&user_id=62+and%201=2+union+select+concat(username,0x3a,password)+from+jos_users
don't use jos_ for your database
delete original admin accounts.
rename the admin
check this: administrator/components/com_name/name.xml (should not be visible)
.htaccess:
<File ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
How to fix 404 error page.. show something better than that nasty error page.
templates/system/error.php
copy to templates/
you can create any php file here instead of what it is.
option=templates=solarflame2 (remove the other templates)
secure admin
htaccess rule require a new password
or from specific ip
sweekey plugin hardware key
jsecure is also good
Share

