SlideShare a Scribd company logo
Magento
Application
Security
Anna Völkl / @rescueAnn
Magento Application Security [EN]
Anna Völkl / @rescueAnn
• Magento Certified Developer
• IT & Telecommunication, IT-Security
• PHP (2004), Magento (2011)
• LimeSoda (Vienna, AT)
Anna Völkl / @rescueAnn
• 200 Magento Installations*
• 68 good passwords**
• 10 endless loops***
• 3 forgotten phpinfo.php
• 1 Stroopwafel purchase
* roughly estimated, including test-setups
** thanks to KeePass
*** last one 12/2012
Magento Application Security [EN]
Magento Application Security [EN]
Security-Technology
Department of Defense
Computer Security Initiative
1980
Magento Application Security
 Logins & Passwords
 Admin Backend protected
 SSL installed
Magento Application Security
 Logins & Passwords
 Admin Backend protected
 SSL installed
…there‘s more!
Magento Application
Security
Magento Application
Security
Software Development
Life Cycle
Software Development
Life Cycle
UserUser
DatabaseDatabase
WebserverWebserver
Version control &
delivery
Version control &
delivery
RequirementsRequirements
Software-DesignSoftware-Design DevelopmentDevelopment Extensions /
3rd Party
Extensions /
3rd Party
Out of serviceOut of service
Updates & PatchesUpdates & Patches
LoginsLogins
PasswordsPasswords
Web-Application
Firewall
Web-Application
Firewall
FirewallFirewall
File owner &
permissions
File owner &
permissions
Config filesConfig files
IDS, IPSIDS, IPS
http://blogs.technet.com/b/rhalbheer/archive/2011/01/14/real-physical-security.aspx
Security
Confidentiality
Confidentiality
IntegrityIntegrity
AvailabilityAvailability
Unsecure Software?
•No time
•No knowledge
•No priorities
•Performance
•SEO
•New features
Potential attackers
✗ (organized) criminals
✗ Defacer
✗ Script-Kiddies
✗ Former developers, agencies
✗ Competitors
✗ The merchant theirselves
Interest?
➢Payment data
➢Customer data
➢Personal gain
➢Damage competitors
Most critical web application security flaws
A1 Injection
A2 Broken Authentication and Session Management
A3 Cross-Site Scripting (XSS)
A4 Insecure Direct Object References
A5 Security Misconfiguration
More: https://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project
web application security flaws
OWASP Top 10 2013,
https://www.owasp.org/images/4/42/OWASP_Top_10_2013_DE_Version_1_0.pdf, modified version
Secure Coding
Principles
Minimize attack
surface area
Every feature adds a risk.
Secure defaults
Secure configuration „out of the box“
Least Privilege
Least amount of privilege required to
perform actions
Fail secure
Fail secure vs. Fail safe
Don't trust services
...they can be wrong.
Don't trust user input
Validate the expected
Expect the unexpected
Longest place name (1 word)
Taumatawhakatangihangakoauauotamateaturipuk
akapikimaungahoronukupokaiwhenuakitanatahu
(New Zealand, 85 letters)
https://xkcd.com/327/
Security by obscurity
Security by lack of knowledge?!
KISS
Keep security simple
Simplicity vs. complexity
Fix security issues correctly
Understand the problem
Find related code
Write tests
...now what?!
Functional & non functional
Requirements
Be curious!
Read, learn, try to understand.
Secure Coding Guidelines:
OWASP Secure Coding Practices
Secure Coding
Validate your input
Expected input: Whitelist vs. Blacklist
Secure Coding
https://quadhead.de/cola-hack-sicherheitsluecke-auf-meinecoke-de/
User:
allowed to access a resource?
Admins:
ACLs
Mage::getSingleton('admin/session')
->isAllowed('admin/sales/order/actions/create');
Secure Coding
●
PHPSniffer
●
Magento ECG Coding Standard
●
Dependencies:
Sensio Labs composer.lock check
Security Testing
Scrutinizer CI
Code Climate
SensioLabsInsight
Security Testing
Scrutinizer CI
Code Climate
SensioLabsInsight
Security Testing
●
.git, .git/config
●
composer.lock
●
Standard /admin path
●
/downloader
●
app/etc/local.xml
●
Logfiles
●
phpinfo.php
●
Database-Dumps: livedb.sql.gz
Block access to
SUPEE-5344
SUPEE-5994
Latest security patches
●
Magento Community Edition 1.9.1.1 & Enterprise
Edition 1.14.2 contain SUPEE-5344
●
Magento Shoplift Bug Tester:
https://shoplift.byte.nl
●
Coming soon: Magento Alert Registry
●
@magesecurity
Patch!
Leave your code more
secure (better) than you
found it.

