SlideShare a Scribd company logo
© Ibuildings 2014/2015 - All rights reserved
#DrupalDaysEU
Verifying Drupal modules with OWASP ASVS 2014
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
Gold Sponsors
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
Media Sponsors
Silver Sponsors
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
During this workshop we'll be going more in-depth into how to audit a Drupal site. We'll
be using OWASP ASVS 2014 and a Drupal 7 site which you will have to prove to be
vulnerable.
Intro
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
During this interactive workshop we'll be discussing and demonstrating basic and
advanced examples of the following vulnerabilities:

- Injection of various kinds 

(JavaScript, HTML, SQL, XML, etc)

- Missing Authentication or Authorization

- Cross Site Request Forgery (CSRF)

- Denial of Service

- Abuse of functionality

- Information Leakage

- and more.
A laptop with VirtualBox installed is advised.
Intro
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
• 09:30 - 10:00 Setup & Theory
• 10:00 - 11:00 Auditing
• 11:00 - 11:30 Fixing
• 11:30 - 12:30 Break
• 12:30 - 13:00 Fixing
• 13:00 - 13:30 Presenting
Schedule
© Ibuildings 2014/2015 - All rights reserved
Setup
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
• VirtualBox
• Vagrant
• https://github.com/ibuildingsnl/insecured7
InsecureD7
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
• /Volumes/IBUILDINGS/edd15-verify-workshop/vm/insecured7.ova
• Shared folder
• /etc/fstab
• Host-only network
• Symlink: ln -sf src docroot/profiles/insecured7
Getting the VM up and running
© Ibuildings 2014/2015 - All rights reserved
Theory
© Ibuildings 2014/2015 - All rights reserved
This is the Talk Title and it could be very long,
for example on two lines or more
© Ibuildings 2014/2015 - All rights reserved
This is the Talk Title and it could be very long,
for example on two lines or more
level 1 level 2 level 3
chapter 1

1.1

1.2

1.3
X X
X
X
X
X
chapter 2

2.1

2.2

2.3
X

X


X
X

X
X
X

X
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
• Level 0 - Bullshit compliance level (0)
• Level 1 - Opportunistic (47)
• Level 2 - Standard (136)
• Level 3 - Advanced (164)
Level up!
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
• V1. Authentication
• V2. Session Management
• V3. Access Control
• V4. Input Validation
• V5. Cryptography (at Rest)
• V6. Error Handling and Logging
• V7. Data Protection
ASVS Chapters
• V8. Communication Security
• V9. HTTP Security
• V10. Malicious Controls
• V11. Business Logic
• V12. Files and Resources
• V13. Mobile
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
V1.4. Verify that credentials and all other identity information handled by the application
does not traverse unencrypted or weakly encrypted links.
(level 1, 2 & 3)
An example
© Ibuildings 2014/2015 - All rights reserved
© Ibuildings 2014/2015 - All rights reserved
This is the Talk Title and it could be very long,
for example on two lines or more
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
• Content-Security-Policy
• X-Frame-Options
• X-Content-Type-Options
• HTTP Strict Transport Security (HSTS)
Security Kit
http://ibuildings.nl/blog/2013/03/4-http-security-
headers-you-should-always-be-using
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
Adds the 'modules-usages-status' (mus) Drush command.
Generate a CSV listing of all modules with their versions and associated usage counts.
This can be used as input into security auditing scope.
Drupal Security Tool Usage
© Ibuildings 2014/2015 - All rights reserved
Questions?
© Ibuildings 2014/2015 - All rights reserved
Auditting
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
<?php
global $requirements;
$report = "";
do {
$requirement = array_pop ( $requirements ) ;
$audit_results = do_audit_with ( $requirement );
$report .= $audit_results;
$requirements[] = $requirement;
} while (time() < strtotime('2015-03-19 12:30:00 CET'))
auditing.php
© Ibuildings 2014/2015 - All rights reserved
Break
© Ibuildings 2014/2015 - All rights reserved
Fixing
© Ibuildings 2014/2015 - All rights reserved
© Ibuildings 2014/2015 - All rights reserved
Presenting
#DrupalDaysEU
© Ibuildings 2014/2015 - All rights reserved
5 lucky participants will give a 5 minute presentation on their results from the audit and
fixing.
Presenting
© Ibuildings 2014/2015 - All rights reserved
The End

