Web Application
Web Application

                     HTTP(s) agent

Web Application
                                         Application
Server
Web Server

Application Server                   Web Application

Database Server
          Web Application
1 Web Architecture
Firewall, Load Balancer, Reverse Proxy Server, Cache
System

                     web client           database sever
             Layer
HTTP Client / User                              Cross-Site
                                  Scripting

                                   Spoofing        Javascript
                                  Injection
                                      Browser
Layer
Transport Layer HTTP(s)                   Passive
                          Monitoring)
                                                Man-in-
                          the-Middle Attack)
                                   Session (Session
                          Hijack)
Firewall                                    SSL Session
Web Server                        Buffer Overflow
                          Format String
                                 Directory Traversal
                                    Default Accounts
                                    Default
                          Applications
Layer
Web Applications              Meracharacters
                              Null Characters
                          Buffer Overflow
Firewall                         Internet Network
                                   Firewall
Database                  Direct SQL Commands
                        SQL Injection
                              Query    Restricted
                    Database
                          Database Exploit
MS IIS
Hidden Field Manipulation
Cookie Poisoning
Backdoors and debug options
Application buffer overflows
Stealth commanding
3rd party misconfigurations
Known vulnerabilities
Parameter tempering
Cross site scripting
Forceful browsing
Hacking over SSL
Sourcecode Disclosure
Web Server Architecture Attack
SQL Injection
Java Script Injection
Hidden Field

                  hidden field


hidden field


View Source)      Tag HIDDEN
                                 Application
2 Hidden Field
Cookie Poisoning

                      Cookie



                               Session

cookie
         Session ID

          cookie
Back Door & Bebug Options

Developing Environment
                         debug


    Debug                        Debug



                            Debug

                         back door
disable debug mode
back door
Application Bugger Overflow


Buffer Overflow           text box
Stealth Commanding




  SQL Command      Command
          SQL Command
3th Party Misconfiguration



                          Default
password
Know Vulnerabilities



  Microsoft IIS

                  Patch
                          patch)
                                   patch

patch
Microsoft IIS
Parameter Tempering
Cross Site Script
         cross site script



script
               script

                                            sends an
email
                   javascript
3 Cross Site Script
Forceful Browsing



                    Default file
Hacking Over SSL
SSL


         content


                   SSL

            SSL
Source Code Disclosures
         Source Code Disclosure

                  configuration file


               Source Code Disclosures
        WebLogic / WebSpere
                                  JSP
JHTML

           jsp”      URL
Source Code Disclosures
Microsoft IIS                    HTR”
                                      ASA    ASP
            URL
http://10.0.0.1/global.asa+.htr
                                          URL
                          htr       ISM.DLL
URL                                    ISM.DLL

Microsoft IIS showcode.asp

showcode.asp      bundled                   IIS
Windows NT Option Pack 4.0

URL
Web Server Architecture Attack



           bypass
            built-in procedure
handler
                 html handler
                 html                        cgi
handler                           cgi
    default handler
                   handler
               default handler                     cgi
                                    html      jsp
handler                          html    java compiler
                 java run-time

handler forcing  Sun Java Web Server
             URL
http://10.0.0.2/servlet/com.sun.server.http.pagecompile.j
sp.runtime.JspServlet/path/to/file.html

                         servlet                       path
/servlet/         PageCompile handler (Servlet)
handle                           path
                  handle

                 java run-time

                                                root
SQL Poisoning & Injections

                   sql statement

          sql statement                DBMS
       SQL Query)
         sql statement
                                   database
Dim sql_con , result, sql_qry
Const CONNECT_STRING =
“Provider=SQLOLEDB;SERVER=WEB_DB;UID=sa;
PWD=xyzzy”
sql_qry = “SELECT * FROM PRODUCT WHERE ID =”
Set objCon =
     Server.CreateObject(“ADODB.Connection”)
     ObjCon.Open CONNECT_STRING
     Set objRS – objCon.Execute(strSQL);




http://10.0.0.3/showtable.asp?ID=3+OR+1=1
Query Statement
SELECT * FROM PRODUCT WHERE ID=3OR 1=1
                             PRODUCT


http://10.0.0.3/showtable.asp?ID=3%01DROP+TABLE+PR
ODUCT



     SELECT * FROM PRODUCT WHERE ID=3
     DROP TABLE PRODUCT
                                  SQL statement