More Related Content

PDF
PDF
[OWASP Poland Day] Security in developer's life
PPTX
SPI Dynamics web application security 101
PPTX
Create code confidence for better application security
PDF
Understanding The Known: OWASP A9 Using Components With Known Vulnerabilities
PPTX
Cloud Security vs Security in the Cloud
PPTX
Mobile security services 2012
[OWASP Poland Day] Security in developer's life
SPI Dynamics web application security 101
Create code confidence for better application security
Understanding The Known: OWASP A9 Using Components With Known Vulnerabilities
Cloud Security vs Security in the Cloud
Mobile security services 2012

What's hot (20)

PPTX
Top 3 tips for security documentation
PPTX
Security hole #5 application security science or quality assurance
PPTX
How can you deliver a secure product
PPTX
Hacking Samsung's Tizen: The OS of Everything - Hack In the Box 2015
PPTX
Owasp Mobile Risk Series : M4 : Unintended Data Leakage
PDF
Pentesting Your Own Wireless Networks, June 2011 Issue
PPTX
Why 'positive security' is a software security game changer
PDF
Secure Coding for Java - An Introduction
PPTX
Application Security within Agile
PPT
Inner Security Ltd
PPTX
Android Application Penetration Testing - Mohammed Adam
PPTX
Automated Security Analysis of Android & iOS Applications with Mobile Securit...
PPTX
G4H Webcast: Automated Security Analysis of Mobile Applications with Mobile S...
PPTX
Career In Information security
PDF
Owasp Mobile Risk M2 : Insecure Data Storage : null/OWASP/G4H Bangalore Aug 2014
PPTX
Owasp A9 USING KNOWN VULNERABLE COMPONENTS IT 6873 presentation
PPTX
Securing Underprotected APIs - Deja vu Security
PDF
[OPD 2019] Governance as a missing part of IT security architecture
PPTX
Continuous and Visible Security Testing with BDD-Security
PDF
[OPD 2019] Top 10 Security Facts of 2020
Top 3 tips for security documentation
Security hole #5 application security science or quality assurance
How can you deliver a secure product
Hacking Samsung's Tizen: The OS of Everything - Hack In the Box 2015
Owasp Mobile Risk Series : M4 : Unintended Data Leakage
Pentesting Your Own Wireless Networks, June 2011 Issue
Why 'positive security' is a software security game changer
Secure Coding for Java - An Introduction
Application Security within Agile
Inner Security Ltd
Android Application Penetration Testing - Mohammed Adam
Automated Security Analysis of Android & iOS Applications with Mobile Securit...
G4H Webcast: Automated Security Analysis of Mobile Applications with Mobile S...
Career In Information security
Owasp Mobile Risk M2 : Insecure Data Storage : null/OWASP/G4H Bangalore Aug 2014
Owasp A9 USING KNOWN VULNERABLE COMPONENTS IT 6873 presentation
Securing Underprotected APIs - Deja vu Security
[OPD 2019] Governance as a missing part of IT security architecture
Continuous and Visible Security Testing with BDD-Security
[OPD 2019] Top 10 Security Facts of 2020
Ad

Similar to Magento Application Security [EN] (20)