More Related Content

PDF
Verifying Drupal modules with OWASP ASVS 2014
PDF
Secure Drupal, from start to finish
PPS
Competitors ratings
PDF
MySQL 简要介绍
PDF
OTechs Advanced Virtualization Administration (VMWare vcp5) Training Course
PDF
OVHcloud Startup Program : Découvrir l'écosystème au service des startups
PPTX
Security testing
PDF
Secure Drupal, from start to finish (European Drupal Days 2015)
Verifying Drupal modules with OWASP ASVS 2014
Secure Drupal, from start to finish
Competitors ratings
MySQL 简要介绍
OTechs Advanced Virtualization Administration (VMWare vcp5) Training Course
OVHcloud Startup Program : Découvrir l'écosystème au service des startups
Security testing
Secure Drupal, from start to finish (European Drupal Days 2015)

Similar to Verifying Drupal modules with OWASP ASVS 2014 (European Drupal Days 2015) (20)

PDF
Doing Drupal security right
PDF
Drupal security
PDF
Bridging the gap between business and technology - Behaviour Driven Developme...
PDF
A Practical Introduction to Symfony (European Drupal Days 2015)
PDF
Coding for desktop and mobile with HTML5 and Java EE 7 - Geertjan Wielenga
PDF
Doing Drupal security right from Drupalcon London
PDF
Drupal Security from Drupalcamp Bratislava
PDF
Drupal Continuous Integration (European Drupal Days 2015)
PDF
Tweet4Beer (atualizada): Torneira de Chopp Controlada por Java, JavaFX, IoT ...
PDF
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
PDF
Performance on a budget (European Drupal Days 2015)
PDF
Successfully Deploying IPv6
PDF
Prospectus: Cloud, Mobility and Interopability - AMIK Bandung Sept 2013
PDF
Optimizing MariaDB for Web Applications (European Drupal Days 2015)
PPTX
Managing Oracle Solaris Systems with Puppet
PPTX
Database as a Service, Collaborate 2016
PDF
JavaCro'15 - Everything a Java EE Developer needs to know about the JavaScrip...
PDF
Drupal for Big Data - is it ready? (European Drupal Days 2015)
PDF
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
PDF
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Doing Drupal security right
Drupal security
Bridging the gap between business and technology - Behaviour Driven Developme...
A Practical Introduction to Symfony (European Drupal Days 2015)
Coding for desktop and mobile with HTML5 and Java EE 7 - Geertjan Wielenga
Doing Drupal security right from Drupalcon London
Drupal Security from Drupalcamp Bratislava
Drupal Continuous Integration (European Drupal Days 2015)
Tweet4Beer (atualizada): Torneira de Chopp Controlada por Java, JavaFX, IoT ...
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Performance on a budget (European Drupal Days 2015)
Successfully Deploying IPv6
Prospectus: Cloud, Mobility and Interopability - AMIK Bandung Sept 2013
Optimizing MariaDB for Web Applications (European Drupal Days 2015)
Managing Oracle Solaris Systems with Puppet
Database as a Service, Collaborate 2016
JavaCro'15 - Everything a Java EE Developer needs to know about the JavaScrip...
Drupal for Big Data - is it ready? (European Drupal Days 2015)
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Ad

More from Eugenio Minardi (20)