http://10.0.0.3/showtable.asp?ID=3%01EXEC+master..xp_
cmdshell+’copy+winntsystem32cmd.ex
e+inetpubscripts’


Copy winntsystem32winntcmd.exe inetpubscripts

                                                     SQL
Injection
                                            Inject
                  Backdoor         Inject
Java Script Injection
                         Javascript Injection
Javascript
                                         Java Script
Injection
              Session                    Hidden Field
             Session    Invalid
                         Javascript
        HTML                    Javascript
                                                   Cookies

javascript:alert(document.cookie)
System Scanner and Security Infrastructure
Software
Secure Coding
System Scanner and Securiry Infrastructure Software




       System Scanner
        permission
                                 Scanner
Whisker , Nikto , Stealth , Twwwscan     AppScan
reject
         AppShield
Secure Coding




input & output validation
SSL
HTML forms
Input & Output
                        validation




                                       NEVER TRUST CLIENT
SIDE DATA)
               Client Side Script
                             JavaScript , VBScript , Java
Applets , Flash , Active X , CSS      XML/XSL

                            script             script
Sanity Checking


            YES     NO                  drop




                  system call                    directory
traversal                       NULL character

                                                    HTML
                                   HTML
HTML
tag                                    webmail,
message board       chat            HTML Allow List
                   HTML tag
                   drop HTML tag                 tag
                 HTML      <APPLET> , <BASE> , <BODY> ,
<EMBED> , <FRAME> , <FRAMESET> , <HTML> , <IFRAME>
,
<IMG> , <LAYER> , <META> , <OBJECT> , <P> , <SCRIPT> ,
<STYLE>     HTML tag      attributes          STYLE> ,
<SRC> , <HREF> , < TYPE>


           HTML
SSL
                 HTTP

        HTTP            Plaintext
           Sniffer
HTTP
                                             HTTP SSL
(Secure Socket Layer)
                  Web Client    Web Server          SSL
                      transport


         Client & Server Authentication
SSL

                  SSL
Web Browser        Public Key       Server
    Browser
         Server                                Server

                   SSL
                                  SSL
                         Server Certificate)
                                Public Key)
HTML forms
            hidden form element

      hidden
          hidden element



               password element
SSL                              plain text
              password element            method
HTTP/GET       HTTP/POST
      MaxSize Attribute (<input MaxSize=”##”>)
Cookies
      Cookies
                         Cookie
persistent :    Cookie
                         non-persistent :   Cookie

                   Cookies

  User Authentication
  State Management
  Saving user preference
                       Cookies
•                   Cookies    Plaintext
•            restrictive path  Cookies
•               Authentication         valid

•               Cookies
•          Token ID

•   Cookies Timeout             Cookies

•      Authentication
                        Business Intranet

                               authentication
•        Authentication
                    header
                   User-Agent , Accept-Language , Etc.
HTTP REFERER
                       Header
                 script attack
      script attack              HTTP REFERER
header                                      HTTP
REFERER
POST & GET method
                method GET

                                              Proxy
Server, Firewall , Web Servers log
                              POST
                                     POST
                    method
                               client side script
        POST method
        GET
logout
                     logout
                              Cookies
   Cookies
session                            session
      Cookies
Error Handing Mechanism
              Error Handling           Error Description
                                                   Error
Description

Error Desciption
                          Error Desciption




Username       Password
Password
The End

More Related Content

PPT
Web Attacks - Top threats - 2010
PPT
FIND ME IF YOU CAN – SMART FUZZING AND DISCOVERY
PDF
2018 JavaLand Deconstructing and Evolving REST Security
PDF
Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)
PPTX
Post XSS Exploitation : Advanced Attacks and Remedies
PDF
HTML5 Top 10 Threats - Silent Attacks and Stealth Exploits
PPT
Hacking Web 2.0 - Defending Ajax and Web Services [HITB 2007 Dubai]
PDF
[Infosecworld 08 Orlando] New Defenses for .NET Web Apps: IHttpModule in Prac...
Web Attacks - Top threats - 2010
FIND ME IF YOU CAN – SMART FUZZING AND DISCOVERY
2018 JavaLand Deconstructing and Evolving REST Security
Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)
Post XSS Exploitation : Advanced Attacks and Remedies
HTML5 Top 10 Threats - Silent Attacks and Stealth Exploits
Hacking Web 2.0 - Defending Ajax and Web Services [HITB 2007 Dubai]
[Infosecworld 08 Orlando] New Defenses for .NET Web Apps: IHttpModule in Prac...