PDF
Magento Live UK 2015: Security Essentials Seminar
PDF
Mli 2017 technical first steps to building secure Magento extensions
PDF
Web Security
PDF
Magento Security Best Practises - MM17DE
PDF
Secure input and output handling - ViennaPHP
PDF
Magento Security Best Practises - MM17PL
PDF
Web application security (eng)
PPTX
The path of secure software by Katy Anton
PDF
Magento security best practices 2015
PPTX
Presentation on Top 10 Vulnerabilities in Web Application
PDF
Session10-PHP Misconfiguration
PPTX
Magento security 2015 best practices
ODP
OWASP Secure Coding
PDF
Web Security
PPT
Web application development_dos_and_donts
PPTX
Magento Security and Us
PPTX
Magento security best practices magento's approach to pci compliance
PPT
Owasp Top 10 And Security Flaw Root Causes
PPT
Security@ecommerce
PPT
Secure code practices
Magento Live UK 2015: Security Essentials Seminar
Mli 2017 technical first steps to building secure Magento extensions
Web Security
Magento Security Best Practises - MM17DE
Secure input and output handling - ViennaPHP
Magento Security Best Practises - MM17PL
Web application security (eng)
The path of secure software by Katy Anton
Magento security best practices 2015
Presentation on Top 10 Vulnerabilities in Web Application
Session10-PHP Misconfiguration
Magento security 2015 best practices
OWASP Secure Coding
Web Security
Web application development_dos_and_donts
Magento Security and Us
Magento security best practices magento's approach to pci compliance
Owasp Top 10 And Security Flaw Root Causes
Security@ecommerce
Secure code practices
Ad

More from Anna Völkl (6)

PDF
Schnell, schön, sicher: Technische Konzeption und Betrieb sicherer E-Commerce...
PDF
Secure development environment @ Meet Magento Croatia 2017
PDF
Secure input and output handling - Mage Titans Manchester 2016
PDF
Secure input and output handling - Meet Magento Romania 2016
PDF
Secure input and output handling - Magento Meetup Vienna Edition
PDF
Magento Application Security [DE]
Schnell, schön, sicher: Technische Konzeption und Betrieb sicherer E-Commerce...
Secure development environment @ Meet Magento Croatia 2017
Secure input and output handling - Mage Titans Manchester 2016
Secure input and output handling - Meet Magento Romania 2016
Secure input and output handling - Magento Meetup Vienna Edition
Magento Application Security [DE]

Recently uploaded (20)

PPTX
Project and change Managment: short video sequences for IBA
PPTX
ART-APP-REPORT-FINctrwxsg f fuy L-na.pptx
PPTX
Introduction-to-Food-Packaging-and-packaging -materials.pptx
PPTX
Tour Presentation Educational Activity.pptx
PPTX
Emphasizing It's Not The End 08 06 2025.pptx
PPT
The Effect of Human Resource Management Practice on Organizational Performanc...
DOC
学位双硕士UTAS毕业证,墨尔本理工学院毕业证留学硕士毕业证
PDF
oil_refinery_presentation_v1 sllfmfls.pdf
PPTX
Tablets And Capsule Preformulation Of Paracetamol
PPTX
MERISTEMATIC TISSUES (MERISTEMS) PPT PUBLIC
PDF
Swiggy’s Playbook: UX, Logistics & Monetization
PPTX
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
PDF
Instagram's Product Secrets Unveiled with this PPT
PDF
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
PPTX
fundraisepro pitch deck elegant and modern
PPTX
worship songs, in any order, compilation
PPTX
Effective_Handling_Information_Presentation.pptx
PPTX
2025-08-10 Joseph 02 (shared slides).pptx
PPTX
Impressionism_PostImpressionism_Presentation.pptx
PPT
First Aid Training Presentation Slides.ppt
Project and change Managment: short video sequences for IBA
ART-APP-REPORT-FINctrwxsg f fuy L-na.pptx
Introduction-to-Food-Packaging-and-packaging -materials.pptx
Tour Presentation Educational Activity.pptx
Emphasizing It's Not The End 08 06 2025.pptx
The Effect of Human Resource Management Practice on Organizational Performanc...
学位双硕士UTAS毕业证,墨尔本理工学院毕业证留学硕士毕业证
oil_refinery_presentation_v1 sllfmfls.pdf
Tablets And Capsule Preformulation Of Paracetamol
MERISTEMATIC TISSUES (MERISTEMS) PPT PUBLIC
Swiggy’s Playbook: UX, Logistics & Monetization
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
Instagram's Product Secrets Unveiled with this PPT
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
fundraisepro pitch deck elegant and modern
worship songs, in any order, compilation
Effective_Handling_Information_Presentation.pptx
2025-08-10 Joseph 02 (shared slides).pptx
Impressionism_PostImpressionism_Presentation.pptx
First Aid Training Presentation Slides.ppt

Magento Application Security [EN]