PDF
Delphi and ExtJS (26 ottobre 2017)
PDF
ExtJS: La piattaforma vincente (tools)
PDF
ExtJS: La piattaforma vincente (multiple screens)
PDF
ExtJS: La piattaforma vincente (rich UI)
PDF
ExtJS: La piattaforma vincente (class system)
PDF
ExtJS: La piattaforma vincente
PDF
Distributed Team Management: 
Pitfall, Challenges and Advantages
PDF
UN World Food Programme Standards & Best Practises (European Drupal Days 2015)
PDF
Drupal theming - a practical approach (European Drupal Days 2015)
PDF
PhpStorm for Drupal Development (European Drupal Days 2015)
PDF
Deploying an Open Source DAM in SAAS Mode (European Drupal Days 2015)
PDF
The multilingual Drupal 8 experience (European Drupal Days 2015)
PDF
Another Copernican Revolution: maintenance first, projects second (European D...
PDF
Drupal Security: How to survive Drupalgeddon and prepare for future (European...
PDF
The benefits of an elastic infrastructure on a Drupal e-commerce (European Dr...
PDF
Web automation with #d8rules (European Drupal Days 2015)
PDF
Sponsorship Opportunities European Drupal Days & Dutch PHP Conference 2015
PDF
MongoDB: What, why, when
PDF
Il Web orientato al futuro: Express, Angular e nodeJS
PDF
MEAN: il nuovo stack di sviluppo per il futuro del web
Delphi and ExtJS (26 ottobre 2017)
ExtJS: La piattaforma vincente (tools)
ExtJS: La piattaforma vincente (multiple screens)
ExtJS: La piattaforma vincente (rich UI)
ExtJS: La piattaforma vincente (class system)
ExtJS: La piattaforma vincente
Distributed Team Management: 
Pitfall, Challenges and Advantages
UN World Food Programme Standards & Best Practises (European Drupal Days 2015)
Drupal theming - a practical approach (European Drupal Days 2015)
PhpStorm for Drupal Development (European Drupal Days 2015)
Deploying an Open Source DAM in SAAS Mode (European Drupal Days 2015)
The multilingual Drupal 8 experience (European Drupal Days 2015)
Another Copernican Revolution: maintenance first, projects second (European D...
Drupal Security: How to survive Drupalgeddon and prepare for future (European...
The benefits of an elastic infrastructure on a Drupal e-commerce (European Dr...
Web automation with #d8rules (European Drupal Days 2015)
Sponsorship Opportunities European Drupal Days & Dutch PHP Conference 2015
MongoDB: What, why, when
Il Web orientato al futuro: Express, Angular e nodeJS
MEAN: il nuovo stack di sviluppo per il futuro del web
Ad

Recently uploaded (20)

PPTX
Introduction to Information and Communication Technology
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPTX
Funds Management Learning Material for Beg
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
DOCX
Unit-3 cyber security network security of internet system
PDF
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
PDF
Testing WebRTC applications at scale.pdf
Introduction to Information and Communication Technology
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
RPKI Status Update, presented by Makito Lay at IDNOG 10
Paper PDF World Game (s) Great Redesign.pdf
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Funds Management Learning Material for Beg
Tenda Login Guide: Access Your Router in 5 Easy Steps
Introuction about WHO-FIC in ICD-10.pptx
SASE Traffic Flow - ZTNA Connector-1.pdf
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
522797556-Unit-2-Temperature-measurement-1-1.pptx
INTERNET------BASICS-------UPDATED PPT PRESENTATION
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
Slides PDF The World Game (s) Eco Economic Epochs.pdf
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Cloud-Scale Log Monitoring _ Datadog.pdf
Unit-3 cyber security network security of internet system
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
Testing WebRTC applications at scale.pdf

Verifying Drupal modules with OWASP ASVS 2014 (European Drupal Days 2015)

  • 1. © Ibuildings 2014/2015 - All rights reserved #DrupalDaysEU Verifying Drupal modules with OWASP ASVS 2014
  • 2. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved Gold Sponsors
  • 3. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved Media Sponsors Silver Sponsors
  • 4. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved During this workshop we'll be going more in-depth into how to audit a Drupal site. We'll be using OWASP ASVS 2014 and a Drupal 7 site which you will have to prove to be vulnerable. Intro
  • 5. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved During this interactive workshop we'll be discussing and demonstrating basic and advanced examples of the following vulnerabilities:
 - Injection of various kinds 
 (JavaScript, HTML, SQL, XML, etc)
 - Missing Authentication or Authorization
 - Cross Site Request Forgery (CSRF)
 - Denial of Service
 - Abuse of functionality
 - Information Leakage
 - and more. A laptop with VirtualBox installed is advised. Intro
  • 6. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved • 09:30 - 10:00 Setup & Theory • 10:00 - 11:00 Auditing • 11:00 - 11:30 Fixing • 11:30 - 12:30 Break • 12:30 - 13:00 Fixing • 13:00 - 13:30 Presenting Schedule
  • 7. © Ibuildings 2014/2015 - All rights reserved Setup
  • 8. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved • VirtualBox • Vagrant • https://github.com/ibuildingsnl/insecured7 InsecureD7
  • 9. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved • /Volumes/IBUILDINGS/edd15-verify-workshop/vm/insecured7.ova • Shared folder • /etc/fstab • Host-only network • Symlink: ln -sf src docroot/profiles/insecured7 Getting the VM up and running
  • 10. © Ibuildings 2014/2015 - All rights reserved Theory
  • 11. © Ibuildings 2014/2015 - All rights reserved This is the Talk Title and it could be very long, for example on two lines or more
  • 12. © Ibuildings 2014/2015 - All rights reserved This is the Talk Title and it could be very long, for example on two lines or more level 1 level 2 level 3 chapter 1
 1.1
 1.2
 1.3 X X X X X X chapter 2
 2.1
 2.2
 2.3 X
 X 
 X X
 X X X
 X
  • 13. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved • Level 0 - Bullshit compliance level (0) • Level 1 - Opportunistic (47) • Level 2 - Standard (136) • Level 3 - Advanced (164) Level up!
  • 14. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved • V1. Authentication • V2. Session Management • V3. Access Control • V4. Input Validation • V5. Cryptography (at Rest) • V6. Error Handling and Logging • V7. Data Protection ASVS Chapters • V8. Communication Security • V9. HTTP Security • V10. Malicious Controls • V11. Business Logic • V12. Files and Resources • V13. Mobile
  • 15. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved V1.4. Verify that credentials and all other identity information handled by the application does not traverse unencrypted or weakly encrypted links. (level 1, 2 & 3) An example
  • 16. © Ibuildings 2014/2015 - All rights reserved
  • 17. © Ibuildings 2014/2015 - All rights reserved This is the Talk Title and it could be very long, for example on two lines or more
  • 18. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved • Content-Security-Policy • X-Frame-Options • X-Content-Type-Options • HTTP Strict Transport Security (HSTS) Security Kit http://ibuildings.nl/blog/2013/03/4-http-security- headers-you-should-always-be-using
  • 19. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved Adds the 'modules-usages-status' (mus) Drush command. Generate a CSV listing of all modules with their versions and associated usage counts. This can be used as input into security auditing scope. Drupal Security Tool Usage
  • 20. © Ibuildings 2014/2015 - All rights reserved Questions?
  • 21. © Ibuildings 2014/2015 - All rights reserved Auditting
  • 22. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved <?php global $requirements; $report = ""; do { $requirement = array_pop ( $requirements ) ; $audit_results = do_audit_with ( $requirement ); $report .= $audit_results; $requirements[] = $requirement; } while (time() < strtotime('2015-03-19 12:30:00 CET')) auditing.php
  • 23. © Ibuildings 2014/2015 - All rights reserved Break
  • 24. © Ibuildings 2014/2015 - All rights reserved Fixing
  • 25. © Ibuildings 2014/2015 - All rights reserved
  • 26. © Ibuildings 2014/2015 - All rights reserved Presenting
  • 27. #DrupalDaysEU © Ibuildings 2014/2015 - All rights reserved 5 lucky participants will give a 5 minute presentation on their results from the audit and fixing. Presenting
  • 28. © Ibuildings 2014/2015 - All rights reserved The End