What's hot (20)

PDF
Hacking Ajax & Web Services - Next Generation Web Attacks on the Rise
PPTX
W3 conf hill-html5-security-realities
PPT
Web 2.0 Application Kung-Fu - Securing Ajax & Web Services
PPT
Blind SQL Injection
PDF
From 0 to Spring Security 4.0
PDF
Understanding Identity in the World of Web APIs – Ronnie Mitra, API Architec...
PDF
[Infosecworld 08 Orlando] CSRF: The Biggest Little Vulnerability on the Web
PPTX
Simseer and Bugwise - Web Services for Binary-level Software Similarity and D...
ODP
Top 10 Web Security Vulnerabilities
PDF
Spring4 security
PDF
DEF CON 24 - workshop - Craig Young - brainwashing embedded systems
PDF
Attack Chaining: Advanced Maneuvers for Hack Fu
PPTX
Using & Abusing APIs: An Examination of the API Attack Surface
PPTX
Single-Page-Application & REST security
PPTX
JWT Authentication with AngularJS
PDF
CSRF, ClickJacking & Open Redirect
PDF
Java EE Web Security By Example: Frank Kim
PDF
Blackhat11 shreeraj reverse_engineering_browser
PPTX
Building Layers of Defense with Spring Security
PPTX
PCI Security Requirements - secure coding
Hacking Ajax & Web Services - Next Generation Web Attacks on the Rise
W3 conf hill-html5-security-realities
Web 2.0 Application Kung-Fu - Securing Ajax & Web Services
Blind SQL Injection
From 0 to Spring Security 4.0
Understanding Identity in the World of Web APIs – Ronnie Mitra, API Architec...
[Infosecworld 08 Orlando] CSRF: The Biggest Little Vulnerability on the Web
Simseer and Bugwise - Web Services for Binary-level Software Similarity and D...
Top 10 Web Security Vulnerabilities
Spring4 security
DEF CON 24 - workshop - Craig Young - brainwashing embedded systems
Attack Chaining: Advanced Maneuvers for Hack Fu
Using & Abusing APIs: An Examination of the API Attack Surface
Single-Page-Application & REST security
JWT Authentication with AngularJS
CSRF, ClickJacking & Open Redirect
Java EE Web Security By Example: Frank Kim
Blackhat11 shreeraj reverse_engineering_browser
Building Layers of Defense with Spring Security
PCI Security Requirements - secure coding
Ad

Similar to Web application (20)

PDF
Minor Mistakes In Web Portals
PPT
Web application security
PPT
Web application security
PDF
The top 10 security issues in web applications
PDF
Web Security - Introduction
PDF
Web Security - Introduction v.1.3
PPTX
Developing and Deploying Applications on Internet Information Services (IIS)
PPTX
Developing and Deploying Applications on Internet Information Services (IIS)
PDF
Top Ten Web Attacks
KEY
DVWA BruCON Workshop
PDF
Web Application Scanning 101
PPT
Web Application Security and Release of "WhiteHat Arsenal"
PPTX
Ethical hacking Chapter 10 - Exploiting Web Servers - Eric Vanderburg
PPTX
Application and Website Security -- Fundamental Edition
PDF
Not so blind SQL Injection
PPTX
Web Application Vulnerabilities
PPTX
Secure webbrowsing 1
PPT
DC612 Day - Web Application Security: OWASP Top 10
PDF
Attques web
PPT
Ch10 Hacking Web Servers http://ouo.io/2Bt7X
Minor Mistakes In Web Portals
Web application security
Web application security
The top 10 security issues in web applications
Web Security - Introduction
Web Security - Introduction v.1.3
Developing and Deploying Applications on Internet Information Services (IIS)
Developing and Deploying Applications on Internet Information Services (IIS)
Top Ten Web Attacks
DVWA BruCON Workshop
Web Application Scanning 101
Web Application Security and Release of "WhiteHat Arsenal"
Ethical hacking Chapter 10 - Exploiting Web Servers - Eric Vanderburg
Application and Website Security -- Fundamental Edition
Not so blind SQL Injection
Web Application Vulnerabilities
Secure webbrowsing 1
DC612 Day - Web Application Security: OWASP Top 10
Attques web
Ch10 Hacking Web Servers http://ouo.io/2Bt7X
Ad

Web application