Start
Entdecken
Suche senden
Hochladen
Einloggen
Registrieren
Anzeige
HTML5 Messaging (Post Message)
Melden
NSConclave
Folgen
NSConclave
14. May 2020
•
0 gefällt mir
1 gefällt mir
×
Sei der Erste, dem dies gefällt
Mehr anzeigen
•
859 Aufrufe
Aufrufe
×
Aufrufe insgesamt
0
Auf Slideshare
0
Aus Einbettungen
0
Anzahl der Einbettungen
0
Check these out next
Javascript cross domain communication
ChenKuo Chen
HTML5/JavaScript Communication APIs - DPC 2014
Christian Wenz
Everybody loves html5,h4ck3rs too
Nahidul Kibria
Securing TodoMVC Using the Web Cryptography API
Kevin Hakanson
HTTP cookie hijacking in the wild: security and privacy implications
Priyanka Aash
Bsides final
Collyn Hartley
Web Services and Android - OSSPAC 2009
sullis
Real-Time Web applications with WebSockets
Stanislav Zozulia
1
von
30
Top clipped slide
HTML5 Messaging (Post Message)
14. May 2020
•
0 gefällt mir
1 gefällt mir
×
Sei der Erste, dem dies gefällt
Mehr anzeigen
•
859 Aufrufe
Aufrufe
×
Aufrufe insgesamt
0
Auf Slideshare
0
Aus Einbettungen
0
Anzahl der Einbettungen
0
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Melden
Software
Learn the basic concept of HTTP Post Message and Attack Scenario by Parth Jankharia.
NSConclave
Folgen
NSConclave
Anzeige
Anzeige
Anzeige
Recomendados
Building your own web based Authenticator
Varun konadagadapa
115 Aufrufe
•
11 Folien
What Goes In Must Come Out: Egress-Assess and Data Exfiltration
CTruncer
4.5K Aufrufe
•
55 Folien
Security in PHP Applications: An absolute must!
Mark Niebergall
824 Aufrufe
•
51 Folien
TSC Summit #4 - Howto get browser persitence and remote execution (JS)
Mikal Villa
155 Aufrufe
•
18 Folien
How to Build Your First Web App in Go
All Things Open
1K Aufrufe
•
44 Folien
Going Beyond Cross Domain Boundaries (jQuery Bulgaria)
Ivo Andreev
3.9K Aufrufe
•
32 Folien
Más contenido relacionado
Similar a HTML5 Messaging (Post Message)
(20)
Javascript cross domain communication
ChenKuo Chen
•
2.3K Aufrufe
HTML5/JavaScript Communication APIs - DPC 2014
Christian Wenz
•
1.4K Aufrufe
Everybody loves html5,h4ck3rs too
Nahidul Kibria
•
651 Aufrufe
Securing TodoMVC Using the Web Cryptography API
Kevin Hakanson
•
3.2K Aufrufe
HTTP cookie hijacking in the wild: security and privacy implications
Priyanka Aash
•
1.1K Aufrufe
Bsides final
Collyn Hartley
•
350 Aufrufe
Web Services and Android - OSSPAC 2009
sullis
•
1.6K Aufrufe
Real-Time Web applications with WebSockets
Stanislav Zozulia
•
824 Aufrufe
New web attacks-nethemba
OWASP (Open Web Application Security Project)
•
8K Aufrufe
How OAuth and portable data can revolutionize your web app - Chris Messina
Carsonified Team
•
3.6K Aufrufe
OAuth FTW
Chris Messina
•
4.2K Aufrufe
Webscraping with asyncio
Jose Manuel Ortega Candel
•
4.1K Aufrufe
Introduction To ICT Security Audit OWASP Day Malaysia 2011
Linuxmalaysia Malaysia
•
2.3K Aufrufe
PHP BASIC PRESENTATION
krutitrivedi
•
730 Aufrufe
Using Groovy to empower WebRTC Network Systems
antonry
•
1.4K Aufrufe
V2 peter-lubbers-sf-jug-websocket
brent bucci
•
2.1K Aufrufe
02 banking trojans-thomassiebert
geeksec80
•
736 Aufrufe
CodeIgniter i18n Security Flaw
Abbas Naderi
•
2.9K Aufrufe
Krzysztof Kotowicz - Hacking HTML5
DefconRussia
•
9.3K Aufrufe
Real time web (Orbited) at BCNE3
Alex Kavanagh
•
370 Aufrufe
Más de NSConclave
(20)
RED-TEAM_Conclave
NSConclave
•
69 Aufrufe
Create a Custom Plugin in Burp Suite using the Extension
NSConclave
•
42 Aufrufe
IOT SECURITY ASSESSMENT Pentester's Approach
NSConclave
•
54 Aufrufe
Debugging Android Native Library
NSConclave
•
119 Aufrufe
Burp Suite Extension Development
NSConclave
•
120 Aufrufe
Log Analysis
NSConclave
•
728 Aufrufe
Regular Expression Injection
NSConclave
•
698 Aufrufe
Node.js Deserialization
NSConclave
•
1.6K Aufrufe
RIA Cross Domain Policy
NSConclave
•
726 Aufrufe
LDAP Injection
NSConclave
•
659 Aufrufe
Python Deserialization Attacks
NSConclave
•
1K Aufrufe
Sandboxing
NSConclave
•
158 Aufrufe
NoSql Injection
NSConclave
•
344 Aufrufe
Thick Client Testing Advanced
NSConclave
•
235 Aufrufe
Thick Client Testing Basics
NSConclave
•
243 Aufrufe
Markdown
NSConclave
•
102 Aufrufe
Docker 101
NSConclave
•
131 Aufrufe
Security Architecture Consulting - Hiren Shah
NSConclave
•
126 Aufrufe
OSINT: Open Source Intelligence - Rohan Braganza
NSConclave
•
729 Aufrufe
Lets get started with car hacking - Ankit Joshi
NSConclave
•
79 Aufrufe
Anzeige
Último
(20)
Employee Engagement Platform
sherinthomas34274
•
1 Aufruf
The aggregate is dead! Long live the aggregate! - SpringIO.pdf
Sara Pellegrini
•
0 Aufrufe
-Test management.pptx
umairshams6
•
3 Aufrufe
Testing Contents.docx
ssuser305f65
•
3 Aufrufe
Chat GPT.pptx
Geminate Consultancy Services
•
4 Aufrufe
6 strategies to make your employees feel heard.docx
sweety618010
•
0 Aufrufe
dokumen.tips_ebs-r12-subledger-accounting.pdf
SayedMahfouz3
•
0 Aufrufe
Sending a Calendar Invite to a VIP LIST - .pdf
31events.com
•
0 Aufrufe
Sending 500 Calendar Invites May 29.pdf
31events.com
•
0 Aufrufe
Best CRM Software for Business
Kit 19
•
0 Aufrufe
The Clean Architecture
Dmytro Turskyi
•
9 Aufrufe
Branch and bound.ppt
umairshams6
•
2 Aufrufe
PyCon 23: Smettiamola di scrivere script
Peter Bittner
•
0 Aufrufe
Rublon Multi-Factor Authentication (MFA) - Product Presentation
Rublon
•
0 Aufrufe
Ch08-CryptoConcepts.ppt
ShounakDas16
•
3 Aufrufe
My Work - Feature Release Update.pdf
Orangescrum
•
2 Aufrufe
[PHPers Summit 2023] Business logic testing
Mateusz Zalewski
•
5 Aufrufe
Introductory Statistics Explained.pdf
ssuser4492e2
•
4 Aufrufe
projectreport.pdf
AyushGupta540746
•
3 Aufrufe
Presentation1 Introduction.pdf
UzairQazi16
•
0 Aufrufe
HTML5 Messaging (Post Message)
HTML5 Messaging (postMessage) By -
Parth Jhankharia Date - 14/5/2020
~$whoami ● Security Analyst ●
Twitter @Aee_Parth
postMessage-Overview ● Working ● Exploitation ●
Remediation ● References
postMessage Supported Browsers From:-
https://caniuse.com/#search=postMessage
postMessage? ● Controlled mechanism
to circumvent SOP. ● Dispatches “Message Event”. ● Type (Always “message”). ● Data (User Supplied). ● Origin (Origin of the window calling). ● Source (window Calling).
Same Origin Policy ●
Port ● Protocol ● Host
Same Origin Policy https://net-square.com/ https://net-square.com/whateva/
Same Origin Policy https://net-square.com/ https://subdomain.netsquare.com/
Same Origin Policy https://net-square.com/ https://net-square.com:1337/
Same Origin Policy https://net-square.com/ http://net-square.com/
postMessage? ● Syntax window.postMessage(message, targetOrigin
[, ports]) ● Example window.postMessage(“msg-here”, “*”)
postMessage Working Via:- https://medium.com/javascript-in-plain-english/javascript-and-window-postmessage-a60c8f6adea9
postMessage Demo
postMessage Attacks ● XSS ●
Information leakage.
postMessage Xss ● No
origin validation on the target. ● Attacker crafts a malicious page having an xss payload ● Sending the payload from attacker’s domain. ● XSS’ed.
postMessage Xss Via:- https://github.com/shurmajee/postmessage-vulnerability-demo
postMessage Xss Demo
So How Do
We Fix It?
So How Do
We Fix It?
So How Do
We Fix It? ● You have to check the origin.
So How Do
We Fix It? ● You HAVE to check the origin.
So How Do
We Fix It? ● You HAVE to check the origin. ● CORRECTLY
postMessage Origin Via:- https://github.com/shurmajee/postmessage-vulnerability-demo
postMessage Origin Demo
Incorrect Origin Checks
Reference ● https://www.slideshare.net/LukasKlein1/attacking-and-defending-html5-p ostmessage-in-mobile-websites ● https://www.slideshare.net/mitchbox/ltiframe-communication-in-javascript ●
https://github.com/shurmajee/postmessage-vulnerability-demo ● https://medium.com/javascript-in-plain-english/javascript-and-window-po stmessage-a60c8f6adea9 ● https://www.cs.utexas.edu/~shmat/shmat_ndss13postman.pdf
Resources ● https://www.slideshare.net/danwrong/building-anywhere-for-txjs ● https://www.slideshare.net/tomasperezv/sandboxed-platform ●
https://public-firing-range.appspot.com/dom/index.html ● https://www.slideshare.net/peterlubbers/html5-realtime-and-connectivity ● https://www.youtube.com/watch?v=FTeE3OrTNoA&t=862s
More Resources
Questions/Thoughts/Feedback?
Thank You!
Anzeige