SlideShare ist ein Scribd-Unternehmen logo
1 von 51
Downloaden Sie, um offline zu lesen
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz
Magento Worst Practice
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz
Magento Worst Practice
Andreas von Studnitz
Magento since 2008
Developer, Consultant,
Trainer
Co-Founder integer_net
Aachen, Germany
Andreas von Studnitz - @avstudnitz
Problems
Andreas von Studnitz - @avstudnitz
Small Problems
• Bad code quality
• Low performance
• Conflicting modules
• Hard to update
Small Problems
Andreas von Studnitz - @avstudnitz
Small Problems
• Outdated Magento version
• Not patched
• Conflicting modules
• Low performance
• Hard to update
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz - @avstudnitz
Real™ Problems:
Security
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz - @avstudnitz
17/11/2015
Andreas von Studnitz - @avstudnitz
Customer data and passwords
stolen
lib/Varien/Object.php:
Andreas von Studnitz - @avstudnitz
Usernames and passwords stolen
Andreas von Studnitz - @avstudnitz
Site hacked / encrypted
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz - @avstudnitz
Top 10
Worst Magento
Practices
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#10
Downloadable Code
Andreas von Studnitz - @avstudnitz
Protect your .git folder
(if you have any)
Andreas von Studnitz - @avstudnitz
Don‘t put your code on GitHub
unprotected!
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#9
Downloadable Data
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz - @avstudnitz
email address, name,
company, password
(hashed), order items
(1264 lines)
Full (outdated)
database dump
Andreas von Studnitz - @avstudnitz
But if you don’t know the filename,
these issues cannot be exploited!
http://www.seochat.com/c/a/
google-optimization-help/hiding-
your-sensitive-data-from-google-
and-the-world/
http://securityxploded.com/
bruteforcing-filenames-on-
webservers-using-dirbuster.php
?
Andreas von Studnitz - @avstudnitz
Don‘t put your database dumps
on GitHub!
Andreas von Studnitz - @avstudnitz
Please!
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#8
Unprotected
Executables
Andreas von Studnitz - @avstudnitz
Import script;
triggers reindexing
Imports database from file
Andreas von Studnitz - @avstudnitz
• Don’t call your scripts from the browser –
use the shell instead
• Put your executables into “shell” instead of
the main directory
• Remove unneeded scripts
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#7
Unprotected
Database Credentials
Andreas von Studnitz - @avstudnitz
Don‘t remove the protection of
app/etc/local.xml!
Andreas von Studnitz - @avstudnitz
Don‘t put your
local.xml on GitHub!
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#6
Unsecured Admin
Andreas von Studnitz - @avstudnitz
• Don’t use the default admin username /
password
• Don’t use common usernames and
passwords
• Change the admin URL
• Remove the Magento Connect Manager
(“downloader”)
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#5
Unsecured Tools
Andreas von Studnitz - @avstudnitz
Don‘t leave your management
tools unprotected!
Update your tools!
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#4
Patches not applied
Andreas von Studnitz - @avstudnitz
Example: Shoplift Bug
(patched February 2015)
Andreas von Studnitz - @avstudnitz
50,581
Source: byte.nl, April 2016
Magento shops vulnerable to Shoplift:
(out of 255,558)
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#3
Insecure Modules
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#2
Database Tools
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz - @avstudnitz
If you have a DB management tool freely accessible,
at least pre-fill access data!
</irony>
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#1
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz - @avstudnitz
No comment.
Andreas von Studnitz - @avstudnitz
Top 10 Worst Magento Practices
#1
Backdoors
Andreas von Studnitz - @avstudnitz
That‘s it?
Yes.
For now.
Looking for more examples 
Andreas von Studnitz - @avstudnitz
Real™ Problems:
• Stolen user data
• Stolen payment data
• Server misused by hackers
• Server unavailable
• Server hold to ransom
Andreas von Studnitz - @avstudnitz
Security Basics
• “Security by Obscurity” doesn’t work
• Keep your stuff up to date
• Stay informed
• For all freely accessible files, double check
if they can be misused
• Don’t trust easily
• Do code reviews!
• Recommendation: www.magereport.com
Andreas von Studnitz - @avstudnitz
Andreas von Studnitz - @avstudnitz
Thank you!
PHOTO
Please contact me!
@integer_net www.integer-net.com
@avstudnitz avs@integer-net.com

Weitere ähnliche Inhalte

Was ist angesagt?

Enterprise workshops jira security and permissions management atlassian deck
Enterprise workshops jira security and permissions management atlassian deckEnterprise workshops jira security and permissions management atlassian deck
Enterprise workshops jira security and permissions management atlassian deck
Atlassian
 
