ارايه دهنده:شهره مرجاني مركز آپاي دانشگاه فددوسي مشهد

Slides:



Advertisements
Similar presentations
V 1.0 OE NIK 2013 PHP+SQL 5. Password management (password hashing) Stateless HTTP, storage methods Login form 1.
Advertisements

PHP Security.
OWASP Zed Attack Proxy Project Lead
PHP Security Computer Security. overview  Xss, Css  Register_globals  Data Filtering  Sql Injection  Session Fixation.
Adrian Crenshaw.  I run Irongeek.com  I have an interest in InfoSec education  I don’t know everything - I’m.
Lecture 14 – Web Security SFDV3011 – Advanced Web Development 1.
Security testing of study information system Security team: Matis Alliksoo Alo Konno Urmo Lihten Taavi Podzuks Sander Saarm.
© All rights reserved. Zend Technologies, Inc. PHP Security Kevin Schroeder Zend Technologies.
Ryan Dewhurst - 20th March 2012 Web Application (PHP) Security.
 DANIAL MAYO SCHOOL NAGAUR ETHICAL HACKING WORKSHOP BY RAJAN KHANDELWAL(CYBER CRIME SECURITY EXPERT CERTIFIED) SACHIN PUNIYA (TRAINER UNDER SUNNY VAGELA.
12/3/2012ISC329 Isabelle Bichindaritz1 PHP and MySQL Advanced Features.
Nic Shulver, Introduction to Sessions in PHP Sessions What is a session? Example Software Software Organisation The login HTML.
PHP Workshop ‹#› PHP Security. PHP Workshop ‹#› Two Golden Rules 1.FILTER external input Obvious.. $_POST, $_COOKIE, etc. Less obvious.. $_SERVER 2.ESCAPE.
WWW 安全 國立暨南國際大學 資訊管理學系 陳彥錚. WWW 安全 Web security is important for E-Commerce. Previous studies: –SSL –SET –Web server security Application-level security.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
The attacks ● XSS – type 1: non-persistent – type 2: persistent – Advanced: other keywords (, prompt()) or other technologies such as Flash.
CIT 380: Securing Computer SystemsSlide #1 CIT 380: Securing Computer Systems Web Security.
Advance web Programming Managing State Information (Cookies-Session) Date: 22 April 2014 Advance web Programming Managing State Information (Cookies-Session)
Web Applications Testing By Jamie Rougvie Supported by.
Security Khaled Al-Sham’aa. What Is Security? Security is a measurement, not a characteristic. Security must be balanced with expense. Security must be.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
Do not try any of the techniques discussed in this presentation on a system you do not own. It is illegal and you will get caught.
Accessing MySQL Using PDO
PHP (Session 2) INFO 257 Supplement.
C.R.U.D. Charles Severance
Attacks against the client-side of web applications
Sessions and cookies MIS 3501 Jeremy Shafer Department of MIS
CIS 388 Internet Programming
CHAPTER 5 SERVER SIDE SCRIPTING
CS520 Web Programming Declarative Security (II)
JSP Based on
CodeIgniter Form & Login
Web Application Vulnerabilities, Detection Mechanisms, and Defenses
Introduction to Information Security
9 – Web applications: Server-side code (ASP)
SE604: Software Testing and QA Secure SW Development for QA Lecture#1
PHP: Login FdSc Module 109 Server side scripting and Database design
18 – Web applications: Server-side code (PhP)
Redirect, Routing, and Authentication
PHP with HTML.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
PHP: Inserting data FdSc Module 109 Server side scripting and
Web Technologies PHP 5 Basic Language.
Passing variables between pages
PHP Hypertext Preprocessor
PHP FORM HANDLING Post Method
How to get data from a form
PHP Overview PHP: Hypertext Preprocessor Server-Side Scripting
Introduction to Web programming
Bill Riggins III OWASP Orlando Co-Chapter Lead
Erasmus Exchange in Ionian University
>> PHP: Form-Variables & Submission
An Introduction to Web Application Security
امنیت نرم‌افزارهای وب تقديم به پيشگاه مقدس امام عصر (عج) عباس نادری
CIS 388 Internet Programming
Software Engineering for Internet Applications
Sessions and cookies (part 1)
Virtual Simulator Extreme (VirSim Ex)
PHP: Combo box FdSc Module 109 Server side scripting and
Sessions and cookies MIS 3501 Jeremy Shafer Department of MIS
Web Programming Language
Flask Web Frameworks for Python
Cookies and sessions Saturday, February 23, 2019Saturday, February 23,
WWW安全 國立暨南國際大學 資訊管理學系 陳彥錚.
Cookie and Session Bayu Priyambadha, S.Kom.
PHP PROF. S. LAKSHMANAN, DEPT. OF B. VOC. (SD & SA),
<form> Handling
Conection
PHP Programming Using Cloud 9 IDE.
PHP By Prof. B.A.Khivsara Note: The material to prepare this presentation has been taken from internet and are generated only for students reference and.
Presentation transcript:

ارايه دهنده:شهره مرجاني مركز آپاي دانشگاه فددوسي مشهد آشنايي با برخي آسيب پذيري هاي برنامه هاي مبتني بر وب 1- مديريت ناامن جلسات 2-نقص در احراز هويت ارايه دهنده:شهره مرجاني مركز آپاي دانشگاه فددوسي مشهد

شناسه جلسه(session id) چيست؟ حملات ناشي ا ز مديت ناامن جلسات مديريت جلسات جلسه يا نشست چيست؟ شناسه جلسه(session id) چيست؟ حملات ناشي ا ز مديت ناامن جلسات سرقت نشست(session hijacking) تثبيت نشست(session fixation)

Sessions

آسيب پذيري هاي منجر به سرقت نشست XSS (A2) ايجاد ارتباطات ناامن Insufficient Transport Layer Protection (A10) پيكربندي ناامن Security Misconfiguration (A6) شناسه نشست ضعيف و قابل پيش بيني Weakness in Session ID Generation

Session Fixation

Index.php <form method="post" action="session-fixation.php“> username: <input name="username" type="text" ><br/> password:<input name="password" type="password"><br /> <input type="submit" name="submit" > </form>

Session-fixation.php <?php session_save_path("tmp”); session_start(); if( !$_SESSION['Login‘]) { //session_rigenerate_id(); $username=$_POST['username’]; $password=$_POST['password’]; } if($username== 'ali' && $password == 'alavi‘) { $_SESSION[‘login’]=TRUE; echo "<h2 align=\"center\">Successfull authentication</h2>”; echo "Menu1<br>”; echo "<a href=\"logout.php\">logout</a>”; …… ?>

Logout.php <?php session_destroy(); //setcookie(session_name(), '', time()-42000,’’); header("location:http://web2.um.ac.ir/index.php”); ?>

احراز هويت جلوگيري از حملات sql injection استفاده از تصاوير امنيتي محدود كردن تعداد دفعات لاگين ناموفق و ثبت آن جلوگيري از حملات تثبيت نشست استفاده از ارتباطات كد شده جهت جلوگيري از سرقت اطلاعات دخيره كلمات عبور به صورت كد شده در جداول پايگاه داده حذف امكان ذخيره كلمه عبور در مرورگر تدبير لازم در استفاده از امكان بازيابي كلمه عبور

با تشكر سوال؟