Top Banner
28

What could possibly go wrong? Security in Magento Shops

Apr 14, 2017

Download

Internet

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: What could possibly go wrong? Security in Magento Shops
Page 2: What could possibly go wrong? Security in Magento Shops

What could possibly go wrong?

Security in Magento Shops

• integer_net (Aken / Germany)

• Consultant / Developer / Trainer / CEO

• Specialist for Magento and Solr

• @avstudnitz

PHOTO

Andreas von Studnitz

Page 3: What could possibly go wrong? Security in Magento Shops

PHOTO

Real Life Example

• One line of code added

• Reads all requests in admin and

checkout areas

• Encodes and stores data in media/cache_6e0a32[…]d53ee065da

Page 4: What could possibly go wrong? Security in Magento Shops

PHOTO

Real Life Example

• Active for 6 months!

• 5,628 datasets

(email address, name, telephone)

• 1,612 passwords

• All admin usernames and passwords

Page 5: What could possibly go wrong? Security in Magento Shops

Overview

Consequences of Attacks

Types of Attack

Prevention

Page 6: What could possibly go wrong? Security in Magento Shops

PHOTO

What can possibly

go wrong? Consequences of Attacks

Page 7: What could possibly go wrong? Security in Magento Shops

PHOTO

www.ibm.com/security/data-breach/

Page 8: What could possibly go wrong? Security in Magento Shops

PHOTO

Stolen User Data

Page 9: What could possibly go wrong? Security in Magento Shops

PHOTO

Stolen Login Data

Page 10: What could possibly go wrong? Security in Magento Shops

PHOTO

Stolen Payment Data

Page 11: What could possibly go wrong? Security in Magento Shops

PHOTO

This guy lost more than 50,000 $

in a data breach

Page 12: What could possibly go wrong? Security in Magento Shops

PHOTO

Server Attacks

Page 13: What could possibly go wrong? Security in Magento Shops

PHOTO

Page 14: What could possibly go wrong? Security in Magento Shops

PHOTO

Page 15: What could possibly go wrong? Security in Magento Shops

PHOTO

How can this happen

with Magento? Vulnerabilities

Page 16: What could possibly go wrong? Security in Magento Shops

PHOTO

Magento Unpatched

• Neither installed the latest version

• Nor applied important security patches

• (Insecure PHP version)

Page 17: What could possibly go wrong? Security in Magento Shops

PHOTO

Example: Shoplift Bug

(patched February 2015)

Page 18: What could possibly go wrong? Security in Magento Shops

PHOTO

50,581 Source: byte.nl, April 2016

Magento shops vulnerable to Shoplift:

(out of 255.558)

Page 19: What could possibly go wrong? Security in Magento Shops

PHOTO

Weakly secured Admin Area

• http://magento.site/admin/

• http://magento.site/downloader/

• Username “admin”

• Low security passwords

Page 20: What could possibly go wrong? Security in Magento Shops

PHOTO

What can an Attacker do

with Admin Access? (1) 1. Log in

2. Upload a custom extension in the Magento

Connect Manager (downloader)

Page 21: What could possibly go wrong? Security in Magento Shops

PHOTO

What can an Attacker do

with Admin Access? (2) 1. Log in

2. Inject custom JavaScript in System

=> Configuration

Page 22: What could possibly go wrong? Security in Magento Shops

PHOTO

Page 23: What could possibly go wrong? Security in Magento Shops

PHOTO

Security issues in extensions

• Custom or purchased extensions

• SQL Injection, XSS, …

• Backdoors

• Installation service

Page 24: What could possibly go wrong? Security in Magento Shops

PHOTO

How can I

prevent Attacks?

Page 25: What could possibly go wrong? Security in Magento Shops

PHOTO

1. Follow basic Guidelines

• Update Magento and PHP

• Secure the admin area

• Subscribe to the security mailing list

Page 26: What could possibly go wrong? Security in Magento Shops

PHOTO

2. Check your Site

Page 27: What could possibly go wrong? Security in Magento Shops

PHOTO

3. Do security reviews

Severe security issues found in more than 50% of my reviews

Page 28: What could possibly go wrong? Security in Magento Shops

PHOTO

Q & A

Please contact me!

@avstudnitz [email protected]

@integer_net www.integer-net.com