UI Engineer - the missing profession, devoxx 2013
UI Engineer - the missing profession, devoxx 2013UI Engineer - the missing profession, devoxx 2013
UI Engineer - the missing profession, devoxx 2013
Dierk König
 
Make Your Site Faster: How to Improve Front-End Performance Strategy
Make Your Site Faster: How to Improve Front-End Performance StrategyMake Your Site Faster: How to Improve Front-End Performance Strategy
Make Your Site Faster: How to Improve Front-End Performance Strategy
Acquia
 
Load testing housekeeping_newtemplate_q12015
Load testing housekeeping_newtemplate_q12015Load testing housekeeping_newtemplate_q12015
Load testing housekeeping_newtemplate_q12015
Acquia
 

Was ist angesagt? (20)

TechORama : The Toolshed: Inside Windows Azure Tools : Monaco and other tooli...
TechORama : The Toolshed: Inside Windows Azure Tools : Monaco and other tooli...TechORama : The Toolshed: Inside Windows Azure Tools : Monaco and other tooli...
TechORama : The Toolshed: Inside Windows Azure Tools : Monaco and other tooli...
 
3 Steps to Maintain & Cleanse your WordPress site
3 Steps to Maintain & Cleanse your WordPress site3 Steps to Maintain & Cleanse your WordPress site
3 Steps to Maintain & Cleanse your WordPress site
 
FinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users Make
FinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users MakeFinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users Make
FinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users Make
 
Getting Hooked on Twitch’s Webhooks - TwitchCon Developer Day 2017
Getting Hooked on Twitch’s Webhooks - TwitchCon Developer Day 2017Getting Hooked on Twitch’s Webhooks - TwitchCon Developer Day 2017
Getting Hooked on Twitch’s Webhooks - TwitchCon Developer Day 2017
 
10 WordPress Tips
10 WordPress Tips10 WordPress Tips
10 WordPress Tips
 
Enterprise workshops jira security and permissions management atlassian deck
Enterprise workshops jira security and permissions management atlassian deckEnterprise workshops jira security and permissions management atlassian deck
Enterprise workshops jira security and permissions management atlassian deck
 
How To Use IFTTT
How To Use IFTTTHow To Use IFTTT
How To Use IFTTT
 
HTML stack pro WP šablonu - WP Weekend #3
HTML stack pro WP šablonu - WP Weekend #3HTML stack pro WP šablonu - WP Weekend #3
HTML stack pro WP šablonu - WP Weekend #3
 
UI Engineer - the missing profession, devoxx 2013
UI Engineer - the missing profession, devoxx 2013UI Engineer - the missing profession, devoxx 2013
UI Engineer - the missing profession, devoxx 2013
 
Make Your Site Faster: How to Improve Front-End Performance Strategy
Make Your Site Faster: How to Improve Front-End Performance StrategyMake Your Site Faster: How to Improve Front-End Performance Strategy
Make Your Site Faster: How to Improve Front-End Performance Strategy
 
Empathetc Development
Empathetc DevelopmentEmpathetc Development
Empathetc Development
 
Efficient Search Campaigns SAScon May 2012
Efficient Search Campaigns SAScon May 2012Efficient Search Campaigns SAScon May 2012
Efficient Search Campaigns SAScon May 2012
 
Wrangling Wordpress To Make Your Blog Do What You Want
Wrangling Wordpress To Make  Your Blog Do What You WantWrangling Wordpress To Make  Your Blog Do What You Want
Wrangling Wordpress To Make Your Blog Do What You Want
 
Secure development environment @ Meet Magento Croatia 2017
Secure development environment @ Meet Magento Croatia 2017Secure development environment @ Meet Magento Croatia 2017
Secure development environment @ Meet Magento Croatia 2017
 
Load testing housekeeping_newtemplate_q12015
Load testing housekeeping_newtemplate_q12015Load testing housekeeping_newtemplate_q12015
Load testing housekeeping_newtemplate_q12015
 
High availability in IT: AAAARGH
High availability in IT: AAAARGHHigh availability in IT: AAAARGH
High availability in IT: AAAARGH
 
ЛЮДМИЛА НЕСВІТІЙ «UI авто-тести з максимальною швидкiстю та вигодою» Lviv QA ...
ЛЮДМИЛА НЕСВІТІЙ «UI авто-тести з максимальною швидкiстю та вигодою» Lviv QA ...ЛЮДМИЛА НЕСВІТІЙ «UI авто-тести з максимальною швидкiстю та вигодою» Lviv QA ...
ЛЮДМИЛА НЕСВІТІЙ «UI авто-тести з максимальною швидкiстю та вигодою» Lviv QA ...
 
WordPress, state of the Accessibility
WordPress, state of the AccessibilityWordPress, state of the Accessibility
WordPress, state of the Accessibility
 
Defining Your Maintenance Strategy
Defining Your Maintenance StrategyDefining Your Maintenance Strategy
Defining Your Maintenance Strategy
 
Prevent Hacking: 10 Steps to Secure your WordPress Site
Prevent Hacking: 10 Steps to Secure your WordPress SitePrevent Hacking: 10 Steps to Secure your WordPress Site
Prevent Hacking: 10 Steps to Secure your WordPress Site
 

Ähnlich wie Magento Worst Practice (Meet Magento Poland 2016)

Mobile Application Development
Mobile Application DevelopmentMobile Application Development
Mobile Application Development
sonichinmay
 

Ähnlich wie Magento Worst Practice (Meet Magento Poland 2016) (20)

Code Quality with Magento 2
Code Quality with Magento 2Code Quality with Magento 2
Code Quality with Magento 2
 
What could possibly go wrong? Security in Magento Shops
What could possibly go wrong? Security in Magento ShopsWhat could possibly go wrong? Security in Magento Shops
What could possibly go wrong? Security in Magento Shops
 
Securing your WordPress website - New Port Richey WP Meetup
Securing your WordPress website - New Port Richey WP MeetupSecuring your WordPress website - New Port Richey WP Meetup
Securing your WordPress website - New Port Richey WP Meetup
 
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
 
GoodData: One Stop Shop for Analytics
GoodData: One Stop Shop for AnalyticsGoodData: One Stop Shop for Analytics
GoodData: One Stop Shop for Analytics
 
WordPress Security Presentation
WordPress Security PresentationWordPress Security Presentation
WordPress Security Presentation
 
Troubleshooting The Modern Managed Client - Workplace Nijna Summit 2020
Troubleshooting The Modern Managed Client - Workplace Nijna Summit 2020  Troubleshooting The Modern Managed Client - Workplace Nijna Summit 2020
Troubleshooting The Modern Managed Client - Workplace Nijna Summit 2020
 
Let's Make Pentesting Fun Again! Report writing in 5 minutes.
Let's Make Pentesting Fun Again! Report writing in 5 minutes.Let's Make Pentesting Fun Again! Report writing in 5 minutes.
Let's Make Pentesting Fun Again! Report writing in 5 minutes.
 
Penetration testing as an internal audit activity
Penetration testing as an internal audit activityPenetration testing as an internal audit activity
Penetration testing as an internal audit activity
 
Office Add ins community call-February 2019
Office Add ins community call-February 2019Office Add ins community call-February 2019
Office Add ins community call-February 2019
 
WSO2Con USA 2015: Keynote - Helping You Connect the World
WSO2Con USA 2015: Keynote - Helping You Connect the WorldWSO2Con USA 2015: Keynote - Helping You Connect the World
WSO2Con USA 2015: Keynote - Helping You Connect the World
 
Mobile Application Development
Mobile Application DevelopmentMobile Application Development
Mobile Application Development
 
WordPress News, Views and Stuff October 2016
WordPress News, Views and Stuff October 2016WordPress News, Views and Stuff October 2016
WordPress News, Views and Stuff October 2016
 
Achieving Technical Excellence in Your Software Teams - from Devternity
Achieving Technical Excellence in Your Software Teams - from Devternity Achieving Technical Excellence in Your Software Teams - from Devternity
Achieving Technical Excellence in Your Software Teams - from Devternity
 
Magento Security Best Practises - MM17DE
Magento Security Best Practises - MM17DEMagento Security Best Practises - MM17DE
Magento Security Best Practises - MM17DE
 
The Tale of 2 CLIs - Ember-cli and Angular-cli
The Tale of 2 CLIs - Ember-cli and Angular-cliThe Tale of 2 CLIs - Ember-cli and Angular-cli
The Tale of 2 CLIs - Ember-cli and Angular-cli
 
How to deploy AppInternals in azure
How to deploy AppInternals in azureHow to deploy AppInternals in azure
How to deploy AppInternals in azure
 
Magento security 2015 best practices
Magento security 2015 best practicesMagento security 2015 best practices
Magento security 2015 best practices
 
Tizen store-z1-20150228rzr
Tizen store-z1-20150228rzrTizen store-z1-20150228rzr
Tizen store-z1-20150228rzr
 
Interact Differently: Get More From Your Tools Through Exposed APIs
Interact Differently: Get More From Your Tools Through Exposed APIsInteract Differently: Get More From Your Tools Through Exposed APIs
Interact Differently: Get More From Your Tools Through Exposed APIs
 

Kürzlich hochgeladen

valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 

Kürzlich hochgeladen (20)

valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 

Magento Worst Practice (Meet Magento Poland 2016)